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 21049 - The option -warnunchecked cannot be set for the internal compiler
Summary: The option -warnunchecked cannot be set for the internal compiler
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-01 09:50 UTC by tboerkel
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 tboerkel 2002-03-01 09:50:41 UTC
The internal compiler allows to use Generics ("GJ Input" = true). That seems to 
work nicely, better than using the external compiler and javac.jar from JSR 14, 
because that one generates wrong line numbers for compile errors.
With Generics enabled, you sometimes get "unchecked warnings" from the compiler 
like this:
Note: com\apag\p2plus\p2objects\ObjectCollection.java uses unchecked operations.
Note: Recompile with -warnunchecked for details.

That's OK. But if you want to see details to these warnings, you have to supply 
the -warnunchecked option to the generics compiler. This option cannot be set 
for the internal compiler.
Comment 1 Svata Dedic 2002-03-22 15:55:58 UTC
/cvs/java/manifest.mf,v  <--  manifest.mf
new revision: 1.54; previous revision: 1.53
/cvs/java/src/org/netbeans/modules/java/JavaDataObject.java,v  <-- 
JavaDataObject.java
new revision: 1.152; previous revision: 1.151
Comment 2 Svata Dedic 2002-03-22 15:57:15 UTC
I'm sorry :-( I accidentally closed this bug instead of another (#19724)
Comment 3 Svata Dedic 2002-03-22 16:43:43 UTC
Done in the trunk; see in the next dev-build, but don't forget to
download extra binaries, if building from source :-)
Comment 4 Jan Becicka 2002-04-12 16:25:27 UTC
VERIFIED
Comment 5 Quality Engineering 2003-07-01 13:19:09 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.