Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8210548

DeleteTempJarTest.java enhancement: to remove the dependency on test output

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 12
    • Fix Version/s: tbd
    • Component/s: core-libs
    • Labels:
      None

      Description

      This is a follow-up enhancement to
      java/util/zip/ZipFile/DeleteTempJarTest.java
      which was refactored from shell scrip test deletetempjar.sh (in JDK-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"

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                amlu Amy Lu
                Reporter:
                amlu Amy Lu
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: