Release Note: com.sun.jdi.ObjectReference::setValue Specification Should Prohibit Any Final Field Modification

XMLWordPrintable

    • Type: Sub-task
    • Resolution: Delivered
    • Priority: P4
    • 20
    • Affects Version/s: 20
    • Component/s: core-svc

      The specification of the Java Debug Interface (JDI) method `ObjectReference.setValue` has changed in this release to require the given field be non-final. The method was previously specified to require static fields be non-final but was silent on final instance fields. The JDK’s implementation of JDI has never allowed final instance fields to be changed with this method so this change has no impact on debuggers or tools using the JDK’s JDI implementation. Maintainers of JDI implementations should take note of this change so they can align their implementation with the updated specification.

            Assignee:
            Alex Menkov
            Reporter:
            Marty Thompson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: