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

java/lang/reflect/Method/GenericStringTest.java failing

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • P3
    • Resolution: Fixed
    • 7u80, 8
    • 8
    • core-libs

    Backports

      Description


        This test started failing in the last day or two, possibly due to a javac fix.


        #Test Results (version 2)
        #Mon Jun 03 08:45:54 IST 2013
        #checksum:ef9803261f550ec
        #-----testdescription-----
        $file=/u/alanb/ws/tl/jdk/test/java/lang/reflect/Method/GenericStringTest.java
        $root=/u/alanb/ws/tl/jdk/test
        author=Joseph D. Darcy
        keywords=bug5033583 bug6316717 bug6470106 bug8004979
        run=ASSUMED_ACTION main GenericStringTest\n
        source=GenericStringTest.java
        title=Check toGenericString() and toString() methods

        #-----environment-----

        #-----testresult-----
        description=file\:/u/alanb/ws/tl/jdk/test/java/lang/reflect/Method/GenericStringTest.java
        elapsed=162 0\:00\:00.162
        end=Mon Jun 03 08\:45\:54 IST 2013
        environment=regtest
        execStatus=Failed. Execution failed\: `main' threw exception\: java.lang.RuntimeException
        hostname=ashtown.ie.oracle.com
        javatestOS=Linux 3.2.0-23-generic (amd64)
        javatestVersion=4.4
        jtregVersion=jtreg 4.1 dev b00
        script=com.sun.javatest.regtest.RegressionScript
        sections=script_messages build compile main
        start=Mon Jun 03 08\:45\:54 IST 2013
        test=java/lang/reflect/Method/GenericStringTest.java
        user.name=albatem
        work=/u/alanb/testing/jtreg/JTwork/java/lang/reflect/Method

        #section:script_messages
        ----------messages:(5/271)----------
        JDK under test: (/u/alanb/ws/tl/build/linux-x86_64-normal-server-release/images/j2sdk-image)
        java version "1.8.0-internal"
        Java(TM) SE Runtime Environment (build 1.8.0-internal-albatem_2013_05_22_20_23-b00)
        Java HotSpot(TM) 64-Bit Server VM (build 25.0-b33, mixed mode)


        #section:build
        ----------messages:(3/101)----------
        command: build GenericStringTest
        reason: Named class compiled on demand
        elapsed time (seconds): 0.08
        result: Passed. Build successful

        #section:compile
        ----------messages:(3/195)----------
        command: compile -XDignore.symbol.file=true /u/alanb/ws/tl/jdk/test/java/lang/reflect/Method/GenericStringTest.java
        reason: .class file out of date or does not exist
        elapsed time (seconds): 0.08
        result: Passed. Compilation successful

        #section:main
        ----------messages:(3/133)----------
        command: main GenericStringTest
        reason: Assumed action based on file name: run main GenericStringTest
        elapsed time (seconds): 0.082
        ----------System.out:(18/890)----------
        void TestClass1.method1(int,double)
        static void TestClass1.method3() throws java.lang.RuntimeException
        private static java.lang.String TestClass1.method2(int,int)
        protected <S,T> S TestClass1.method4(S,T) throws java.lang.Exception
        public <T> T TestClass2.method1(E,T)
        public void TestClass2.method2() throws F
        void Roebling.varArg(java.lang.Object...)
        public int Roebling.compareTo(Roebling)
        public int Roebling.compareTo(java.lang.Object)
        public default strictfp double TestInterface1.quux()
        public default void TestInterface1.foo()
        public default <A> A TestInterface1.bar()
        Generic: void Roebling.varArg(java.lang.Object...)
        Regular: void Roebling.varArg(java.lang.Object[])
        Generic: public int Roebling.compareTo(Roebling)
        Regular: public int Roebling.compareTo(Roebling)
        Generic: public int Roebling.compareTo(java.lang.Object)
        Regular: public int Roebling.compareTo(java.lang.Object)
        ----------System.err:(14/729)----------
        ERROR: Expected ''public int Roebling.compareTo(Roebling)''; got ''public int Roebling.compareTo(java.lang.Object)''.
        Test failed.
        java.lang.RuntimeException
        at GenericStringTest.main(GenericStringTest.java:85)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:491)
        at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:728)
        at java.lang.Thread.run(Thread.java:724)

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

        result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException


        test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException

        Attachments

          Issue Links

            Activity

              People

                vromero Vicente Arturo Romero Zaldivar
                alanb Alan Bateman
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: