RFR 8067437: New tests for mJRE feature removal.

Andrey Nazarov andrey.x.nazarov at oracle.com
Tue Dec 23 10:47:42 UTC 2014


Please review new tests for the java launcher.

New tests in MultipleJRE.java includes:
1. java -help must not contain information about obsolete flags

"-version:", "-jre-restrict-search", "-jre-no-restrict-search"

2. java should emit error if obsolete flag is specified (combo test)

3. java should ignore manifest attributes: "JRE-Version","JRE-Restrict-Search"

Removed tests:

1. Tests covered by MultipleJRE.java are removed in shell script MultipleJRE.sh. Script can be ported to Java by another changeset.

2. Removed tests that check java argument parsing through re-exec when another java version specified through flag -version:<id>

Do we have tests for argument parsing in java launcher except Arrrghs.java?

Webrev: http://cr.openjdk.java.net/~anazarov/8067437/webrev.00/




--Thanks, Andrey



More information about the core-libs-dev mailing list