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.
it's a regression after November 23 (can't say specific date). it's a regression for fix of issue 124102 priority is the same as for original issue. http://bertram.netbeans.org/hudson/job/javaee have 3 test fails due this regression to reproduce: create web project on gf3.x geerate Customer entity from db, see NamedQueries annotation, compare with much better frmatting in 6.9.1
Created attachment 103572 [details] Test.
A regression in formatter, IMO, caused by: http://hg.netbeans.org/jet-main/rev/63b94e1ca42e The code generator asks the reformatter to reformat each annotation separatelly, in which case the wrapping does not work after the above commit (as far as I can tell). To reproduce manually: -create a J2SE project -add "Persistence" library to the project's dependencies -download the attached JavaApplication8.java file, place it into the project -try to reformat the source code - the @NamedQueries will not be wrapped -uncomment the @SuppressWarnings annotation - the @NamedQueries will be wrapped
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/82f1ecef07fe
Integrated into 'main-golden', will be available in build *201012070001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/82f1ecef07fe User: Dusan Balek <dbalek@netbeans.org> Log: Issue #192789: nested annotation is formatted in one line - fixed.