langtools/test/com/sun/javadoc/AccessAsciiArt/AccessAsciiArt.java
changeset 23971 f5ff1f5a8dee
parent 7681 1f0819a3341f
child 24399 af1a0220d0fa
--- a/langtools/test/com/sun/javadoc/AccessAsciiArt/AccessAsciiArt.java	Tue Apr 15 15:55:24 2014 -0700
+++ b/langtools/test/com/sun/javadoc/AccessAsciiArt/AccessAsciiArt.java	Wed Apr 16 16:17:09 2014 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2014, 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
@@ -44,10 +44,8 @@
 
     private static final String BUGID = "4706779-4956908";
     private static final String BUGNAME = "AccessAsciiArt";
-    private static final String FS = System.getProperty("file.separator");
-    private static final String PS = System.getProperty("path.separator");
-    private static final String TMPDEST_DIR1 = "." + FS + "docs1" + FS;
-    private static final String TMPDEST_DIR2 = "." + FS + "docs2" + FS;
+    private static final String TMPDEST_DIR1 = "./docs1/";
+    private static final String TMPDEST_DIR2 = "./docs2/";
 
     // Subtest number.  Needed because runResultsOnHTML is run twice,
     // and subtestNum should increment across subtest runs.
@@ -85,17 +83,17 @@
             // Test the top line of the class tree
             {
 "<li><a href=\"../../p1/C.html\" title=\"class in p1\">p1.C</a></li>",
-                     TMPDEST_DIR1 + "p1" + FS + "subpkg" + FS + "SSC.html" },
+                     TMPDEST_DIR1 + "p1/subpkg/SSC.html" },
 
             // Test the second line of the class tree
             {
 "<li><a href=\"../../p1/SC.html\" title=\"class in p1\">p1.SC</a></li>",
-                     TMPDEST_DIR1 + "p1" + FS + "subpkg" + FS + "SSC.html" },
+                     TMPDEST_DIR1 + "p1/subpkg/SSC.html" },
 
             // Test the third line of the class tree
             {
 "<li>p1.subpkg.SSC</li>",
-                     TMPDEST_DIR1 + "p1" + FS + "subpkg" + FS +"SSC.html" },
+                     TMPDEST_DIR1 + "p1/subpkg/SSC.html" },
 
         };