Proposal: Put @Native and @GenerateNativeHeader in same package
Alan.Bateman at oracle.com
Tue Mar 5 16:18:10 UTC 2013
On 05/03/2013 16:06, Paul Benedict wrote:
> Ah, that makes lots more sense! Glad to know the latter is getting
> deleted. I don't know the particulars of Jon's plans, but if you want
> to achieve the same functionality of both annotations, I suggest
> allowing @Native to @Target(PACKAGE).
The annotation is for indicating that a constant will be referenced from
native code so it needs to go onto the specific fields.
More information about the core-libs-dev