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 14724 - Compilation using fastjavac ocassionally throws java.io.IOException
Summary: Compilation using fastjavac ocassionally throws java.io.IOException
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC Windows 95/98
: P2 blocker (vote)
Assignee: _ ttran
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-08-23 11:46 UTC by Jan Becicka
Modified: 2008-12-22 22:38 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
StackTrace (1.32 KB, text/plain)
2001-08-23 13:12 UTC, Jan Becicka
Details
Suggested patch (2.47 KB, patch)
2001-11-30 17:08 UTC, Petr Suchomel
Details | Diff
Source and compiled class (9.86 KB, application/octet-stream)
2001-11-30 17:11 UTC, Petr Suchomel
Details
a better patch to fix the bug (4.30 KB, patch)
2001-12-03 10:54 UTC, _ ttran
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Becicka 2001-08-23 11:46:42 UTC
[010814]
Only on W98
Comment 1 Jan Becicka 2001-08-23 13:12:21 UTC
Created attachment 2285 [details]
StackTrace
Comment 2 Jan Becicka 2001-08-24 11:56:32 UTC
This bug occures sometimes (it means, let say once in ten attempts). 
Also the files are compiled, Exception is written to the Output 
window, insofar that user thinks, that files were not compiled.
Comment 3 Ivan Bradac 2001-08-27 09:20:03 UTC
I can't say for sure that this is a fastjavac bug. This exception is 
caused by win32 CreateProcess call which returns false 
(execution failed) with error  number set in 0 (ERROR_SUCCESS).
Looks like we've faced MS puzzle.
Comment 4 Ivan Bradac 2001-08-27 09:22:08 UTC
Has been forwarded to the Sun's fastjavac team.
Comment 5 Jan Lahoda 2001-08-28 09:17:04 UTC
So, I do not think this is problem of fastjavac, the same happens to
me in CPPLite when compiling/linking on W98 (native utility is GNU gcc
by cygwin). I think this is either win or jre problem. I was trying to
investigate it a bit, but without success.
Comment 6 Svata Dedic 2001-09-14 15:56:33 UTC
Really seems like Win platform bug. Temporarily closing, if some 
solution is found, it will be fixed.
Comment 7 Petr Suchomel 2001-11-30 16:50:05 UTC
Bug is probably given by bug #4086045 (java bugparade). Thread which 
runs external process has to have NORM_PRIORITY on W98.
Comment 8 Petr Suchomel 2001-11-30 17:08:56 UTC
Created attachment 3644 [details]
Suggested patch
Comment 9 Petr Suchomel 2001-11-30 17:11:07 UTC
Created attachment 3645 [details]
Source and compiled class
Comment 10 _ ttran 2001-11-30 21:55:22 UTC
To psuchomel: next time please use context diff (cvs diff -c) or
unified diff (cvs diff -u) when producing a patch!!!
Comment 11 _ ttran 2001-12-02 10:08:25 UTC
I don't see that much problem with the workaround but I don't like the
patch.  I'll find a better way.

Should we try to integrate this fix into 3.3.0?  AFAIK fastjavac is
not the default compiler.  How often does the problem occur on Win98?
Comment 12 _ ttran 2001-12-03 10:54:08 UTC
Created attachment 3661 [details]
a better patch to fix the bug
Comment 13 _ ttran 2001-12-03 10:56:11 UTC
I refined the patch (see attachment) and committed it into release33
branch
Comment 14 _ ttran 2001-12-03 13:41:53 UTC
merged into release330 branch
Comment 15 Jan Becicka 2002-07-09 10:07:34 UTC
VERIFIED in [200207080100]
Comment 16 Quality Engineering 2003-07-01 16:35:04 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.