RFR 8054461: Add @file support to sjavac

Fredrik Öhrström oehrstroem at gmail.com
Fri Aug 8 07:44:23 UTC 2014


See update:
http://cr.openjdk.java.net/~ohrstrom/webrev-8054461-atfile-v2/


2014-08-07 3:32 GMT+02:00 Jonathan Gibbons <jonathan.gibbons at oracle.com>:

>
> On 08/06/2014 12:59 PM, Fredrik Öhrström wrote:
>
>> The command line for building the jdk using sjavac is near the
>> Windows/Cygwin limits. Even though the OpenJDK is being cleaned up and the
>> command line is getting shorter, there are other projects that could need
>> long command lines due to their irregular source organization. Javac
>> already supports @files.
>>
>> Please review the addition of @file support to sjavac.
>>
>> http://cr.openjdk.java.net/~ohrstrom/webrev-8054461-atfile/ <
>> http://cr.openjdk.java.net/%7Eohrstrom/webrev-8054461-atfile/>
>>
>> https://bugs.openjdk.java.net/browse/JDK-8054461
>>
>> //Fredrik
>>
>>
>>
> OptionHelper.java
>
>  118         try {
>  119             args = CommandLine.parse(args); // Detect @file and load
> it as a command line.
>  120         } catch (java.io.IOException e) {
>  121             Log.warn("Problem reading @file: "+e.getMessage());
>  122             return;
>  123         }
>
> If you can't read the @-file, that should be an error, not a warning.
>
> -- Jon
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20140808/fa0a5972/attachment.html>


More information about the compiler-dev mailing list