RFR 8175013: Add @Generated Annotation

Ron Shapiro ronshapiro at google.com
Thu Mar 16 15:44:02 UTC 2017

Are there any plans to make the new @Generated annotation have CLASS
retention? We have a number of compile-time tools that would like to know
when files are generated. No need at runtime, but it would be good to have
this information stick around.

On Thu, Mar 16, 2017 at 7:52 AM Lance Andersen <lance.andersen at oracle.com>

Hi Remi,

On Mar 16, 2017, at 10:32 AM, Remi Forax <forax at univ-mlv.fr> wrote:

And deprecate the old.

We will be deprecating the Java EE modules in Java SE so in a sense that is

It would require an MR to common annotations to deprecate the annotation in
javax.annotation. and the Java EE folks do not have an MR planned at this
time for that JSR


Maybe it will be done as a part of another commit given
javax.annotation.Generated is in another workspace.

so i've added compiler-dev, since this will be commited to langtools.


----- Mail original -----

De: "Alan Bateman" <Alan.Bateman at oracle.com>
À: "Lance Andersen" <lance.andersen at oracle.com>, "core-libs-dev" <
core-libs-dev at openjdk.java.net>
Envoyé: Jeudi 16 Mars 2017 14:51:43
Objet: Re: RFR 8175013: Add @Generated Annotation

On 16/03/2017 13:42, Lance Andersen wrote:

Hi all,

Per the discussion [1],  please find the webrev for adding a replacement
annotation for javax.annotation.Generated .

It would be good to have a link from the old @Generated to the new.


<http://oracle.com/us/design/oracle-email-sig-198324.gif>Lance Andersen|
Principal Member of Technical Staff | +1.781.442.2037 <(781)%20442-2037>
Oracle Java Engineering
1 Network Drive
Burlington, MA 01803
Lance.Andersen at oracle.com

More information about the core-libs-dev mailing list