[JEP 390] Add 'lint' warning for @ValueBased classes

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 16
    • Affects Version/s: None
    • Component/s: tools
    • b28

      Implement a 'lint' warning in javac for a 'synchronized' statement whose operand is known to be @ValueBased.

      This should apply to an operand expression that has any of:
      - A class type, where the named class is declared @ValueBased
      - An interface type, where the named interface is declared @ValueBased
      - A type variable or intersection type with a @ValueBased bound

        There are no Sub-Tasks for this issue.

            Assignee:
            Srikanth Adayapalam (Inactive)
            Reporter:
            Dan Smith
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: