JDK-8304837 : Classfile API throws IOOBE for MethodParameters attribute without parameter names
  • Type: Bug
  • Component: other-libs
  • Sub-Component: other
  • Affected Version: 21
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2023-03-23
  • Updated: 2023-08-08
  • Resolved: 2023-04-29
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 21
21 b21Fixed
Related Reports
Blocks :  
Description
Classfile API incorrectly uses readUtf8Entry than readUtf8EntryOrNull to retrieve parameter names, leading to IndexOutOfBoundsException.
Comments
Changeset: a2d3fc83 Author: SirYwell <hannesgreule@outlook.de> Committer: Julian Waters <jwaters@openjdk.org> Date: 2023-04-29 07:48:14 +0000 URL: https://git.openjdk.org/jdk/commit/a2d3fc83b0dd7eea38e1dd5898a97d6d7ff60194
29-04-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/13167 Date: 2023-03-23 19:45:21 +0000
23-03-2023

[~asotona] Might be interested in this, as this currently blocks JDK-8292275
23-03-2023