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 240814

Summary: File with main function is marked as excluded from build in project from binary.
Product: cnd Reporter: Alexander Simon <alexvsimon>
Component: Code ModelAssignee: Alexander Simon <alexvsimon>
Status: RESOLVED FIXED    
Severity: normal Keywords: RANDOM, REGRESSION
Priority: P3    
Version: 8.0   
Hardware: PC   
OS: Solaris   
Issue Type: DEFECT Exception Reporter:

Description Alexander Simon 2014-01-22 11:21:45 UTC
Steps to reproduce:
- create project from binary created by OracleSolarisStudio
- IDE opens source file with main function
- IDE marks the source file as excluded from build after finishing parsing.
Comment 1 Alexander Simon 2014-01-22 11:25:05 UTC
It is regression after switching on parsing API.
It is a random bug due to races between two process:
- create CsmFile from parsing API
- create CsmFile from filling parsing queue
Bug exist if the main source file created from parsing API.
Comment 2 Alexander Simon 2014-01-22 11:27:28 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/95b5c2d7becb
Comment 3 Quality Engineering 2014-01-23 02:40:14 UTC
Integrated into 'main-silver', will be available in build *201401230001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/95b5c2d7becb
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #240814 File with main function is marked as excluded from build in project from binary.