Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion test/jdk/java/awt/FileDialog/8003399/bug8003399.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand All @@ -22,6 +22,7 @@
*/

/* @test
@key headful
@bug 8003399
@summary JFileChooser gives wrong path to selected file when saving to Libraries folder on Windows 7
@author Semyon Sadetsky
Expand Down Expand Up @@ -50,6 +51,9 @@ public static void main(String[] args) throws Exception {
String path = file1.getPath();
if(path.startsWith("::{") &&
path.toLowerCase().endsWith(".library-ms")) {
System.err.println("file = " + file);
System.err.println("file1 = " + file1);
System.err.println("path = " + path);
throw new RuntimeException("Unconverted library link found");
}
}
Expand Down
1 change: 1 addition & 0 deletions test/jdk/java/awt/FileDialog/8017487/bug8017487.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
*/

/* @test
@key headful
@bug 8017487 8167988
@summary filechooser in Windows-Libraries folder: columns are mixed up
@author Semyon Sadetsky
Expand Down