Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7903516

work around `this-escape` warnings

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • None
    • jtreg7.0
    • tools
    • None

    Description

      recent versions of javac report the following false positive warning:

      ../src/share/classes/com/sun/javatest/regtest/util/StreamCopier.java:44: warning: [this-escape] possible 'this' escape before subclass is fully initialized
              setDaemon(true);
                       ^
      error: warnings found and -Werror specified

      Attachments

        Issue Links

          Activity

            People

              jjg Jonathan Gibbons
              jjg Jonathan Gibbons
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: