RFR 8175013: Add @Generated Annotation
lance.andersen at oracle.com
Fri Mar 17 11:36:47 UTC 2017
I have update the webrev to remove MODULE as a Target for now as javax.annotations.processing uses the JDK 8 compiler during the build process.
Given where we are in the JDK 9 timeline, I prefer to not to change the Retention value. We can have a discussion for JDK 10 regarding the merits of changing the value. Right now the intent is to have a replacement for the JSR 250 flavor of this annotation to provide for an easier transition.
> On Mar 16, 2017, at 4:01 PM, Alan Bateman <Alan.Bateman at oracle.com> wrote:
> On 16/03/2017 15:44, Ron Shapiro wrote:
>> 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.
> JSR-250 has had @Generated fro 10+ years and it would be useful to see if they have had any similar feedback.
<http://oracle.com/us/design/oracle-email-sig-198324.gif>Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037
Oracle Java Engineering
1 Network Drive
Burlington, MA 01803
Lance.Andersen at oracle.com <mailto:Lance.Andersen at oracle.com>
More information about the core-libs-dev