Re: RFR: JDK-8329624: Add visitors for preview language features [v2]

2024-04-04 Thread Joe Darcy
> 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

Re: RFR: JDK-8329624: Add visitors for preview language features

2024-04-03 Thread Jan Lahoda
On Wed, 3 Apr 2024 20:17:39 GMT, Joe Darcy 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

Re: RFR: JDK-8329624: Add visitors for preview language features

2024-04-03 Thread Joe Darcy
On Thu, 4 Apr 2024 05:48:25 GMT, Alan Bateman wrote: > The visitor classes are themselves preview APIs. Is this the first time that > preview APIs have been proposed without a JEP? Just wondering how much > visibility this preview API will get. To clarify the intention, the visitor classes are

Re: RFR: JDK-8329624: Add visitors for preview language features

2024-04-03 Thread Alan Bateman
On Wed, 3 Apr 2024 20:17:39 GMT, Joe Darcy 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

Re: RFR: JDK-8329624: Add visitors for preview language features

2024-04-03 Thread Vicente Romero
On Wed, 3 Apr 2024 21:38:03 GMT, Joe Darcy wrote: >> src/java.compiler/share/classes/javax/lang/model/util/SimpleElementVisitorPreview.java >> line 2: >> >>> 1: /* >>> 2: * Copyright (c) 2019, 2024, Oracle and/or its affiliates. All rights >>> reserved. >> >> general, please check the copyri

Re: RFR: JDK-8329624: Add visitors for preview language features

2024-04-03 Thread Joe Darcy
On Wed, 3 Apr 2024 21:05:20 GMT, Vicente Romero 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 s

Re: RFR: JDK-8329624: Add visitors for preview language features

2024-04-03 Thread Vicente Romero
On Wed, 3 Apr 2024 20:17:39 GMT, Joe Darcy 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

Re: RFR: JDK-8329624: Add visitors for preview language features

2024-04-03 Thread Joe Darcy
On Wed, 3 Apr 2024 20:17:39 GMT, Joe Darcy 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

RFR: JDK-8329624: Add visitors for preview language features

2024-04-03 Thread Joe Darcy
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 t