RFR 8165405: jshell tool: /classpath should be /set classpath
Robert Field
robert.field at oracle.com
Sat Sep 24 14:08:25 UTC 2016
It would be nice to be able to replace, rather than append to the end of
the classpath. That is:
https://bugs.openjdk.java.net/browse/JDK-8129539
But there are no paths to a dynamic solution. You get that by
restarting the JShell state.
-Robert
On 09/24/16 02:20, Michael Müller wrote:
> What happens when using this
>
>
> /set classpath path/x.jar
>
> /set classpath path/y.jar
>
>
> are bot jars added to the classpath? or does the second set overwrite
> the classpath?
>
> maybe it might be better this way
>
> /set classpath overwrites an existing one
>
> /add classpath adds a new path
>
> /retain classpath removes a path
>
> ?
>
>
>
>
> Herzliche Grüße - Best Regards,
>
> Michael Müller
> Brühl, Germany
> blog.mueller-bruehl.de <http://blog.mueller-bruehl.de/>
> it-rezension.de <http://it-rezension.de/>
> @muellermi
>
>
> Read my books
> "Web Development with Java and JSF": https://leanpub.com/jsf
> "Java Lambdas und (parallel) Streams" Deutsche Ausgabe:
> https://leanpub.com/lambdas-de
> "Java Lambdas and (parallel) Streams" English edition:
> https://leanpub.com/lambdas
>
> On 09/24/2016 12:43 AM, Robert Field wrote:
>> Please review --
>>
>> Bugs:
>>
>> https://bugs.openjdk.java.net/browse/JDK-8165405
>> jshell tool: /classpath should be /set classpath
>>
>> https://bugs.openjdk.java.net/browse/JDK-8165406
>> jshell tool: /retain classpath
>>
>> Webrev:
>>
>> http://cr.openjdk.java.net/~rfield/8165405v0.webrev/
>>
>> -Robert
>>
>>
>
More information about the kulla-dev
mailing list