[code-reflection] Integrated: Remove minor unnecessary changes from main javac codebase

Maurizio Cimadamore mcimadamore at openjdk.org
Mon Dec 1 10:32:25 UTC 2025


On Wed, 26 Nov 2025 18:36:24 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

> This PR undoes some unnecessary changes to the javac code:
> * `LambdaToMethod` still mentions the `QUOTABLE` flag, which is no longer in use
> * `Symtab` has an helper method to load classes from a string name, but that's not really required
> * `TreeInfo` defines a new helper function to detect `super` in an expression. Further analysis revealed this was unnecessary (as we can piggy back on the method reference kind instead)

This pull request has now been integrated.

Changeset: b07ea22c
Author:    Maurizio Cimadamore <mcimadamore at openjdk.org>
URL:       https://git.openjdk.org/babylon/commit/b07ea22c6cac90defb932c39425461f9922eccb7
Stats:     45 lines in 5 files changed: 6 ins; 32 del; 7 mod

Remove minor unnecessary changes from main javac codebase

Reviewed-by: psandoz

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

PR: https://git.openjdk.org/babylon/pull/711


More information about the babylon-dev mailing list