Where can JEP 119 be found?
joe.darcy at oracle.com
Fri Jan 17 11:14:16 PST 2014
On 01/17/2014 06:03 AM, Gunnar Morling wrote:
> Hi Joe,
> Thanks for these pointers and providing this implementation. So is
> this to say that JEP 119 is/will not be part of JDK 8? Is it
> considered for being included in JDK 9 then?
Right; we are *not* including the JEP 119 code as part of the API of the
JDK -- it is neither a Java SE API (in java.* or javax.*) nor is it a
supported JDK-specific API (in jdk.* or elsewhere). The implementation
code is just a proof-of-concept sample.
If there is sufficient interest, it is possible this functionality could
be included in Java SE 9 or JDK 9.
While the code today should work, a large amount of testing would be
needed before such an API could be included in the product.
> I like the idea of that JEP, because the current distinct APIs at
> processing and runtime easily lead to redundancies when dealing with
> annotations. E.g. for Hibernate Validator we provide an annotation
> processor for compile-time checking of constraints which basically
> re-implements logic from the runtime library. So it'd be nice to see
> JEP 119 as part of the JDK.
With the benefit of hindsight, the javax.lang.model.* API is in many
ways easier to work with than core reflection and avoiding code
duplication would be beneficial :-)
> 2014/1/17 Joe Darcy <joe.darcy at oracle.com <mailto:joe.darcy at oracle.com>>
> Hello Gunnar,
> I posted a blog entry about that effort a while ago:
> "javax.lang.model backed by core reflection"
> and the source code can be found in the JDK 8 Hg repos:
> On 01/16/2014 04:30 PM, Gunnar Morling wrote:
> I'm looking for guidance on how to work with JEP 119
> Implementation Backed by Core Reflection").
> Is this part of the latest JDK 8 build (123)? If so, what's
> the entry point
> into the reflection-backed implementation of the API? There
> was the
> announcement of an PoC implementation some time last year ,
> but I can't
> find any information on whether that has been integrated into
> the official
> Many thanks,
>  http://openjdk.java.net/jeps/119
More information about the jdk8-dev