[
https://issues.apache.org/jira/browse/NETBEANS-1609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16674680#comment-16674680
]
Peter Nabbefeld commented on NETBEANS-1609:
-------------------------------------------
There're 2 possible solutions for the problem:
# Make the annotation dependent on platform version.
# Remove it at all. "Generated" has @Retention(SOURCE), so no behavior
would change.
Well, if the first solution is used, the annotation should be usable for other
annotation processors, too, so there should be a utility method implemented for
creating the correct annotation.
TODO:
While this is not an issue for NetBeans, what could be done with sources
generated by external tasks? Would it be possible to post-process such sources?
> @Messages annotation does not work with JDK version >= 10
> ---------------------------------------------------------
>
> Key: NETBEANS-1609
> URL: https://issues.apache.org/jira/browse/NETBEANS-1609
> Project: NetBeans
> Issue Type: Improvement
> Components: apisupport - Project
> Affects Versions: 10.0
> Environment: I'm running NB 10.0vc2 on JDK 11.
> Reporter: Peter Nabbefeld
> Priority: Major
>
> The @Messages annotation creates a non-translatable Bundle file, because the
> package of the @Generated annotation has changed:
>
> @javax.annotation.Generated => @javax.annotation.processing.Generated
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists