RFR: 8194154 patch for crash at File.getCanonicalPath()

Brian Burkhalter brian.burkhalter at oracle.com
Wed Feb 14 22:50:28 UTC 2018


As for the test options you would need to make this change:

--- a/test/jdk/java/io/File/ParseCanonicalPath.java
+++ b/test/jdk/java/io/File/ParseCanonicalPath.java
@@ -25,7 +25,7 @@
                   (os.family == "solaris") | (os.family == "aix")
    @bug 8194154
    @summary Test parsing path with double slashes on unix like platforms.
-   @run -ea main ParseCanonicalPath
+   @run main/othervm -ea ParseCanonicalPath

A better alternative might be to throw a RuntimeException instead of using assert.



On Feb 14, 2018, at 2:36 PM, yumin qi <yumin.qi at gmail.com> wrote:

>   Updated again in same link.
>   I could not run jtreg so please have a look if the options are good for @run

More information about the core-libs-dev mailing list