Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 231390 - Don't stop output scrolling on "Sun proprietary API" warning
Don't stop output scrolling on "Sun proprietary API" warning
Status: NEW
Product: java
Classification: Unclassified
Component: Compiler
PC Linux
: P3 with 1 vote (vote)
Assigned To: Dusan Balek
Depends on:
  Show dependency treegraph
Reported: 2013-06-17 19:55 UTC by pekarna
Modified: 2013-06-17 22:26 UTC (History)
0 users

See Also:


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 ); 

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo