Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8280798 com.sun.jdi.ObjectReference::setValue spec should prohibit any final field modification
  3. JDK-8298799

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

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Delivered
    • Icon: P4 P4
    • 20
    • 20
    • 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.

            amenkov Alex Menkov
            mwthomps Marty Thompson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: