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 27751 - What's wrong with org.openide.util.Task ??
Summary: What's wrong with org.openide.util.Task ??
Status: RESOLVED INVALID
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-02 19:22 UTC by Martin Entlicher
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
The screenshot of the parser error. (53.19 KB, image/gif)
2002-10-02 19:23 UTC, Martin Entlicher
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Entlicher 2002-10-02 19:22:07 UTC
I often get compile errors when I'm using
org.openide.util.Task in my code. What's wrong
with that class?? Changing compiler to Fastjavac
fix the problem. But neither external nor internal
compilation works!

The typical error is:
org/netbeans/modules/vcscore/versioning/RevisionEditorSupport.java
[75:1] cannot resolve symbol
symbol  : class Task 
location: package util
import org.openide.util.Task;
                        ^
1 error
Errors compiling RevisionEditorSupport
[Up-to-date; 1.3] (experimental).

Of course I have mounted openide.jar.

The automatic parser reports that error as well.
See the attached screenshot.
Comment 1 Martin Entlicher 2002-10-02 19:23:10 UTC
Created attachment 7573 [details]
The screenshot of the parser error.
Comment 2 Jan Becicka 2002-10-03 10:15:00 UTC
org.openide.util.Task can cause serious problems. But the bug is in
javac. Take a look at openide/build.xml for the workaround (<target
name="13javac-workaround">)
Comment 3 artibee 2002-11-01 22:06:25 UTC
To be more explicit about the 13javac-workaround reference,
this was posted to openide-dev@netbeans.org by Jesse Glick  
on Fri, 01 Nov 2002 16:01:16 -0500 in the thread on 
"The mysterious org.openide.util.Task class":

Get NB sources, run:
	ant -f nbbuild/build.xml all-openide
and use openide/openide-13javac-workaround.jar in your 
classpath before openide/netbeans/lib/openide.jar.
See any of the many NB build scripts which do this.
Comment 4 artibee 2002-11-04 17:52:16 UTC
The openide-dev email thread is at:
<http://openide.netbeans.org/servlets/ReadMsg?msgId=399542&listName=dev>

Comment 5 Jesse Glick 2002-11-04 20:07:54 UTC
x
Comment 6 Jesse Glick 2002-11-04 20:08:54 UTC
Filed as a JDK bug:

http://developer.java.sun.com/developer/bugParade/bugs/4757175.html