-
Bug
-
Resolution: Duplicate
-
P2
-
9
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8037309 | 8u20 | Lois Foltan | P2 | Closed | Duplicate |
The TestConflictingDefaultsAndStaticMethod.java test case attached to JDK-8033150 is asserting with an internal error within sharedRuntime.cpp for JDK 9. This test case should normally generate an ICCE. The ICCE is generated with JDK 9 b02, but fails with the assertion in JDK 9 b03.
% <JDK 9 promoted b02 build>/b02/binaries/linux-x64/jdk1.9.0/fastdebug/bin/java TestConflictingDefaultsAndStaticMethod
Exception in thread "main" java.lang.reflect.InvocationTargetException
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:484)
at TestConflictingDefaultsAndStaticMethod.main(TestConflictingDefaultsAndStaticMethod.java:71)
Caused by: java.lang.IncompatibleClassChangeError: Expected static method p1.T4.m()I
at p1.T4.test(Unknown Source)
... 5 more
% <JDK 9 promoted b03 build>/b03/binaries/linux-x64/fastdebug/bin/java TestConflictingDefaultsAndStaticMethod
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc: SuppressErrorAt=/sharedRuntime.cpp:2435
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/HUDSON3/workspace/9-2-build-linux-amd64/jdk9/112/hotspot/src/share/vm/runtime/sharedRuntime.cpp:2435), pid=6981, tid=140114829846288
# assert(i == total_args_passed) failed:
#
# JRE version: Java(TM) SE Runtime Environment (9.0-b03) (build 1.9.0-ea-fastdebug-b03)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.0-b62-fastdebug mixed mode linux-amd64 compressed oops)
# Core dump written. Default location: /xxx/hpot/test_mine/core or core.6981
#
# An error report file with more information is saved as:
# /xxx/hpot/test_mine/hs_err_pid6981.log
Phoning home...
Using server: 10.161.186.18, port 4711
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
#
Current thread is 140114829846288
Dumping core ...
Abort (core dumped)
% <JDK 9 promoted b02 build>/b02/binaries/linux-x64/jdk1.9.0/fastdebug/bin/java TestConflictingDefaultsAndStaticMethod
Exception in thread "main" java.lang.reflect.InvocationTargetException
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:484)
at TestConflictingDefaultsAndStaticMethod.main(TestConflictingDefaultsAndStaticMethod.java:71)
Caused by: java.lang.IncompatibleClassChangeError: Expected static method p1.T4.m()I
at p1.T4.test(Unknown Source)
... 5 more
% <JDK 9 promoted b03 build>/b03/binaries/linux-x64/fastdebug/bin/java TestConflictingDefaultsAndStaticMethod
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc: SuppressErrorAt=/sharedRuntime.cpp:2435
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/HUDSON3/workspace/9-2-build-linux-amd64/jdk9/112/hotspot/src/share/vm/runtime/sharedRuntime.cpp:2435), pid=6981, tid=140114829846288
# assert(i == total_args_passed) failed:
#
# JRE version: Java(TM) SE Runtime Environment (9.0-b03) (build 1.9.0-ea-fastdebug-b03)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.0-b62-fastdebug mixed mode linux-amd64 compressed oops)
# Core dump written. Default location: /xxx/hpot/test_mine/core or core.6981
#
# An error report file with more information is saved as:
# /xxx/hpot/test_mine/hs_err_pid6981.log
Phoning home...
Using server: 10.161.186.18, port 4711
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
#
Current thread is 140114829846288
Dumping core ...
Abort (core dumped)
- backported by
-
JDK-8037309 Test case from JDK-8033150 crashes in within sharedRuntime.cpp/AdapterHandlerLibrary::get_adapter
-
- Closed
-
- blocks
-
JDK-8033150 invokestatic: IncompatibleClassChangeError trying to invoke static method from a parent in presence of conflicting defaults
-
- Closed
-
- relates to
-
JDK-8031059 invokestatic: ICCE trying to invoke static method when it clashes with an abstract method inherited from an interface
-
- Closed
-