java.lang.NoSuchMethodException: sun.misc.SharedSecrets.setJavaObjectInputStreamAccess(Lsun/misc/JavaObjectInputStreamAccess;)V

Google Groups | Nicola Atzei | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    ObjectInputStream is not working when changing java version from 8u77 to 8u91

    Google Groups | 9 months ago | Nicola Atzei
    java.lang.NoSuchMethodException: sun.misc.SharedSecrets.setJavaObjectInputStreamAccess(Lsun/misc/JavaObjectInputStreamAccess;)V

    Root Cause Analysis

    1. java.lang.NoSuchMethodException

      sun.misc.SharedSecrets.setJavaObjectInputStreamAccess(Lsun/misc/JavaObjectInputStreamAccess;)V

      at java.io.ObjectInputStream.<clinit>()
    2. Java RT
      ObjectInputStream.<clinit>
      1. java.io.ObjectInputStream.<clinit>(ObjectInputStream.java:3578)
      1 frame
    3. gov.nasa.jpf
      ObjectStreamTest.testSimpleReadbackOk
      1. gov.nasa.jpf.test.java.io.ObjectStreamTest.testSimpleReadbackOk(ObjectStreamTest.java:88)
      1 frame
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(gov.nasa.jpf.vm.JPF_java_lang_reflect_Method)
      1 frame
    5. gov.nasa.jpf
      TestJPF.runTestMethod
      1. gov.nasa.jpf.util.test.TestJPF.runTestMethod(TestJPF.java:648)
      1 frame