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

[lworld] Clarify identity vs value in Class, Objects, and document limitations of value objects

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • repo-valhalla
    • core-libs

      Value objects can not be used with java.lang.Reference objects because they do not have identity.
      WeakHashMap and other APIs that will throw IdentityException should document the requirement and exception.
      Clarify the relationship of Class.isIdentity() and Class.isValue() as opposites.

            rriggs Roger Riggs
            rriggs Roger Riggs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: