RFR 8159635: JShell API: Set compiler options
Jan Lahoda
jan.lahoda at oracle.com
Tue Jun 21 19:00:11 UTC 2016
Seems OK to me.
Jan
On 21.6.2016 01:56, Robert Field wrote:
> I've updated the docs and changed the added options to be applied
> uniformly. The latter causes code simplification.
>
> Please review V1 --
>
> Bug:
> https://bugs.openjdk.java.net/browse/JDK-8159635
>
> Webrev:
> http://cr.openjdk.java.net/~rfield/8159635v1.webrev/
>
> Spec:
> http://cr.openjdk.java.net/~rfield/jshell_8159635v1/
>
> Specifically:
> http://cr.openjdk.java.net/~rfield/jshell_8159635v1/jdk/jshell/JShell.Builder.html#compilerOptions-java.lang.String...-
>
>
> Thanks,
> Robert
>
>
> On 06/20/16 06:07, Jan Lahoda wrote:
>> Hi,
>>
>> A few comments:
>> -should these extra options also be used by AnalyzeTasks created by
>> SourceCodeAnalysisImpl? I am not sure if the options we expect people
>> to set could have impact e.g. on the tab completion.
>> -JShell.Builder.compilerOptions says:
>> Sets additional compiler options for generating bytecode.
>>
>> But it adds the new options to the list - it might be better to say
>> "Adds additional ..." or "Appends additional compiler options..." so
>> that it is clearer it won't clear options that were set before. (I am
>> also thinking if the method should be "addCompilerOptions", but given
>> the other methods are not prefixed with "set", "add" is probably not
>> necessary.)
>>
>> Jan
>>
>> On 18.6.2016 08:40, Robert Field wrote:
>>> Please review --
>>>
>>> Bug:
>>> https://bugs.openjdk.java.net/browse/JDK-8159635
>>>
>>> Webrev:
>>> http://cr.openjdk.java.net/~rfield/8159635v0.webrev/
>>>
>>> Spec:
>>> http://cr.openjdk.java.net/~rfield/jshell_8159635/
>>>
>>> Specifically:
>>> http://cr.openjdk.java.net/~rfield/jshell_8159635/jdk/jshell/JShell.Builder.html#compilerOptions-java.lang.String...-
>>>
>>>
>>>
>>> Thanks,
>>> Robert
>>>
>
More information about the kulla-dev
mailing list