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

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

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 12
    • Fix Version/s: 12
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b03

      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

              Assignee:
              darcy Joe Darcy
              Reporter:
              darcy Joe Darcy
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: