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

TEST_BUG: some java/awt tests failed due class can't be found

XMLWordPrintable

    • b02
    • generic
    • generic
    • Verified

        some java/awt tests failed with Could not find or load main class on windows, linux and solaris

        depends on platform and jdk somes of them failed with timeout, some with different exceptions, some with "Could not find or load main class", and also some tests show wrong "passed" status on windows and solaris, for example:
        ----------System.out:(0/0)----------
        ----------System.err:(6/442)----------
        ...
        getData(): contents text
        ========= Child VM System.err ========
        Error: Could not find or load main class SystemClipboardTest
        ======================================
        STATUS:Passed.
        result: Passed. Execution successful
        test result: Passed. Execution successful



        for successfully tests execution appropriate java-files should be modified: command text used in java-files should include classpath, for example following line in ClipboardPerformanceTest.java:

        File.separator + "java -Dtest.src=" + testDir + " ClipboardPerformanceTest";

        should be replaced on:
        File.separator + "java -cp " + System.getProperty("test.classes", "") + " ClipboardPerformanceTest";

        all tests passed with suggested modifications
        full testlist for jdk 7:
        closed/java/awt/Clipboard/AppletReloadClipboardTest/AppletReloadClipboardTest.html
        closed/java/awt/Clipboard/AppletReloadStressClipboardTest/AppletReloadStressClipboardTest.html
        closed/java/awt/Clipboard/DelayedQueryTest/DelayedQueryTest.html
        closed/java/awt/Clipboard/GetAltContentsTest/SystemClipboardTest/SystemClipboardTest.html
        closed/java/awt/Clipboard/GetContentsInterruptedTest/GetContentsInterruptedTest.html
        closed/java/awt/Clipboard/HTMLTransferTest/HTMLTransferTest.html
        closed/java/awt/Clipboard/ImageTransferTest/ImageTransferTest.html
        closed/java/awt/Clipboard/LostOwnershipChainTest/SystemClipboard2ProcTest/SystemClipboard2ProcTest.html
        closed/java/awt/Clipboard/NoDataConversionFailureTest/NoDataConversionFailureTest.html
        closed/java/awt/Clipboard/NoOwnerNoTargetsTest/NoOwnerNoTargetsTest.html
        closed/java/awt/Clipboard/SerializeLocalFlavorTest/SerializeLocalFlavorTest.html
        closed/java/awt/datatransfer/ClipboardPerformanceTest/ClipboardPerformanceTest.html
        closed/java/awt/datatransfer/CRLFTest/CRLFTest.html
        closed/java/awt/datatransfer/DataConversionDeadlockTest/DataConversionDeadlockTest.html
        closed/java/awt/datatransfer/FileTransferAWTLockTest/FileTransferAWTLockTest.html
        closed/java/awt/datatransfer/HTMLTransferConsoleOutputTest/HTMLTransferConsoleOutputTest.html
        closed/java/awt/datatransfer/ImageTransferCrashTest/ImageTransferCrashTest.html
        closed/java/awt/datatransfer/MimeFormatsTest/MimeFormatsTest.html
        closed/java/awt/datatransfer/UnicodeTransferTest/UnicodeTransferTest.html
        closed/java/awt/dnd/DnDAWTLockTest/DnDAWTLockTest.html
        closed/java/awt/dnd/DragGetTransferableTest/DragGetTransferableTest.html
        closed/java/awt/dnd/DragSourceGCrashTest/DragSourceGCrashTest.html
        closed/java/awt/dnd/DropPerformanceTest/DropPerformanceTest.html
        closed/java/awt/dnd/DroppingVMCrashTest/DroppingVMCrashTest.html
        closed/java/awt/dnd/DroppingVMHangTest/DroppingVMHangTest.html
        closed/java/awt/dnd/ImageTransferTest/ImageTransferTest.html
        closed/java/awt/dnd/InterJVMGetDropSuccessTest/InterJVMGetDropSuccessTest.html
        closed/java/awt/dnd/InterJVMLinkTest/InterJVMLinkTest.html
        closed/java/awt/dnd/LinkAcceptanceTest/LinkAcceptanceTest.html
        closed/java/awt/dnd/MozillaDnDTest/MozillaDnDTest.html
        closed/java/awt/dnd/MultiDataFlavorDropTest/MultiDataFlavorDropTest.html
        closed/java/awt/dnd/NoFormatsCrashTest/NoFormatsCrashTest.html
        closed/java/awt/dnd/ZeroFormatTransferTest/ZeroFormatTransferableTest.html


        same test names for jdk 1.4.2, 5, 6 without "closed/":
        java/awt/Clipboard/AppletReloadClipboardTest/AppletReloadClipboardTest.html
        java/awt/Clipboard/AppletReloadStressClipboardTest/AppletReloadStressClipboardTest.html
        java/awt/Clipboard/DelayedQueryTest/DelayedQueryTest.html
        java/awt/Clipboard/GetAltContentsTest/SystemClipboardTest/SystemClipboardTest.html
        java/awt/Clipboard/GetContentsInterruptedTest/GetContentsInterruptedTest.html
        java/awt/Clipboard/HTMLTransferTest/HTMLTransferTest.html
        java/awt/Clipboard/ImageTransferTest/ImageTransferTest.html
        java/awt/Clipboard/LostOwnershipChainTest/SystemClipboard2ProcTest/SystemClipboard2ProcTest.html
        java/awt/Clipboard/NoDataConversionFailureTest/NoDataConversionFailureTest.html
        java/awt/Clipboard/NoOwnerNoTargetsTest/NoOwnerNoTargetsTest.html
        java/awt/Clipboard/SerializeLocalFlavorTest/SerializeLocalFlavorTest.html
        java/awt/datatransfer/ClipboardPerformanceTest/ClipboardPerformanceTest.html
        java/awt/datatransfer/CRLFTest/CRLFTest.html
        java/awt/datatransfer/DataConversionDeadlockTest/DataConversionDeadlockTest.html
        java/awt/datatransfer/FileTransferAWTLockTest/FileTransferAWTLockTest.html
        java/awt/datatransfer/HTMLTransferConsoleOutputTest/HTMLTransferConsoleOutputTest.html
        java/awt/datatransfer/ImageTransferCrashTest/ImageTransferCrashTest.html
        java/awt/datatransfer/MimeFormatsTest/MimeFormatsTest.html
        java/awt/datatransfer/UnicodeTransferTest/UnicodeTransferTest.html
        java/awt/dnd/DnDAWTLockTest/DnDAWTLockTest.html
        java/awt/dnd/DragGetTransferableTest/DragGetTransferableTest.html
        java/awt/dnd/DragSourceGCrashTest/DragSourceGCrashTest.html
        java/awt/dnd/DropPerformanceTest/DropPerformanceTest.html
        java/awt/dnd/DroppingVMCrashTest/DroppingVMCrashTest.html
        java/awt/dnd/DroppingVMHangTest/DroppingVMHangTest.html
        java/awt/dnd/ImageTransferTest/ImageTransferTest.html
        java/awt/dnd/InterJVMGetDropSuccessTest/InterJVMGetDropSuccessTest.html
        java/awt/dnd/InterJVMLinkTest/InterJVMLinkTest.html
        java/awt/dnd/LinkAcceptanceTest/LinkAcceptanceTest.html
        java/awt/dnd/MozillaDnDTest/MozillaDnDTest.html
        java/awt/dnd/MultiDataFlavorDropTest/MultiDataFlavorDropTest.html
        java/awt/dnd/NoFormatsCrashTest/NoFormatsCrashTest.html
        java/awt/dnd/ZeroFormatTransferTest/ZeroFormatTransferableTest.html

              kshefov Konstantin Shefov
              vakulova Vera Akulova (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: