Skip to content

Commit

Permalink
8274296: Update or Problem List tests which may fail with uiScale=2 o…
Browse files Browse the repository at this point in the history
…n macOS

Backport-of: c59f741276d55d98d2628c01bf41eeb571eac7be
  • Loading branch information
GoeLin committed Oct 25, 2022
1 parent d30cbeb commit 3c1e0cf
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 7 deletions.
6 changes: 6 additions & 0 deletions test/jdk/ProblemList.txt
Original file line number Diff line number Diff line change
Expand Up @@ -732,6 +732,12 @@ javax/swing/plaf/basic/BasicComboPopup/7072653/bug7072653.java 8238720 windows-a
java/awt/Robot/HiDPIScreenCapture/ScreenCaptureGtkTest.java 8282270 linux-all
java/awt/Robot/HiDPIScreenCapture/HiDPIRobotScreenCaptureTest.java 8282270 windows-all

# Several tests which fail on some hidpi systems
java/awt/GraphicsDevice/DisplayModes/CycleDMImage.java 8274106 macosx-aarch64
java/awt/Window/8159168/SetShapeTest.java 8274106 macosx-aarch64
java/awt/image/multiresolution/MultiResolutionJOptionPaneIconTest.java 8274106 macosx-aarch64
javax/swing/JFrame/8175301/ScaledFrameBackgroundTest.java 8274106 macosx-aarch64

sanity/client/SwingSet/src/ToolTipDemoTest.java 8225012 windows-all,macosx-all

javax/swing/SwingWorker/6432565/bug6432565.java 8199077 generic-all
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* @bug 8190230 8196360
* @summary [macosx] Order of overlapping of modal dialogs is wrong
* @key headful
* @run main SiblingChildOrderTest
* @run main/othervm -Dsun.java2d.uiScale=1 SiblingChildOrderTest
*/

import java.awt.Color;
Expand Down
2 changes: 1 addition & 1 deletion test/jdk/java/awt/Paint/PaintNativeOnUpdate.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
* @library ../../../lib/testlibrary
* @build ExtendedRobot
* @author Sergey Bylokhov
* @run main PaintNativeOnUpdate
* @run main/othervm -Dsun.java2d.uiScale=1 PaintNativeOnUpdate
*/
public final class PaintNativeOnUpdate extends Label {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
* @author Sergey Bylokhov
* @library ../../../../lib/testlibrary
* @build ExtendedRobot
* @run main BackgroundIsNotUpdated
* @run main/othervm -Dsun.java2d.uiScale=1 BackgroundIsNotUpdated
*/
public final class BackgroundIsNotUpdated extends Window {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
* certain scenarios
* @bug 8021961
* @author Semyon Sadetsky
* @run main ChildAlwaysOnTopTest
* @run main/othervm -Dsun.java2d.uiScale=1 ChildAlwaysOnTopTest
*/

import javax.swing.*;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* @bug 6683728
* @summary Tests that a JApplet in a translucent JFrame works properly
* @compile -XDignore.symbol.file=true TranslucentJAppletTest.java
* @run main TranslucentJAppletTest
* @run main/othervm -Dsun.java2d.uiScale=1 TranslucentJAppletTest
*/

import java.awt.*;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
* @key headful
* @bug 8172269 8244557
* @summary Tests JTabbedPane background for SCROLL_TAB_LAYOUT
* @run main TestBackgroundScrollPolicy
* @run main/othervm -Dsun.java2d.uiScale=1 TestBackgroundScrollPolicy
*/

public class TestBackgroundScrollPolicy {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
* @build Util
* @author Romain Guy
* @summary Tests PRESSED and MOUSE_OVER and FOCUSED state for buttons with Synth.
* @run main bug6276188
* @run main/othervm -Dsun.java2d.uiScale=1 bug6276188
*/
import java.awt.*;
import java.awt.image.*;
Expand Down

1 comment on commit 3c1e0cf

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.