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

[lworld] implement spec changes to stack map tables

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • repo-valhalla
    • repo-valhalla
    • tools

      Adding the ACC_STRICT flag for final fields indicates that the field may only be modified in an <init> method before execution of the super() call.(4.5, 4.9.2, 4.10.1.9.putfield)

      In order to realize this, the initial strict instance fields of a class must be collected and monitored by the verifier with the list being updated at putfield and jump calls. These fields must all be initialized by the time the super constructor is called. For constructors with control flow, additional information about the state of these strict fields must be provided by the classfile, and thus must be generated by javac.

            matsaave Matias Saavedra Silva
            vromero Vicente Arturo Romero Zaldivar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: