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

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: