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 180667 - Broken classfiles generated by the IDE when annotation processing enabled
Summary: Broken classfiles generated by the IDE when annotation processing enabled
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 6.x
Hardware: PC Linux
: P2 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-12 08:30 UTC by Jan Lahoda
Modified: 2010-02-16 21:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Test case. (29.14 KB, application/octet-stream)
2010-02-12 08:30 UTC, Jan Lahoda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Lahoda 2010-02-12 08:30:59 UTC
Created attachment 94123 [details]
Test case.

[recent build]

Download the attachment, unpack it and open APUse. Enable CoS for the project and try to run it - it crashes with:
Exception in thread "main" java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file apuse/Main

This seems to be related to annotation processing - when annotation processing does not occur for the project, the classfile seems to be OK.
Comment 2 Quality Engineering 2010-02-16 21:56:12 UTC
Integrated into 'main-golden', will be available in build *201002170200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/271a38effe79
User: Dusan Balek <dbalek@netbeans.org>
Log: Issues #180488 and #180667 fixed.