Release Note: CodeModel Now Delivers Custom and Unknown Attributes

XMLWordPrintable

      In the previous release, when a `java.lang.classfile.CodeModel` is traversed by a `forEach`, `CustomAttribute` and `UnknownAttribute` were not delivered. Now, they are delivered, bringing their delivery behavior in parity with `ClassModel`, `FieldModel`, and `MethodModel`.

      Users who traverse a `CodeModel` should review their handling of these two attributes when they are delivered as `CodeElement`. In particular, users using exhaustive pattern matching switches to handle `CodeElement` will encounter a compile error and must update their code.

            Assignee:
            Chen Liang
            Reporter:
            Chen Liang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: