JDK-8335905 : CompoundElement API cleanup
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.lang.classfile
  • Affected Version: 24
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-07-08
  • Updated: 2024-07-14
  • Resolved: 2024-07-14
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 24
24 masterFixed
Related Reports
CSR :  
Description
CompoundElement was recently refitted to be Iterable; it has vestiges of Iteration support methods, such as `void forEachElement(Consumer<E> consumer)` and `Iterable<E> elements()`. In addition, there are some straightforward implementation improvements unlocked from this cleanup, such as using stream builder on foreach to create stream.
Comments
Changeset: a9f5e76a Branch: master Author: Chen Liang <liach@openjdk.org> Date: 2024-07-14 15:01:51 +0000 URL: https://git.openjdk.org/jdk/commit/a9f5e76a65f743be9cd995fbea9c78ff9cef3402
14-07-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/20103 Date: 2024-07-09 21:42:46 +0000
09-07-2024