1 /* |
1 /* |
2 * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
253 return; |
253 return; |
254 } |
254 } |
255 } |
255 } |
256 // Load visible sources |
256 // Load visible sources |
257 Set<URI> visibleSources = new HashSet<URI>(); |
257 Set<URI> visibleSources = new HashSet<URI>(); |
258 boolean fix_drive_letter_case = System.getProperty("os.name").toLowerCase().equals("windows"); |
258 boolean fix_drive_letter_case = |
|
259 System.getProperty("os.name").toLowerCase().startsWith("windows"); |
259 for (;;) { |
260 for (;;) { |
260 String l = in.readLine(); |
261 String l = in.readLine(); |
261 if (l == null) |
262 if (l == null) |
262 return; |
263 return; |
263 if (l.equals(JavacServer.PROTOCOL_END)) |
264 if (l.equals(JavacServer.PROTOCOL_END)) |