[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-serviceability-dev
Subject:    Re: RFR: 8252003: remove usage of PropertyResolvingWrapper in vmTestbase/nsk/jvmti [v2]
From:       Igor Ignatyev <iignatyev () openjdk ! java ! net>
Date:       2020-09-30 21:40:27
Message-ID: 84favqupCxYqwzPJALDc05L_L2hcpUMJxZ_5y5qmleQ=.4cbc6708-29cf-42e7-8965-1daab391b1ac () github ! com
[Download RAW message or body]

On Wed, 30 Sep 2020 21:34:22 GMT, Serguei Spitsyn <sspitsyn@openjdk.org> wrote:

> > > What are the meaning of these properties ?:
> > > -Dnsk.jvmti.test.property=value_of_nsk.jvmti.test.property
> > > -Dnsk.jvmti.test.property=initial_value_of_nsk.jvmti.test.property
> > > -Dnsk.jvmti.test.property.empty.new=initial_value_of_nsk.jvmti.test.property.empty.new
> > > 
> > 
> > these are properties used by jvmti tests, the tests compare the actual value w/ \
> > expected values hardcoded in the test code. the purpose of these properties is \
> > different in different tests, ranging from just checking values by an agent to \
> > changing the value by the agent and checking that the value was changed. 
> > > 
> > > Could you, please, explain this change? :
> > > 
> > > 
> > ... scenarios/general_functions/GF08/gf08t001/TestDriver.java
> > @@ -87,8 +87,8 @@ public static void main(String[] args) throws Exception {
> > nsk.jvmti.scenarios.general_functions.GF08.gf08t.main(new String[] {
> > "gf08t001",
> > nsk.jvmti.scenarios.general_functions.GF08.gf08t001.class.getName(),
> > -               keyPhrase,
> > -              "gc"});
> > +              "gc",
> > +              keyPhrase});
> > }
> > }
> > 
> > it's the same changes I described \
> > [above](https://github.com/openjdk/jdk/pull/370#discussion_r497655837), in two \
> > words, due to how jtreg handles spaces and `"` in the arguments, the positions of \
> > `phrase` and  `verboseType` have been switched.
> 
> Okay, thanks!

Serguei, Chris, thanks a lot for your reviews.

-------------

PR: https://git.openjdk.java.net/jdk/pull/370


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic