RFR(S/T) : 8243568 : serviceability/logging/TestLogRotation.java uses 'test.java.opts' and not 'test.vm.opts'

Chris Plummer chris.plummer at oracle.com
Fri Apr 24 22:53:24 UTC 2020

Adding hotspot-runtime-dev since logging is owned by runtime, not 


On 4/24/20 3:41 PM, Leonid Mesnik wrote:
> Looks good. (Need a 'R'eview.)
> Leonid.
>> On Apr 24, 2020, at 3:30 PM, Igor Ignatyev <igor.ignatyev at oracle.com> wrote:
>> http://cr.openjdk.java.net/~iignatyev//8243568/webrev.00
>>> 8 lines changed: 0 ins; 6 del; 2 mod;
>> Hi all,
>> could you please review this small and trivial patch which updates serviceability/logging/TestLogRotation.java test to pass both 'test.java.opts' and not 'test.vm.opts' ? to do that, the patch removes the custom logic of handling test.java.opts and just uses ProcessTools.createJavaProcessBuilder(boolean addTestVmAndJavaOptions=true, String...), which prepends values of both properties.
>> from JBS:
>>> serviceability/logging/TestLogRotation.java test use 'test.java.opts' to get external vm flags, yet actually external flags are split b/w 'test.java.opts' and 'test.vm.opts' and in the majority of cases all external flags are set listed in 'test.vm.opts' so the test should be updated to read both.
>> JBS: https://bugs.openjdk.java.net/browse/JDK-8243568
>> webrev: http://cr.openjdk.java.net/~iignatyev//8243568/webrev.00
>> Thanks,
>> -- Igor

More information about the hotspot-runtime-dev mailing list