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

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

XMLWordPrintable

    • beta
    • generic, x86, sparc
    • generic, linux, solaris_7, solaris_8
    • Verified



        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

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: