Oddly enough I was just tweeting today that we could easily fix some
of these 'WARNING' messages.

I think we are abusing them and confusing users in the process.

Normally each such WARNING should have meaning and getting one should
be interesting information.

>From the looks of it:

* a few warnings are minor deprecation warnings in our own code which
we should either fix or just not print the warning (whitelist)

* a few warning are due to the Java 9 module system. I doubt we can
ever get right of those illegal reflective access we want since there
probably are no APIs for that stuff. Here having some whitelist and
just not print stuff would help reduce the load on users.

* at least one warning seems interesting and a potential bug:

> WARNING [nativeexecution.support.logger]: [931 ms.] UnixHostInfoProvider:
> sed: -e expression #1, char 6: unterminated `s' command

--emi
On Mon, Nov 26, 2018 at 6:33 PM Brad Walker <[email protected]> wrote:
>
> I'm using Apache Netbeans 9.0 to do a bunch of C/C++ development. I see
> this warning when starting up and thought I might bring it to your
> attention.
>
> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by
> org.netbeans.core.windows.view.ui.MainWindow
> (jar:file:/home/bwalker/netbeans-9.0/platform/modules/org-netbeans-core-windows.jar!/)
> to field sun.awt.X11.XToolkit.awtAppClassName
> WARNING: Please consider reporting this to the maintainers of
> org.netbeans.core.windows.view.ui.MainWindow
> WARNING: Use --illegal-access=warn to enable warnings of further illegal
> reflective access operations
> WARNING: All illegal access operations will be denied in a future release
> INFO [org.netbeans.modules.cnd.utils.cache.CndFileUtils]: C/C++ File Utils:
> using case-sensitive file system
> WARNING [org.netbeans.TopSecurityManager]: use of system property
> netbeans.home has been obsoleted in favor of InstalledFileLocator/Places at
> org.netbeans.modules.java.j2seplatform.platformdefinition.Util.removeNBArtifacts(Util.java:337)
> INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]:
> Resolving dependencies took: 5 ms
> INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]:
> Complete indexing of 0 binary roots took: 0 ms
> INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]:
> Complete indexing of 0 source roots took: 0 ms (New or modified files: 0,
> Deleted files: 0) [Adding listeners took: 0 ms]
> WARNING [org.netbeans.TopSecurityManager]: use of system property
> netbeans.user has been obsoleted in favor of InstalledFileLocator/Places at
> org.netbeans.modules.nativeexecution.support.hostinfo.impl.HostInfoFactory.getNBKey(HostInfoFactory.java:394)
> WARNING [nativeexecution.support.logger]: [931 ms.] UnixHostInfoProvider:
> sed: -e expression #1, char 6: unterminated `s' command
>
> I would assume this is something that I can ignore. But, did think you
> should know about it.
>
> -brad w.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to