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

TEST_BUG: RegTest-test vm/misc/ClassInit.java fails

XMLWordPrintable

    • mantis
    • x86, sparc
    • linux, solaris_9, windows_98
    • Verified



      Name: icR10030 Date: 10/08/2002


      RegTest-test vm/misc/ClassInit.java test fails on JDK1.4.1_01-b01
      The test contains interface "I", but other test vm/misc/Miranda.java
      also contains interface "I". Therefore test execution is order dependent.
      If Miranda.java is compiled before ClassInit.java the test
      vm/misc/ClassInit.java fails.

      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.4.1_01-b01
      Testbase : RegTest-test
      Platform[s] : Windows 98, Solaris 9 sparc (CDE), Redhat 7.2 (GNOME)
      switch/Mode :
      Falling test[s]:
              vm/misc/ClassInit.java

      Test source location:
      =====================
      /java/re/jdk/1.4.1_01/latest/ws/j2se/test/vm/misc/ClassInit.java

      jtr file location:
      ==================
      /net/jtgb4u4c.eng/export/sail15/results/1.4.1_01/b01/regtest/sparc/sol9_sparc_novo51/workDir/test/vm/misc/ClassInit.jtr

      How to reproduce:
      =================
      1. run test vm/misc/Miranda.java
      2. run test vm/misc/ClassInit.java
      3. the test vm/misc/ClassInit.java fails
       
      Test output:
      ============
      java.lang.NoSuchMethodError: I.f()V
              at Test.run(ClassInit.java:50)
              at ClassInit.main(ClassInit.java:63)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:324)
              at com.sun.javatest.regtest.MainWrapper.run(MainWrapper.java:82)
              at java.lang.Thread.run(Thread.java:536)

      JavaTest Message: Test threw exception: java.lang.NoSuchMethodError: I.f()V
      JavaTest Message: shutting down test

      STATUS:Failed.main' threw exception: java.lang.NoSuchMethodError: I.f()V

      Specific machine info:
      ======================
      Hostname: linux-17
      OS: Windows 98
      Hostname: novo51
      OS: Solaris 9 (sparc) (CDE)
      Hostname: linux-13
      OS: Redhat 7.2

      ======================================================================

            collins Gary Collins (Inactive)
            ichesunw Iche Iche (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: