Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8029415

java/lang/reflect/Method/invoke/TestPrivateInterfaceMethodReflect.java fails on all platforms with hs25-b61

    Details

    • Subcomponent:
    • Introduced In Build:
      b61
    • Introduced In Version:
    • Resolved In Build:
      b63
    • Verification:
      Not verified

      Backports

        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

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  lfoltan Lois Foltan
                  Reporter:
                  amurillo Alejandro Murillo
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: