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 - CVS virtual files confuse internal compiler
Summary: CVS virtual files confuse internal compiler
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
: 29012 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-12-25 03:17 UTC by _ gtzabari
Modified: 2007-09-26 09:14 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 _ 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