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 120942 - Removing modifiers changes formatting
Summary: Removing modifiers changes formatting
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-02 11:32 UTC by Erno Mononen
Modified: 2016-07-07 07:18 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
modifierstest.diff (2.15 KB, patch)
2007-11-02 11:33 UTC, Erno Mononen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Erno Mononen 2007-11-02 11:32:15 UTC
Sources from 20071031 / Linux / JDK 6u3

Removing the abstract modifier from an annotated class changes formatting, e.g. removing it from the following

@Deprecated
public abstract class Hepo {}

results in

@Deprecated public class Hepo {}

Attached is a diff for ModifiersTest that demonstrates the issue. Affects at least one EJB hint, see issue 110186.
Comment 1 Erno Mononen 2007-11-02 11:33:27 UTC
Created attachment 52352 [details]
modifierstest.diff
Comment 2 Rastislav Komara 2009-02-03 10:57:04 UTC
Overtake.
Comment 3 Jan Lahoda 2009-08-20 10:00:29 UTC
Reassigning all moonko's java/source bugs to myself.
Comment 4 Martin Balin 2016-07-07 07:18:41 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss