提交 5d9f9637 编写于 作者: V vromero

7113519: test/tools/javac/VersionOpt.java passes on windows

Reviewed-by: jjg
上级 518bfb3e
/*
* 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 @@ public class VersionOpt {
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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册