Skip to content
Permalink
Browse files
8252679: Two windows specific FileDIalog tests may fail on some Windo…
…ws_Server_2016_Standard

Reviewed-by: prr
  • Loading branch information
mrserb committed Sep 6, 2020
1 parent d0f4366 commit 1262ae36af0c9a41609765966123751b5ad9098b
Showing 2 changed files with 6 additions and 1 deletion.
@@ -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
@@ -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
@@ -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");
}
}
@@ -22,6 +22,7 @@
*/

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

1 comment on commit 1262ae3

@bridgekeeper
Copy link

@bridgekeeper bridgekeeper bot commented on 1262ae3 Sep 6, 2020

Choose a reason for hiding this comment

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

Review

Issues

Please sign in to comment.