diff --git a/test/jdk/java/awt/FileDialog/8003399/bug8003399.java b/test/jdk/java/awt/FileDialog/8003399/bug8003399.java index d86c4a2e09385..bd1bd1fd47925 100644 --- a/test/jdk/java/awt/FileDialog/8003399/bug8003399.java +++ b/test/jdk/java/awt/FileDialog/8003399/bug8003399.java @@ -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"); } } diff --git a/test/jdk/java/awt/FileDialog/8017487/bug8017487.java b/test/jdk/java/awt/FileDialog/8017487/bug8017487.java index 0dd678c1128db..9c010d409401e 100644 --- a/test/jdk/java/awt/FileDialog/8017487/bug8017487.java +++ b/test/jdk/java/awt/FileDialog/8017487/bug8017487.java @@ -22,6 +22,7 @@ */ /* @test + @key headful @bug 8017487 8167988 @summary filechooser in Windows-Libraries folder: columns are mixed up @author Semyon Sadetsky