Skip to content

Commit

Permalink
Compiler log xml should point to the new URL of DTD with https protoc…
Browse files Browse the repository at this point in the history
…ol (#479)

* Compiler log xml should point to the new URL of DTD with https protocol

* Updated regression test to use https protocol

Co-authored-by: Sravan Kumar Lakkimsetti <77106773+sravanlakkimsetti@users.noreply.github.com>
  • Loading branch information
jarthana and sravanlakkimsetti committed Oct 19, 2022
1 parent c74a21f commit 53f5b7b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -1014,7 +1014,7 @@ public void test013() {
String logContents = Util.fileContent(logFileName);
String expectedLogContents =
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
"<!DOCTYPE compiler PUBLIC \"-//Eclipse.org//DTD Eclipse JDT 3.2.006 Compiler//EN\" \"http://www.eclipse.org/jdt/core/compiler_32_006.dtd\">\n" +
"<!DOCTYPE compiler PUBLIC \"-//Eclipse.org//DTD Eclipse JDT 3.2.006 Compiler//EN\" \"https://www.eclipse.org/jdt/core/compiler_32_006.dtd\">\n" +
"<compiler copyright=\"{2}\" name=\"{1}\" version=\"{3}\">\n" +
" <command_line>\n" +
" <argument value=\"---OUTPUT_DIR_PLACEHOLDER---{0}X.java\"/>\n" +
Expand Down
Expand Up @@ -194,7 +194,7 @@ public static class Logger {
private static final String INFO = "INFO"; //$NON-NLS-1$

public static final int XML = 1;
private static final String XML_DTD_DECLARATION = "<!DOCTYPE compiler PUBLIC \"-//Eclipse.org//DTD Eclipse JDT 3.2.006 Compiler//EN\" \"http://www.eclipse.org/jdt/core/compiler_32_006.dtd\">"; //$NON-NLS-1$
private static final String XML_DTD_DECLARATION = "<!DOCTYPE compiler PUBLIC \"-//Eclipse.org//DTD Eclipse JDT 3.2.006 Compiler//EN\" \"https://www.eclipse.org/jdt/core/compiler_32_006.dtd\">"; //$NON-NLS-1$
static {
try {
Class<?> c = IProblem.class;
Expand Down

0 comments on commit 53f5b7b

Please sign in to comment.