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 245048

Summary: Ignored classpath order
Product: java Reporter: ulfzibis <ulfzibis>
Component: EditorAssignee: Dusan Balek <dbalek>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: 3 dependent java projects

Description ulfzibis 2014-06-13 23:55:44 UTC
[ JDK VERSION : 1.7.0_45 ]

STEPS:
   1) Copy attached projects to same path and open all three in NetBeans IDE.
   2) Try to build project "KomPrüfStand".
   3) Delete project "TwinCAT" from Source Libraries.

ACTUAL:
   2) Compile errors, because compiler refers to not-matching source files from
project "TwinCAT".
   3) No compile errors, because compiler refers to matching CoSoCoTC.jar.

EXPECTED:
   In both cases compiler should first refer to the matching CoSoCoTC.jar, as
it is at first place of the classpath.
Comment 1 ulfzibis 2014-06-13 23:57:16 UTC
Created attachment 147673 [details]
3 dependent java projects
Comment 2 Martin Balin 2016-07-07 07:19:02 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