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: | Constructors for LayerGenerationException specifying responsible annotation | ||
---|---|---|---|
Product: | platform | Reporter: | Jesse Glick <jglick> |
Component: | Filesystems | Assignee: | Jesse Glick <jglick> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | apireviews |
Priority: | P4 | Keywords: | API, API_REVIEW_FAST |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 149136, 196452 | ||
Attachments: | Running patch ('hg pdi LayerGenerationException_194545' to refresh) |
Description
Jesse Glick
2011-01-20 20:42:46 UTC
Created attachment 109496 [details]
Running patch ('hg pdi LayerGenerationException_194545' to refresh)
Please review this proposed patch. It makes it possible to specify more precisely where an AP error occurred. (It is up to the Messager impl to take advantage of this information in producing more accurate line numbers.) Note that the Annotation parameter is currently only searched for among direct annotations of the element, but this is used rather than Class<? extends Annotation> to allow an enhanced impl to find nested annotations; see commented-out test case. core-main #3ed7b437317d Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/3ed7b437317d User: Jesse Glick <jglick@netbeans.org> Log: #194545: constructors for LayerGenerationException specifying responsible annotation. |