JDK-8129425 : NavigableMap/LockStep.java fails with java.lang.InternalError after JDK-8071474 fix
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.io:serialization
  • Affected Version: 9
  • Priority: P2
  • Status: Resolved
  • Resolution: Cannot Reproduce
  • Submitted: 2015-06-22
  • Updated: 2016-06-15
  • Resolved: 2016-06-15
Related Reports
Relates :  
Description
#section:main
----------messages:(3/184)----------
command: main -XX:+AggressiveOpts -Dthorough=true LockStep
reason: User specified action: run main/othervm -XX:+AggressiveOpts -Dthorough=true LockStep
elapsed time (seconds): 21.597
----------System.out:(4/77)----------
LockStep: Trial random seed: 4518360026166980

Passed = 1849681, failed = 1

----------System.err:(37/2177)----------
java.lang.InternalError
    at java.io.ObjectStreamClass$FieldReflector.setObjFieldValues(ObjectStreamClass.java:2131)
    at java.io.ObjectStreamClass$FieldReflector.checkObjectFieldValueTypes(ObjectStreamClass.java:2087)
    at java.io.ObjectStreamClass.checkObjFieldValueTypes(ObjectStreamClass.java:1261)
    at java.io.ObjectInputStream.defaultCheckFieldValues(ObjectInputStream.java:2062)
    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1969)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1804)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1354)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:368)
    at LockStep.readObject(LockStep.java:865)
    at LockStep.serialClone(LockStep.java:868)
    at LockStep.checkNavigableSet(LockStep.java:230)
    at LockStep.equalNavigableSetsLeaf(LockStep.java:325)
    at LockStep.equalNavigableSets(LockStep.java:350)
    at LockStep.lockStep(LockStep.java:808)
    at LockStep.lockSteps(LockStep.java:100)
    at LockStep.realMain(LockStep.java:68)
    at LockStep.main(LockStep.java:844)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:502)
    at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
    at java.lang.Thread.run(Thread.java:745)
java.lang.Exception: Some tests failed
    at LockStep.main(LockStep.java:847)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:502)
    at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
    at java.lang.Thread.run(Thread.java:745)

JavaTest Message: Test threw exception: java.lang.Exception: Some tests failed
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.Exception: Some tests failed
Comments
Cannot reproduce on the latest JDK 9, with or without the random seed from the description section.
15-06-2016

can't reproduce on emb-sca-apm-xgene-40 with jdk9 and jdk8u60
09-07-2015