Some exception/error message changed with 8299470 so we have to adjust the test. Current error is
Unexpected error 'Successor argument without leading - is expected for 'd' but we got '-c'' java.lang.RuntimeException: Bad option test 4 failed at SAGetoptTest.badOptionsTest(SAGetoptTest.java:124) at SAGetoptTest.main(SAGetoptTest.java:149) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:578) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:125) at java.base/java.lang.Thread.run(Thread.java:1623) ------------- Commit messages: - JDK-8299657 Changes: https://git.openjdk.org/jdk/pull/11860/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=11860&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8299657 Stats: 3 lines in 1 file changed: 0 ins; 0 del; 3 mod Patch: https://git.openjdk.org/jdk/pull/11860.diff Fetch: git fetch https://git.openjdk.org/jdk pull/11860/head:pull/11860 PR: https://git.openjdk.org/jdk/pull/11860