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

[Testbug] java/lang/invoke/condy/CondyInterfaceWithOverpassMethods.java leaves open file

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Duplicate
    • Affects Version/s: 11
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:

      Description

      The test:

       java/lang/invoke/condy/CondyInterfaceWithOverpassMethods.java

      triggers a jtreg failure on Windows:

      test result: Error. failed to clean up files after test

      The test contains:

              // For debugging purposes
              new FileOutputStream(new File(genClassName + ".class")).write(byteArray);

      and this file is never closed. This may result in an issue in agentvm mode when jtreg tries to delete the file.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                psandoz Paul Sandoz
                Reporter:
                dholmes David Holmes
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: