JDK-8352896 : LambdaExpr02.java runs wrong test class
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 8,11,17,21,25
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2025-03-25
  • Updated: 2025-06-24
  • Resolved: 2025-03-28
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 25
25 b17Fixed
Related Reports
Causes :  
Description
test/langtools/tools/javac/lambda/LambdaExpr02.java runs class 'LambdaExpr01' instead of 'LambdaExpr02':

 * @run main LambdaExpr01
 */

public class LambdaExpr02 {

Comments
A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk21u-dev/pull/1917 Date: 2025-06-24 01:53:58 +0000
24-06-2025

[jdk21u-fix-request] Approval Request from sendaoYan Clean backport to fix the test bug. Change has been verified locally, test-fix only, no risk.
24-06-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk24u/pull/235 Date: 2025-06-23 07:39:07 +0000
23-06-2025

[jdk24u-fix-request] Approval Request from sendaoYan Clean backport to fix the test bug. Change has been verified locally, test-fix only, no risk.
23-06-2025

We are past RDP2 for 24.0.2. If this issue is critical, please follow the critical request process detailed at https://wiki.openjdk.org/display/JDKUpdates/JDK+24u
08-05-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk24u/pull/165 Date: 2025-03-30 13:28:34 +0000
30-03-2025

Changeset: c0292203 Branch: master Author: Zihao Lin <linzihao1999@outlook.com> Committer: Vicente Romero <vromero@openjdk.org> Date: 2025-03-28 13:19:23 +0000 URL: https://git.openjdk.org/jdk/commit/c0292203794bf3a8bfb02eac062e226ef2d07ee1
28-03-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/24277 Date: 2025-03-27 12:48:28 +0000
27-03-2025