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

Reduce incidence of compiler.warn.source.no.bootclasspath in javac tests

    XMLWordPrintable

Details

    • b03

    Backports

      Description

        Various javac tests have checks for the resource key

        compiler.warn.source.no.bootclasspath

        which results from using -source/-target without setting the bootclass patch. Such tests are also susceptible to other messages being generated from command line options, such as a notice that source level is obsolete.

        To reduce future need to update such tests, if they were modified to pass in -Xlint:-options as appropriate, the no bootclasspath message and other options-related message would be suppressed.

        Attachments

          Issue Links

            Activity

              People

                darcy Joe Darcy
                darcy Joe Darcy
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: