This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Missing support for annotation processor options (-Akey=value) | ||
---|---|---|---|
Product: | java | Reporter: | Jesse Glick <jglick> |
Component: | Classpath | Assignee: | Dusan Balek <dbalek> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dbalek, jlahoda |
Priority: | P2 | Keywords: | API, API_REVIEW_FAST |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 181555 | ||
Bug Blocks: | 179749 | ||
Attachments: | Proposed patch |
Description
Jesse Glick
2010-03-02 07:33:35 UTC
Created attachment 94730 [details]
Proposed patch
[JG01] Should not be marked as compatible when you are adding an interface method. Of course this is prerelease code. [JG02] processorOptions Javadoc should be clear that values can be null, as specified in ProcessingEnvironment.getOptions. (Would be good to link to that Javadoc BTW.) When in main-silver I will update the impl in contrib/autoproject.java, which should be an easy change (am already sniffing -A options from javac). (In reply to comment #2) > [JG01] Should not be marked as compatible when you are adding an interface > method. Of course this is prerelease code. I think that the incompatible flag should be used when doing change incompatible with previous release(s), not doing incompatible changes to API introduced in the same release. > > > > When in main-silver I will update the impl in contrib/autoproject.java, which > should be an easy change (am already sniffing -A options from javac). I think that contrib/autoproject can be updated anytime, even before this change is part of main-silver (the method will never be called before that, but should not cause any problems, AFAIK). Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/2e6243ee12a5 Integrated into 'main-golden', will be available in build *201003050200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/2e6243ee12a5 User: Dusan Balek <dbalek@netbeans.org> Log: Issue #181421: Missing support for annotation processor options (-Akey=value) added |