Valhalla reflection API - first stab
Maurizio Cimadamore
maurizio.cimadamore at oracle.com
Wed Jun 22 16:29:09 UTC 2016
Hi,
a more detailed document describing the design of this API is being
discussed in the EG mailing list:
http://mail.openjdk.java.net/pipermail/valhalla-spec-observers/2016-June/000117.html
Maurizio
On 15/06/16 18:19, Maurizio Cimadamore wrote:
> Hi,
> I've just pushed a new Valhalla-centric reflection API; the main goal
> of this API is to allow programmers to reflect over the contents of
> the new generic classfile, as well as to programmatically create
> class/method parameterizations and perform dynamic operations (method
> calls, field access). More information about this API can be found at
> in the javadoc of the root of the hierarchy - available here:
>
> http://cr.openjdk.java.net/~mcimadamore/x-reflection/valhalla/reflect/runtime/RuntimeMirror.html
>
>
> There's also a pretty comprehensive end to end test showcasing many of
> the API features:
>
> http://hg.openjdk.java.net/valhalla/valhalla/jdk/file/0f7a9b8602e5/test/valhalla/test/valhalla/reflect/runtime/SimpleReflectionTest.java
>
>
> Note: this is just an initial API round/prototype. As such we didn't
> put too much effort on things like naming conventions etc. and we
> focussed instead on the set of features we would like this new API to
> have.
>
> We are obviously interested of any usability issue/bugs you encounter
> when using/learning this API!
>
> Cheers
> Maurizio
>
More information about the valhalla-dev
mailing list