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.

Bug 150793

Summary: Failure to load annotation processors in user code
Product: java Reporter: Jesse Glick <jglick>
Component: SourceAssignee: Jan Lahoda <jlahoda>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 147393    
Attachments: Stack trace

Description Jesse Glick 2008-10-20 23:48:09 UTC
If using issue #147393 I create a 269-compliant annotation processor in openide.util, and in the resulting IDE open a
module project, I get an exception.

Either java.source should disable autodiscovered APs completely (e.g. -factorypath ""), or try to load them properly.
Comment 1 Jesse Glick 2008-10-20 23:49:05 UTC
Created attachment 72318 [details]
Stack trace
Comment 2 Jan Lahoda 2008-10-21 22:53:10 UTC
I am going to disable the AP discovery (-proc:none seems to be the best way to do it, -factorypath "" wouldn't work, IMO).
Comment 4 Quality Engineering 2008-10-22 15:42:07 UTC
Integrated into 'main-golden', will be available in build *200810221401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/d542add23820
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #150793: make sure the annotation processors will not be executed.