Integrated: 8366837: Clean up gensrc by spp.Spp

Magnus Ihse Bursie ihse at openjdk.org
Mon Sep 8 16:51:23 UTC 2025


On Wed, 3 Sep 2025 20:17:50 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

> Several java classes in java.base is generated from templates using SPP, the "Stream Preprocessor". Unfortunately much of this code is very old and has survived unchanged since pre-JDK 7. It does not follow modern makefile standards for abstraction, safe coding practices, etc. In short, they have been a thorn in the side for a long time, and the time has finally come to clean them up.

This pull request has now been integrated.

Changeset: 55af9d83
Author:    Magnus Ihse Bursie <ihse at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/55af9d83800930966776224bc4c7ff4ab1af9817
Stats:     1321 lines in 9 files changed: 523 ins; 562 del; 236 mod

8366837: Clean up gensrc by spp.Spp

Reviewed-by: erikj

-------------

PR: https://git.openjdk.org/jdk/pull/27078


More information about the core-libs-dev mailing list