JDK-8029415 : java/lang/reflect/Method/invoke/TestPrivateInterfaceMethodReflect.java fails on all platforms with hs25-b61
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: hs25
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2013-12-02
  • Updated: 2014-02-04
  • Resolved: 2013-12-06
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 JDK 9 Other
8Fixed 9Fixed hs25Fixed
Related Reports
Relates :  
Relates :  
Description
TEST: java/lang/reflect/Method/invoke/TestPrivateInterfaceMethodReflect.java
JDK under test: (/opt/jprt/T/T1/200059.amurillo/testproduct/solaris_x64_5.10-product)
java version "1.8.0-internal"
Java(TM) SE Runtime Environment (build 1.8.0-internal-201311292000.amurillo.hs25-b61-jdk8-b119-b00)
Java HotSpot(TM) 64-Bit Server VM (build 25.0-b61, mixed mode)


ACTION: build -- Passed. Build successful
REASON: Named class compiled on demand
TIME:   0.014 seconds
messages:
command: build TestPrivateInterfaceMethodReflect
reason: Named class compiled on demand
elapsed time (seconds): 0.014

ACTION: compile -- Passed. Compilation successful
REASON: .class file out of date or does not exist
TIME:   0.014 seconds
messages:
command: compile -XDignore.symbol.file=true /opt/jprt/T/T1/200059.amurillo/s/jdk/test/java/lang/reflect/Method/invoke/TestPrivateInterfaceMethodReflect.java
reason: .class file out of date or does not exist
elapsed time (seconds): 0.014
rerun:
DISPLAY=sc11136131.us.oracle.com:584 \
HOME=/opt/jprt/jprtadm \
LANG=C \
LC_ALL=C \
PATH=/bin:/usr/bin \
TZ=UTC \
    /opt/jprt/T/T1/200059.amurillo/testproduct/solaris_x64_5.10-product/bin/javac \
        -J-ea \
        -J-esa \
        -J-d64 \
        -J-server \
        -J-Xmx512m \
        -J-Duser.home=/opt/jprt/T/T1/200059.amurillo \
        -J-Djava.io.tmpdir=/opt/jprt/T/T1/200059.amurillo/io/solaris_x64-product-c2-jdk_lang \
        -J-d64 \
        -J-server \
        -J-Dtest.vm.opts='-ea -esa -d64 -server -Xmx512m' \
        -J-Dtest.class.path.prefix=/opt/jprt/T/T1/200059.amurillo/s/jdk/testoutput/jdk_lang/JTwork/classes/java/lang/reflect/Method/invoke:/opt/jprt/T/T1/200059.amurillo/s/jdk/test/java/lang/reflect/Method/invoke \
        -J-Dtest.jdk=/opt/jprt/T/T1/200059.amurillo/testproduct/solaris_x64_5.10-product \
        -J-Dtest.timeout.factor=4.0 \
        -J-Dtest.src.path=/opt/jprt/T/T1/200059.amurillo/s/jdk/test/java/lang/reflect/Method/invoke \
        -J-Dtest.compiler.opts= \
        -J-Dcompile.jdk=/opt/jprt/T/T1/200059.amurillo/testproduct/solaris_x64_5.10-product \
        -J-Dtest.classes=/opt/jprt/T/T1/200059.amurillo/s/jdk/testoutput/jdk_lang/JTwork/classes/java/lang/reflect/Method/invoke \
        -J-Dtest.class.path=/opt/jprt/T/T1/200059.amurillo/s/jdk/testoutput/jdk_lang/JTwork/classes/java/lang/reflect/Method/invoke \
        -J-Dtest.java.opts='-Duser.home=/opt/jprt/T/T1/200059.amurillo -Djava.io.tmpdir=/opt/jprt/T/T1/200059.amurillo/io/solaris_x64-product-c2-jdk_lang -d64 -server' \
        -J-Dtest.src=/opt/jprt/T/T1/200059.amurillo/s/jdk/test/java/lang/reflect/Method/invoke \
        -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-d64 -J-server -J-Xmx512m' \
        -d /opt/jprt/T/T1/200059.amurillo/s/jdk/testoutput/jdk_lang/JTwork/classes/java/lang/reflect/Method/invoke -classpath /opt/jprt/T/T1/200059.amurillo/s/jdk/testoutput/jdk_lang/JTwork/classes/java/lang/reflect/Method/invoke:/opt/jprt/T/T1/200059.amurillo/s/jdk/test/java/lang/reflect/Method/invoke:/opt/jprt/T/T1/200059.amurillo/testproduct/solaris_x64_5.10-product/lib/tools.jar -sourcepath /opt/jprt/T/T1/200059.amurillo/s/jdk/test/java/lang/reflect/Method/invoke -XDignore.symbol.file=true /opt/jprt/T/T1/200059.amurillo/s/jdk/test/java/lang/reflect/Method/invoke/TestPrivateInterfaceMethodReflect.java
direct:
Note: /opt/jprt/T/T1/200059.amurillo/s/jdk/test/java/lang/reflect/Method/invoke/TestPrivateInterfaceMethodReflect.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.reflect.InvocationTargetException
REASON: User specified action: run main TestPrivateInterfaceMethodReflect
TIME:   0.003 seconds
messages:
command: main TestPrivateInterfaceMethodReflect
reason: User specified action: run main TestPrivateInterfaceMethodReflect
elapsed time (seconds): 0.003
rerun:
DISPLAY=sc11136131.us.oracle.com:584 \
HOME=/opt/jprt/jprtadm \
LANG=C \
LC_ALL=C \
PATH=/bin:/usr/bin \
TZ=UTC \
    /opt/jprt/T/T1/200059.amurillo/testproduct/solaris_x64_5.10-product/bin/java \
        -Dtest.vm.opts='-ea -esa -d64 -server -Xmx512m' \
        -Dtest.class.path.prefix=/opt/jprt/T/T1/200059.amurillo/s/jdk/testoutput/jdk_lang/JTwork/classes/java/lang/reflect/Method/invoke:/opt/jprt/T/T1/200059.amurillo/s/jdk/test/java/lang/reflect/Method/invoke \
        -Dtest.jdk=/opt/jprt/T/T1/200059.amurillo/testproduct/solaris_x64_5.10-product \
        -Dtest.timeout.factor=4.0 \
        -Dtest.src.path=/opt/jprt/T/T1/200059.amurillo/s/jdk/test/java/lang/reflect/Method/invoke \
        -Dtest.compiler.opts= \
        -Dcompile.jdk=/opt/jprt/T/T1/200059.amurillo/testproduct/solaris_x64_5.10-product \
        -Dtest.classes=/opt/jprt/T/T1/200059.amurillo/s/jdk/testoutput/jdk_lang/JTwork/classes/java/lang/reflect/Method/invoke \
        -Dtest.class.path=/opt/jprt/T/T1/200059.amurillo/s/jdk/testoutput/jdk_lang/JTwork/classes/java/lang/reflect/Method/invoke \
        -Dtest.java.opts='-Duser.home=/opt/jprt/T/T1/200059.amurillo -Djava.io.tmpdir=/opt/jprt/T/T1/200059.amurillo/io/solaris_x64-product-c2-jdk_lang -d64 -server' \
        -Dtest.src=/opt/jprt/T/T1/200059.amurillo/s/jdk/test/java/lang/reflect/Method/invoke \
        -Dtest.tool.vm.opts='-J-ea -J-esa -J-d64 -J-server -J-Xmx512m' \
        -classpath /opt/jprt/T/T1/200059.amurillo/s/jdk/testoutput/jdk_lang/JTwork/classes/java/lang/reflect/Method/invoke:/opt/jprt/T/T1/200059.amurillo/s/jdk/test/java/lang/reflect/Method/invoke:/opt/jprt/T/T1/200059.amurillo/testproduct/solaris_x64_5.10-product/lib/tools.jar \
        TestPrivateInterfaceMethodReflect
STDERR:
java.lang.reflect.InvocationTargetException
    at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:483)
    at TestPrivateInterfaceMethodReflect.main(TestPrivateInterfaceMethodReflect.java:115)
    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:483)
    at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:746)
    at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.IncompatibleClassChangeError: Interface method reference: PrivateInterfaceMethodReflectTest_Interface.privInstance()I, is in an indirect superinterface of sun.reflect.GeneratedMethodAccessor16
    ... 10 more

JavaTest Message: Test threw exception: java.lang.reflect.InvocationTargetException
JavaTest Message: shutting down test


TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.reflect.InvocationTargetException 
Comments
Please remember to remove the test excluded with JDK-8029421 from the exclude list when this bug is fixed
04-02-2014

Release team: Approved for fixing
06-12-2013