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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 16
    • None
    • 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

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

              Created:
              Updated:
              Resolved: