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

Regression test java\awt\FontClass\FontUnderscoreTest.java failing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 1.4.0
    • client-libs
    • generic
    • generic



      naveena.suryadevara@Eng 2000-08-02

      JDK version: Merlin-beta builds 22,24
      Regression Test: java\awt\FontClass\FontUnderscoreTest.java
      JavaTest version: SQEtools 2.1.3fcs

      Note: The test fails on all platforms.
            The "main" method should be made public to pass the test in JavaTest

      #section:main
      ----------messages:(3/137)----------
      command: main FontUnderscoreTest
      reason: Assumed action based on file name: run main FontUnderscoreTest
      elapsed time (seconds): 0.48
      ----------System.out:(0/0)----------
      ----------System.err:(10/500)----------
      java.lang.NoSuchMethodException
      at java.lang.Class.getMethod0(Native Method)
      at java.lang.Class.getMethod(../../../src/share/classes/java/lang/Class.java:890)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:90)
      at java.lang.Thread.run(../../../src/share/classes/java/lang/Thread.java:488)

      JavaTest Message: main() method must be in a public class named
      JavaTest Message: FontUnderscoreTest in file FontUnderscoreTest.java

      STATUS:Error.Can't find `main' method
      result: Error. Can't find `main' method


      test result: Error. Can't find `main' method

            Unassigned Unassigned
            nsuryadesunw Naveena Suryadevara (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: