changeset 1815:105d1f9c1ab8

7113519: test/tools/javac/VersionOpt.java passes on windows Reviewed-by: jjg
author vromero
date Mon, 10 Jun 2013 15:18:47 +0100
parents fd31bf97340f
children 3582b62dccb2
files test/tools/javac/VersionOpt.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test/tools/javac/VersionOpt.java	Fri Jun 07 15:35:38 2013 -0700
+++ b/test/tools/javac/VersionOpt.java	Mon Jun 10 15:18:47 2013 +0100
@@ -1,6 +1,6 @@
 
 /*
- * Copyright (c) 2005, 2008, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2013, 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
@@ -61,7 +61,7 @@
             javaHome = javaHome.getParentFile();
         File toolsJar = new File(new File(javaHome, "lib"), "tools.jar");
 
-        if (!javacHome.equals(toolsJar.toURI().toString())){
+        if (!javacHome.equalsIgnoreCase(toolsJar.toURI().toString())) {
             System.err.println("javac not found in tools.jar: " + javacHome);
             System.err.println("rest of test skipped");
             return;