testing JShell (langtools/test/jdk/jshell)?

Jonathan Gibbons jonathan.gibbons at oracle.com
Mon Apr 11 16:34:23 UTC 2016


Robert,

Your script uses a defunct option, -samevm.  That feature (samevm mode) 
was removed a while back, and the option is currently just an alias for 
its replacement, -agentvm.   You might want to change your script to use 
the new option.

-- Jon


On 04/08/2016 08:13 PM, Robert Field wrote:
> Hi Grigory,
>
> You will need jtreg (Download jtreg/jtreg), get 4.2
>
>     http://openjdk.java.net/jtreg/
>
> Attached is my personal script for running jshell tests.  Which would 
> need customization to your environment, at a minimum, JAVA_HOME would 
> need to be updated.
>
> -Robert
>
> On 04/08/16 13:33, Grigory Ptashko wrote:
>> Hello.
>>
>> I'd like to know what is the proper way to test JShell. I mean to run 
>> all the
>> tests that are in the langtools/test/jdk/jshell?
>> I'm totally new to jdk development.
>> This is how my usual process set up:
>>
>> 1. I edit the sources with Intellij IDEA. I launched "ant idea" in the
>> langtools/make folder. And got the idea project which I se now.
>>
>> 2. Then I build the jdk with "make CONF=... images". I do it every 
>> time after
>> editing sources. It turns out that I use Idea only for browsing and 
>> editing
>> sources.
>>
>> 3. Then in the images folder I get the full JDK image which I deploy 
>> to ios and
>> test it with my own app.
>>
>> So, where in my process (and how) must the tests be included?
>>
>> Btw, if it is possible I'd like to run only langtools/test/jdk/jshell 
>> tests. And
>> not for the whole jdk.
>>
>> Thank you.
>>
>> -- 
>> Best regards,
>> Grigory Ptashko
>>
>> +7 (916) 1489766
>> grigory.ptashko at gmail.com
>> facebook.com/GrigoryPtashko
>>
>



More information about the kulla-dev mailing list