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.
Build: NetBeans IDE Dev (Build 201509090002) VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27 OS: Windows 7 User Comments: MackSix: Runninng Java 8 Profiles Conformance on JEdit 5.2 source. Stacktrace: java.io.IOException: Stream closed at java.io.BufferedInputStream.getInIfOpen(BufferedInputStream.java:159) at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) at java.io.BufferedInputStream.read(BufferedInputStream.java:265) at java.io.DataInputStream.readInt(DataInputStream.java:387) at org.netbeans.modules.classfile.ClassFile.loadClassHeader(ClassFile.java:205) at org.netbeans.modules.classfile.ClassFile.load(ClassFile.java:190)
Created attachment 156013 [details] stacktrace
I am not able to reproduce on the same proeject jEdit 5.2 sources on JDK8u60 platform. Some file from ct.sym cannot be resolved. I've at least not propagate the error and throw IOException in such a case when it happens. The validator just logs files which cannot be resolved and assigns UNKNOWN profile to them. But I am still interested in file which cannot e resolved, it will be logged into IDE log in the build having this fix. It may happen when ct.sym is not valid, the ct.sym should always contain all classes from package (except of local classes). I've written a test to verify it on JDK8u60 and it seems OK. jet-main 664b9c432b78
Integrated into 'main-silver', will be available in build *201509110002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/664b9c432b78 User: Tomas Zezula <tzezula@netbeans.org> Log: #255136:java.io.IOException: Stream closed
Created attachment 156123 [details] logfile after fix Here is a logfile after the fix, running the inspection on the JEdit 5.2 source code. I see nothing special logged in it myself. The only class files in the project that results are returned for are the jar files I specifically added to the classpath in the free-form project properties. Other class files in the project that should have returned results do not return results. As filed here: https://netbeans.org/bugzilla/show_bug.cgi?id=255055
v. fixed.