You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by steve young <ic...@yahoo.com.INVALID> on 2022/09/21 03:34:01 UTC
Illegal reflective access by org.openide.util.RequestProcessor
Hey folks,
I'm seeing
[java] WARNING: An illegal reflective access operation has occurred [java] WARNING: Illegal reflective access by org.openide.util.RequestProcessor$TopLevelThreadGroup (file:/C:/Users/Steve/Documents/GitHub/JMRI/lib/org-openide-util-RELEASE150.jar) to method sun.awt.AppContext.getAppContext() [java] WARNING: Please consider reporting this to the maintainers of org.openide.util.RequestProcessor$TopLevelThreadGroup [java] WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations [java] WARNING: All illegal access operations will be denied in a future release
Where's the best place to report this?
Thanks,Steve.
Re: Illegal reflective access by org.openide.util.RequestProcessor
Posted by steve young <ic...@yahoo.com.INVALID>.
Hi Neil,
Thanks so much for the quick response and the correct assumption in that it's being used as an import. -J--add-exports=java.desktop/sun.awt=ALL-UNNAMED fixes the issue.
Thanks for the pointer, really appreciated,Steve.
On Wednesday, 21 September 2022 at 09:42:01 BST, Neil C Smith <ne...@apache.org> wrote:
On Wed, 21 Sept 2022 at 04:34, steve young <ic...@yahoo.com.invalid> wrote:
> [java] WARNING: Illegal reflective access by org.openide.util.RequestProcessor$TopLevelThreadGroup (file:/C:/Users/Steve/Documents/GitHub/JMRI/lib/org-openide-util-RELEASE150.jar) to method sun.awt.AppContext.getAppContext()
>
> Where's the best place to report this?
I assume this is not from the IDE but your own software from the look
of that message? You need to add in relevant add-exports and
add-opens similar to those found in netbeans.conf.
Neil
Re: Illegal reflective access by org.openide.util.RequestProcessor
Posted by Neil C Smith <ne...@apache.org>.
On Wed, 21 Sept 2022 at 04:34, steve young <ic...@yahoo.com.invalid> wrote:
> [java] WARNING: Illegal reflective access by org.openide.util.RequestProcessor$TopLevelThreadGroup (file:/C:/Users/Steve/Documents/GitHub/JMRI/lib/org-openide-util-RELEASE150.jar) to method sun.awt.AppContext.getAppContext()
>
> Where's the best place to report this?
I assume this is not from the IDE but your own software from the look
of that message? You need to add in relevant add-exports and
add-opens similar to those found in netbeans.conf.
Neil
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists