This is a follow-up enhancement to
java/util/zip/ZipFile/DeleteTempJarTest.java
which was refactored from shell scrip test deletetempjar.sh (inJDK-8209930), it follows previous workflow that to get the filename from test output.
This "can be a bit fragile sometimes to use the output of the sub-process. Just thinking about warnings or other output in non-product builds that might be sent to stdout rather than stderr. An alternative would be DeleteTempJarTest to create a listener socket and have DeleteTempJar connect to send the file name"
java/util/zip/ZipFile/DeleteTempJarTest.java
which was refactored from shell scrip test deletetempjar.sh (in
This "can be a bit fragile sometimes to use the output of the sub-process. Just thinking about warnings or other output in non-product builds that might be sent to stdout rather than stderr. An alternative would be DeleteTempJarTest to create a listener socket and have DeleteTempJar connect to send the file name"
- relates to
-
JDK-8209930 Refactor java/util/zip/ZipFile/deletetempjar.sh to plain java test
- Resolved