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

A more formal way to mark javac's Flags that belong to a specific Symbol type only

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: P3 P3
    • 26
    • 26
    • tools
    • None

      As noted here:
      https://github.com/openjdk/jdk/pull/26181#pullrequestreview-2997428662

      The constants in Flags could be annotated with their expected target Symbol types, and the Flags constants could then be check to not overlap in any particular Symbol type.

            jlahoda Jan Lahoda
            jlahoda Jan Lahoda
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: