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 - File with main function is marked as excluded from build in project from binary.
Summary: File with main function is marked as excluded from build in project from binary.
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.0
Hardware: PC Solaris
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords: RANDOM, REGRESSION
Depends on:
Blocks:
 
Reported: 2014-01-22 11:21 UTC by Alexander Simon
Modified: 2014-01-23 02:40 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 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.