Skip to content

Commit 556dbdd

Browse files
mrserbSergey Bylokhov
authored andcommitted
Run these tests on the headful systems only
1 parent 4b3a0b7 commit 556dbdd

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

test/jdk/java/awt/FileDialog/8003399/bug8003399.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -22,6 +22,7 @@
2222
*/
2323

2424
/* @test
25+
@key headful
2526
@bug 8003399
2627
@summary JFileChooser gives wrong path to selected file when saving to Libraries folder on Windows 7
2728
@author Semyon Sadetsky
@@ -50,6 +51,9 @@ public static void main(String[] args) throws Exception {
5051
String path = file1.getPath();
5152
if(path.startsWith("::{") &&
5253
path.toLowerCase().endsWith(".library-ms")) {
54+
System.err.println("file = " + file);
55+
System.err.println("file1 = " + file1);
56+
System.err.println("path = " + path);
5357
throw new RuntimeException("Unconverted library link found");
5458
}
5559
}

test/jdk/java/awt/FileDialog/8017487/bug8017487.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
*/
2323

2424
/* @test
25+
@key headful
2526
@bug 8017487 8167988
2627
@summary filechooser in Windows-Libraries folder: columns are mixed up
2728
@author Semyon Sadetsky

0 commit comments

Comments
 (0)