langtools/test/com/sun/javadoc/testOverridenMethods/TestOverridenPrivateMethodsWithPrivateFlag.java
--- a/langtools/test/com/sun/javadoc/testOverridenMethods/TestOverridenPrivateMethodsWithPrivateFlag.java Tue Apr 15 15:55:24 2014 -0700
+++ b/langtools/test/com/sun/javadoc/testOverridenMethods/TestOverridenPrivateMethodsWithPrivateFlag.java Wed Apr 16 16:17:09 2014 -0700
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2002, 2013, 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
@@ -39,38 +39,38 @@
private static final String[][] TEST = {
//The public method should be overriden
- {BUG_ID + FS + "pkg1" + FS + "SubClass.html",
- "<dt><span class=\"overrideSpecifyLabel\">Overrides:</span></dt>" + NL +
+ {BUG_ID + "/pkg1/SubClass.html",
+ "<dt><span class=\"overrideSpecifyLabel\">Overrides:</span></dt>\n" +
"<dd><code><a href=\"../pkg1/BaseClass.html#publicMethod"},
//The package private method should be overriden since the base and sub class are in the same
//package.
- {BUG_ID + FS + "pkg1" + FS + "SubClass.html",
- "<dt><span class=\"overrideSpecifyLabel\">Overrides:</span></dt>" + NL +
+ {BUG_ID + "/pkg1/SubClass.html",
+ "<dt><span class=\"overrideSpecifyLabel\">Overrides:</span></dt>\n" +
"<dd><code><a href=\"../pkg1/BaseClass.html#packagePrivateMethod"},
//The public method in different package should be overriden
- {BUG_ID + FS + "pkg2" + FS + "SubClass.html",
- "<dt><span class=\"overrideSpecifyLabel\">Overrides:</span></dt>" + NL +
+ {BUG_ID + "/pkg2/SubClass.html",
+ "<dt><span class=\"overrideSpecifyLabel\">Overrides:</span></dt>\n" +
"<dd><code><a href=\"../pkg1/BaseClass.html#publicMethod"},
};
private static final String[][] NEGATED_TEST = {
//The private method in should not be overriden
- {BUG_ID + FS + "pkg1" + FS + "SubClass.html",
- "<dt><span class=\"overrideSpecifyLabel\">Overrides:</span></dt>" + NL +
+ {BUG_ID + "/pkg1/SubClass.html",
+ "<dt><span class=\"overrideSpecifyLabel\">Overrides:</span></dt>\n" +
"<dd><code><a href=\"../pkg1/BaseClass.html#privateMethod"},
//The private method in different package should not be overriden
- {BUG_ID + FS + "pkg2" + FS + "SubClass.html",
- "<dt><span class=\"overrideSpecifyLabel\">Overrides:</span></dt>" + NL +
+ {BUG_ID + "/pkg2/SubClass.html",
+ "<dt><span class=\"overrideSpecifyLabel\">Overrides:</span></dt>\n" +
"<dd><code><a href=\"../pkg1/BaseClass.html#privateMethod"},
//The package private method should not be overriden since the base and sub class are in
//different packages.
- {BUG_ID + FS + "pkg2" + FS + "SubClass.html",
- "<dt><span class=\"overrideSpecifyLabel\">Overrides:</span></dt>" + NL +
+ {BUG_ID + "/pkg2/SubClass.html",
+ "<dt><span class=\"overrideSpecifyLabel\">Overrides:</span></dt>\n" +
"<dd><code><a href=\"../pkg1/BaseClass.html#packagePrivateMethod"}