Questions about JShell
Robert Field
robert.field at oracle.com
Sat Jul 18 05:35:49 UTC 2015
Hi Barry,
That build is I imagine a few days old. We haven't changed anything in the
open command in a while. I'll check on the morning. What platform are you
on? Can you cut and paste actual behavior along with a directory list command?
Yes, the difference in behavior in the two kinds of changes is intentional,
or at least unavoidable. They correspond to changes that the Java Virtual
Machine is capable of making while keeping the class, and thus the
instances intact. Note that the tool calls these changes different things:
Modified vs Replaced
Thanks for the report,
Robert
On July 17, 2015 10:13:01 PM Barry Burd <bburd at drew.edu> wrote:
> 1. I downloaded Version 0.710 from
> https://adopt-openjdk.ci.cloudbees.com/view/OpenJDK/job/langtools-1.9-linux-x86_64-kulla-dev/lastSuccessfulBuild/artifact/.
> I'm noticing behaviors that I suspect have been fixed. How far
> out-of-date is this version, and is a more recent version available as a
> .jar file?
>
> 2. I can't use the /open command to get an existing file? I always get
> the message that the file doesn't exist. Is this a known problem in
> Version 0.710 or is it possible that my syntax (/open filename, or /open
> "filename", or /open full-path) is incorrect?
>
> 3. I get two different behaviors when I modify a class that I've
> defined. If I change something non-structural (such as the initial value
> of a field) then the existing instances aren't reset to null. But if I
> make a structural change (such as deleting a field and creating a new
> field) then the existing instances are reset to null. Is this behavior
> intentional?
>
> Thank you.
More information about the kulla-dev
mailing list