On Wed, 3 Apr 2024 20:17:39 GMT, Joe Darcy <da...@openjdk.org> wrote:

> When new language features are added, the javax.lang.model may need to be 
> updated. For certain classes of features, the API update includes introducing 
> a new set of concrete visitors to handle the language feature.
> 
> The API scaffolding to support the new feature tends to be considerably 
> larger than the API specifically for the new feature.
> 
> To aid work in progress (such as https://github.com/openjdk/jdk/pull/18509) 
> and anticipated in the future, I think it would be helpful to introduce a 
> persistent set of preview visitors independent of any particular language 
> change.

This pull request has now been integrated.

Changeset: 5860a48c
Author:    Joe Darcy <da...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/5860a48c71e324f77a7ecc613c063cbb81580011
Stats:     745 lines in 12 files changed: 735 ins; 0 del; 10 mod

8329624: Add visitors for preview language features

Reviewed-by: vromero, jlahoda

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

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

Reply via email to