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.
[ 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.
Created attachment 147673 [details] 3 dependent java projects
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