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 231390 - Don't stop output scrolling on "Sun proprietary API" warning
Summary: Don't stop output scrolling on "Sun proprietary API" warning
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 7.3.1
Hardware: PC Linux
: P3 normal with 1 vote (vote)
Assignee: Dusan Balek
Depends on:
Reported: 2013-06-17 19:55 UTC by pekarna
Modified: 2013-06-17 22:26 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description pekarna 2013-06-17 19:55:09 UTC
Sometimes it's necessary to use proprietary API directly, usually as a bug workaround or temporararily solution when prototyping.

But during compilation, the infamous warning is emmited:

org/jboss/loom/utils/[102,74] is internal proprietary API and may be removed in a future release

This warning can't be supressed (Sun decided so and never stepped back).
And NetBeans stops on this warning and doesn't scroll, and worse, doesn't skip to a real error if it comes.

This is really very annoying. Could this particular warning be skipped, perhaps optionally? Or simply skipped, since this problem can be revealed in the Tasks window, or any mainstream Java code checker.

Thanks for consideration.
Comment 1 pekarna 2013-06-17 22:26:01 UTC
Ugly workaround:

   try {
       xpf = (XPathFactory) Class.forName("").newInstance();
   catch( Exception ex ){
       throw new IllegalStateException("Shouldn't happen: " + ex.getMessage(), ex );