src/share/classes/com/sun/tools/sjavac/server/CompilerThread.java

changeset 1763
445b8b5ae9f4
parent 1504
22e417cdddee
child 2413
fe033d997ddf
     1.1 --- a/src/share/classes/com/sun/tools/sjavac/server/CompilerThread.java	Wed May 15 06:53:01 2013 -0700
     1.2 +++ b/src/share/classes/com/sun/tools/sjavac/server/CompilerThread.java	Wed May 15 10:39:26 2013 -0700
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 2012, 2013, 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 @@ -255,7 +255,8 @@
    1.11              }
    1.12              // Load visible sources
    1.13              Set<URI> visibleSources = new HashSet<URI>();
    1.14 -            boolean fix_drive_letter_case = System.getProperty("os.name").toLowerCase().equals("windows");
    1.15 +            boolean fix_drive_letter_case =
    1.16 +                System.getProperty("os.name").toLowerCase().startsWith("windows");
    1.17              for (;;) {
    1.18                  String l = in.readLine();
    1.19                  if (l == null)

mercurial