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 132236 - AssertionError: there must be \
Summary: AssertionError: there must be \
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-07 18:34 UTC by Alexander Simon
Modified: 2008-04-09 13:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Assertion (7.23 KB, text/plain)
2008-04-07 18:34 UTC, Alexander Simon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2008-04-07 18:34:19 UTC
Use case.
Add code fragment into file: 
---------------------------
#define    SPA_GBH_FILLER        ((SPA_GANGBLOCKSIZE - \
    sizeof (zio_block_tail_t) - \
    (SPA_GBH_NBLKPTRS * sizeof (blkptr_t))) /\
    sizeof (uint64_t))
---------------------------
Result is:
1. Assertion
2. No code coloring
3. Broken editor content
Comment 1 Alexander Simon 2008-04-07 18:34:59 UTC
Created attachment 59790 [details]
Assertion
Comment 2 Alexander Simon 2008-04-07 18:38:10 UTC
Original file is:
Open Solaris project, build 80, file:
/export/opensolaris/testws80/usr/src/uts/common/fs/zfs/sys/zio.h
Comment 3 Vladimir Voskresensky 2008-04-08 06:48:33 UTC
very serious. I'll fix it.
Comment 4 Vladimir Voskresensky 2008-04-08 13:13:14 UTC
fixed in trunk
 http://hg.netbeans.org/main?cmd=changeset;node=df2870b1656e
+ test
 http://hg.netbeans.org/main?cmd=changeset;node=d511bf5d0203

Please, review the fix for integrating into 6.1
Comment 5 Vladimir Voskresensky 2008-04-08 13:41:29 UTC
additional fix:
 http://hg.netbeans.org/main?cmd=changeset;node=c4fe74857fe2
Comment 6 Vladimir Kvashin 2008-04-08 14:59:50 UTC
The proposed fixes are reviewed.
I agree that it is correct and safe.
Comment 7 Vladimir Voskresensky 2008-04-08 15:53:56 UTC
integrated in 6.1
http://hg.netbeans.org/release61?cmd=changeset;node=54f498a744c3
Comment 8 Alexander Ioffe 2008-04-09 13:16:29 UTC
Verified in 6.1 rc1 build