Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipse-dev] Review, refactoring, cleanup/polish of all JEPs from Java 10 - 24 in ECJ
  • From: "Sankaran, Srikanth" <srikanth.sankaran@xxxxxxxxxxxxx>
  • Date: Wed, 30 Jul 2025 00:49:53 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=advantest.com; dmarc=pass action=none header.from=advantest.com; dkim=pass header.d=advantest.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=M52cyvZE1d/vvTOYKl6sOl2OmfcT67jQ1pJirtAZaSk=; b=o3D23JFGBgcAQgUhGwLe3ycLl5D2fFJDep9i8Cvb7ikT75I5gCPwQhsWBfAghohvM/jIB2+p8RPc9f/I6YnnnS56cZggecXq/lvPSaXmzju1q/CgraJW/RtzI8WG7tuQslNS/Yel2hZUkdVrHtDSIuGznB7ihiinIpNXvqrh0e1w+omYyL/gShsMesCkxb5ER7cHcLpv9BgeKnwsiUiMoXLTj9IdGeTJlTEskupt4wreuBCgcV0CWPemxSFYTD75J1dQFtjWHW2CBJ4vojUu78f3o2MWArTVBLzmsoOwA53ywvh7W1kdMRqgot65A+Uz2GNoV7IKyuAgqLsBGVNr3g==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=lp2cI1dIvXlHOAMF/qoLhi4RxIjwxxtWu7XDjCeeos11U3rrs0JNcZloX/h4yeYxXdTxSARAdxxl9HYVmAhafSrVbA88kN9qu985qF1X+cqdKFvLkIXX0JqXI1d3/zi0R50eYEs8FxbdpABz3XhAbqPJcxm6mAx/kfilqRUvl5mf4Yo53i0zt7Jg21YTIhpPxZRC3hR016lK8Lfuvl2ZXl+yVqk4+b7IeonFV/hhGEtM2+lELSj0ajmBmtPwe/7AvjDWUm3u6ts+EcOQciKu3FZ5hDWBdm9QWZpBMNyG62A6PtW21GlTMZ1TD+Ls68n/qp30FEwr6LBaED1YBwx5+w==
  • Delivered-to: eclipse-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/eclipse-dev/>
  • List-help: <mailto:eclipse-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/eclipse-dev>, <mailto:eclipse-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/eclipse-dev>, <mailto:eclipse-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AdwA64itFcp0maC6SxSkoarfBFrryg==
  • Thread-topic: Review, refactoring, cleanup/polish of all JEPs from Java 10 - 24 in ECJ

Dear Eclipse/JDT users,

 

On behalf of the Eclipse JDT team and the Advantest R & D team, I am very pleased to share that, the effort we undertook in late 2023 to review and refactor ECJ’s support for all Java language enhancements [*][**] from Java 10 till Java 24, is finally over - after 20 long months!

 

As a part of this effort,

 

  • We reviewed the relevant JLS chapters/sections & JEP documents
  • Studied ECJ’s support for these features, making many improvements in design and implementation
  • Did extensive black box testing, white box testing, behavior compatibility testing against the reference implementation
  • Uncovered over a hundred defects; Also combed through Bugzilla & Github issues tracker to fix outstanding issues - closing over a couple of hundred defects in the compiler in the process

 

The language features covered are:

 

    • Pattern matching,
    • Sealed classes,
    • Record classes,
    • Switch Expressions,
    • Enhanced Switch statements,
    • Local variable type inference,
    • Nest based access control,
    • Text blocks and
    • Indy String concatenation.

 

This is not a big bang infusion of change – these improvements have been delivered gradually over the past several releases in 2024-2025 and the just published 4.37 M2 contains the cumulative changes.

 

Caveat Emptor: While due (and at times undue! 😊) diligence has been carried out, defects cannot be ruled out. Here then is a request for all interested parties to test 4.37 M2 (https://download.eclipse.org/eclipse/downloads/drops4/S-4.37M2-202507241800/) and report any issues encountered so that we can fix them in time for 4.37 GA.

 

Help us deliver a solid 4.37 release!

 

[*]  “JEP 467 – Markdown Javadoc comments” was not included in this effort since it is not a “language” construct per se. We plan to review/refactor this feature implementation later.

[**] While this effort beefed up (only) the compiler support of these language constructs, we are aware that weaknesses and non-trivial shortcomings exist in other areas such as code assistant for these features. We plan to address these in future.

 

Thanks,

Srikanth Sankaran.

Advantest R & D team & JDT/Core team.

 

 

 

 

 

 


Back to the top