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

JVM spec missing semantics for "final"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 6
    • 1.4.0
    • specification
    • None
    • vm
    • 1.6
    • generic
    • solaris_8

      The JVM spec gives no semantics for the final flag other than a vaguely-worded
      sentence fragment in table 4.4, yet VMs optimize using
      the assumption that a final variable may only be assigned once. It would be
      nice if the VM spec had more specific wording to support that optimization.

            abuckley Alex Buckley
            gafter Neal Gafter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: