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 232054 - Code-format splits <p>
Summary: Code-format splits <p>
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-01 06:34 UTC by _ gtzabari
Modified: 2013-07-12 02:30 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ gtzabari 2013-07-01 06:34:36 UTC
Product Version: NetBeans IDE Dev (Build 201306272300)
Java: 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b16
System: Windows 7 version 6.1 running on amd64; Cp1252; en_CA (nb)
User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev

1. Given:

	/**
	 * Reads a release's file attributes as a bulk operation.
	 * <p/>
	 * <p/>
	 * <p/>
         */

2. Code-format results in:

	/**
	 * Reads a release's file attributes as a bulk operation.
	 * <p/>
	 * <
	 * p/>
         */

3. This bug only seems to occur if <p> shows up multiple times consecutively. If text is inserted between the <p> the problem does not occur. Both <p> and <p/> are affected.
Comment 1 _ gtzabari 2013-07-01 06:35:39 UTC
Increasing priority to P2 because this bug results in data loss. Meaning, once the bug is fixed, re-issuing code-format won't undo the damage (the Javadoc will remain mangled).
Comment 2 Dusan Balek 2013-07-08 13:39:11 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/d44a12cd76b4
Comment 3 Quality Engineering 2013-07-12 02:30:21 UTC
Integrated into 'main-silver', will be available in build *201307112300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/d44a12cd76b4
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #232054: Code-format splits <p> - fixed.