src/share/classes/com/sun/tools/javac/file/JavacFileManager.java

changeset 818
d33d8c381aa1
parent 802
0141f508b98d
child 839
a8437c34fdc7
     1.1 --- a/src/share/classes/com/sun/tools/javac/file/JavacFileManager.java	Tue Jan 11 08:05:28 2011 -0800
     1.2 +++ b/src/share/classes/com/sun/tools/javac/file/JavacFileManager.java	Thu Jan 13 11:48:10 2011 -0800
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -472,7 +472,7 @@
    1.11       */
    1.12      protected Archive openArchive(File zipFileName) throws IOException {
    1.13          File origZipFileName = zipFileName;
    1.14 -        if (!ignoreSymbolFile && paths.isBootClassPathRtJar(zipFileName)) {
    1.15 +        if (!ignoreSymbolFile && paths.isDefaultBootClassPathRtJar(zipFileName)) {
    1.16              File file = zipFileName.getParentFile().getParentFile(); // ${java.home}
    1.17              if (new File(file.getName()).equals(new File("jre")))
    1.18                  file = file.getParentFile();

mercurial