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

Update regtests using sun.awt.OSInfo, part 1

    XMLWordPrintable

Details

    • b33

    Backports

      Description

        After a fix to JDK-8056991, change some of the regression tests using internal class. sun.awt.OSInfo.
        Now they will compile and use a copy of it in a test library.

        This first portion changes tests not depending on realSync() since that is blocked by JDK-8056911.
        Moreover, we skip for now tests depending on sun.awt.shell.ShellFolder.
        We fix, however, the tests depending on com.sun.java.swing.plaf** classes.

        Estimated list of tests is
        jdk/test/closed/java/awt/Clipboard/DelayedQueryTest/DelayedQueryTest.java
        jdk/test/closed/java/awt/MenuItem/SetFont/MenuSetFontTest.java
        jdk/test/closed/java/awt/Menu/ScreenMenuSerial/ScreenMenuSerial.java
        jdk/test/closed/javax/swing/JFileChooser/8009984/bug8009984.java
        jdk/test/java/awt/Cursor/MultiResolutionCursorTest/MultiResolutionCursorTest.java
        jdk/test/java/awt/datatransfer/HTMLDataFlavors/HTMLDataFlavorTest.java
        jdk/test/java/awt/FileDialog/FileDialogForDirectories/FileDialogForDirectories.java
        jdk/test/java/awt/FileDialog/FileDialogForPackages/FileDialogForPackages.java
        jdk/test/java/awt/Multiscreen/MultiScreenInsetsTest/MultiScreenInsetsTest.java
        jdk/test/java/awt/Toolkit/ToolkitPropertyTest/bug7129133.java
        jdk/test/java/awt/TrayIcon/DblClickActionEventTest/DblClickActionEventTest.java
        jdk/test/java/awt/TrayIcon/DisposeInActionEventTest/DisposeInActionEventTest.java
        jdk/test/javax/swing/JCheckBox/4449413/bug4449413.java
        jdk/test/javax/swing/JCheckBox/8032667/bug8032667_image_diff.java
        jdk/test/javax/swing/JFileChooser/4150029/bug4150029.java
        jdk/test/javax/swing/JFileChooser/8046391/bug8046391.java
        jdk/test/javax/swing/JFrame/8016356/bug8016356.java
        jdk/test/javax/swing/JMenuItem/ShortcutNotDiplayed/ShortcutNotDisplayedTest.java
        jdk/test/javax/swing/JOptionPane/8024926/bug8024926.java
        jdk/test/javax/swing/JSlider/6579827/bug6579827.java
        jdk/test/javax/swing/JTabbedPane/6416920/bug6416920.java
        jdk/test/javax/swing/JTextArea/6940863/bug6940863.java

        Attachments

          Issue Links

            Activity

              People

                yan Yuri Nesterenko
                yan Yuri Nesterenko
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: