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

Inconsistencies between code, compiler.properties and comments

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 10
    • Component/s: tools
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b12

      Description

      A type-safe approach to invoke compiler diagnostics has been introduce to javac by means of the CompilerProperties. This relies on comments in compiler.properties that specify types of diagnostic parameters.

      When working on an automatic convertor from existing invocations to the new system, it was discovered that in a number of cases the code, the messages in compiler.properties and comments in compiler.properties are not fully consistent.

      The list of cases that should be investigated an possibly fixed is attached. All source files are relative to langtools/src/jdk.compiler.

        Attachments

          Activity

            People

            Assignee:
            jlahoda Jan Lahoda
            Reporter:
            jlahoda Jan Lahoda
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: