RFR (S): 8137105: [TESTBUG] Add test cases for VM Options file feature with removed file size limit

Dmitry Dmitriev dmitry.dmitriev at oracle.com
Fri Sep 25 12:19:32 UTC 2015


Hello,

Please review modifications to the tests for recently added feature: 
JDK-8061999 "Enhance VM option parsing to allow options to be specified 
in a file". These modifications reflect changes in the feature, which 
remove file size limit(currently also on review): JDK-8135195 "VM 
Options file should not be limited to 1024 bytes"

Here are difference with previous version:
1) Removed test cases which verifies that JVM reject VM Options file 
with size greater than 1024 bytes.
2) Added test cases for VM Options size with size greater than 1024 
bytes(one with property with very long name and very long value, other 
with a lot of repeated properties in the VM Options file).
3) Various small enchantments: added check for special options to the 
"last argument wins" test cases and others.

Webrev: http://cr.openjdk.java.net/~ddmitriev/8137105/webrev.00/ 
<http://cr.openjdk.java.net/%7Eddmitriev/8137105/webrev.00/>
JBS: https://bugs.openjdk.java.net/browse/JDK-8137105
Tested: JPRT with new test and with removed file size limit

Thank you,
Dmitry


More information about the hotspot-runtime-dev mailing list