-
Sub-task
-
Resolution: Delivered
-
P4
-
25
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.
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.