Proposal: Put @Native and @GenerateNativeHeader in same package (original) (raw)
Alan Bateman Alan.Bateman at oracle.com
Tue Mar 5 16🔞10 UTC 2013
- Previous message: Proposal: Put @Native and @GenerateNativeHeader in same package
- Next message: hg: jdk8/tl/langtools: 4 new changesets
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 05/03/2013 16:06, Paul Benedict wrote:
Alan,
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.
-Alan.
- Previous message: Proposal: Put @Native and @GenerateNativeHeader in same package
- Next message: hg: jdk8/tl/langtools: 4 new changesets
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]