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

jdk regression test failing on linux: java/lang/reflect/Method/InheritedMethods.java

XMLWordPrintable

    • b138
    • generic
    • generic
    • Verified

      This jdk regression test has now failed twice on me in the JPRT linux machines.
      Granted this is jdk7 and these are older linux systems (jdk7 is moving to Fedora 9), but it seemed important to file this.

      I don't know if this same problem exists with Fedora 9 or other linux systems.

      --------------------------------------------------
      TEST: java/lang/reflect/Method/InheritedMethods.java
      JDK under test: (/tmp/jprt/T1/T/021528.ohair/testproduct/linux_i586_2.4-product)
      openjdk version "1.7.0-2009-04-02-021528.ohair.jdk"
      OpenJDK Runtime Environment (build 1.7.0-2009-04-02-021528.ohair.jdk-jprtadm_2009_04_01_20_15-b00)
      Java HotSpot(TM) Server VM (build 15.0-b03, mixed mode)

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

      ACTION: compile -- Passed. Compilation successful
      REASON: .class file out of date or does not exist
      TIME: 0.696 seconds
      messages:
      command: compile /tmp/jprt/T1/T/021528.ohair/source/test/java/lang/reflect/Method/InheritedMethods.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 0.696
      STDOUT:
      STDERR:
      Note: InheritedMethods.java uses unchecked or unsafe operations.
      Note: Recompile with -Xlint:unchecked for details.

      ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.Error: can't load javax.swing.plaf.metal.MetalLookAndFeel
      REASON: Assumed action based on file name: run main InheritedMethods
      TIME: 0.309 seconds
      messages:
      command: main InheritedMethods
      reason: Assumed action based on file name: run main InheritedMethods
      elapsed time (seconds): 0.309
      STDOUT:
      STDERR:
      java.lang.Error: can't load javax.swing.plaf.metal.MetalLookAndFeel
      at javax.swing.UIManager.initializeDefaultLAF(UIManager.java:1338)
      at javax.swing.UIManager.initialize(UIManager.java:1419)
      at javax.swing.UIManager.maybeInitialize(UIManager.java:1407)
      at javax.swing.UIManager.getUI(UIManager.java:1005)
      at javax.swing.JPanel.updateUI(JPanel.java:126)
      at javax.swing.JPanel.<init>(JPanel.java:86)
      at javax.swing.JPanel.<init>(JPanel.java:109)
      at javax.swing.JPanel.<init>(JPanel.java:117)
      at InheritedMethods.<init>(InheritedMethods.java:37)
      at InheritedMethods.main(InheritedMethods.java:36)
      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:623)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:717)

      JavaTest Message: Test threw exception: java.lang.Error: can't load javax.swing.plaf.metal.MetalLookAndFeel
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.Error: can't load javax.swing.plaf.metal.MetalLookAndFeel

      TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.Error: can't load javax.swing.plaf.metal.MetalLookAndFeel
      --------------------------------------------------
      Verified by Evergreen during Promotion Testing

            malenkov Sergey Malenkov (Inactive)
            ohair Kelly Ohair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: