-
Bug
-
Resolution: Fixed
-
P2
-
9
-
b43
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8085292 | emb-9 | Maurizio Cimadamore | P2 | Resolved | Fixed | team |
When running langtools tests against a JDK 9 image, there is one test failure in DetectMutableStaticFields:
here is a mutable field named sharedInstance, at class com/sun/tools/javac/file/JRTIndex
java.lang.AssertionError: There are mutable fields, please check output
at DetectMutableStaticFields.run(DetectMutableStaticFields.java:149)
at DetectMutableStaticFields.main(DetectMutableStaticFields.java:123)
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:498)
at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:759)
at java.lang.Thread.run(Thread.java:745)
Something similar has been already fixed as part ofJDK-8049367 (MutableFieldsAnalyzer).
here is a mutable field named sharedInstance, at class com/sun/tools/javac/file/JRTIndex
java.lang.AssertionError: There are mutable fields, please check output
at DetectMutableStaticFields.run(DetectMutableStaticFields.java:149)
at DetectMutableStaticFields.main(DetectMutableStaticFields.java:123)
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:498)
at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:759)
at java.lang.Thread.run(Thread.java:745)
Something similar has been already fixed as part of
- backported by
-
JDK-8085292 DetectMutableStaticFields fails after modular images push
-
- Resolved
-
- relates to
-
JDK-8049367 Modular Run-Time Images
-
- Resolved
-