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 29718

Summary: CVS virtual files confuse internal compiler
Product: java Reporter: _ gtzabari <gtzabari>
Component: UnsupportedAssignee: issues@java <issues>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description _ gtzabari 2002-12-25 03:17:54 UTC
dev build 200212060100

1) Mount a CVS directory
2) Let class A extends class B
3) Run CVS | REMOVE on class B, CVS | REMOVE is
configured to delete files on this operation (even
if the changes are uncommited) so after this
operation the file object is "virtual".
4) Try running the "Internal Compiler" against
class A.

   Instrad of complaining about "class B does not
exist" it'll complain "cannot open file null" or
something similar. This has been around for many
months now but I've only recently figured it out
;) It leads to very ambigious error messages.
Comment 1 Martin Entlicher 2003-02-20 13:29:35 UTC
This can be fixed only in the internal compiler I suppose. It has to
ignore virtual FileObjects.
Comment 2 Svata Dedic 2003-02-25 14:44:53 UTC
/cvs/java/external/java-gj.jar.scrambled,v  <--  java-gj.jar.scrambled
new revision: 1.8; previous revision: 1.7
Comment 3 _ gtzabari 2003-02-26 01:29:58 UTC
*** Issue 29012 has been marked as a duplicate of this issue. ***
Comment 4 Jan Becicka 2003-04-16 16:37:28 UTC
Gili, could you verify the fix? Thanks