You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Richard <rg...@gmail.com> on 2021/01/15 10:48:35 UTC

[Netbeans platform] Illegal reflective access warning

Hello.

I am using Netbeans 12 on Linux Mint 19.3 x64 OS in order to perform the 
four steps Netbeans platform tutorial "EventManager" which starts here :

https://platform.netbeans.org/tutorials/nbm-selection-1.html

I am able to run each step of the tutorial (currently the third one), 
but I am always receiving this warning:

> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by 
> org.netbeans.ProxyURLStreamHandlerFactory 
> (file:/home/richard/netbeans-12.0/netbeans/platform/lib/boot.jar) to 
> field java.net.URL.handler
> WARNING: Please consider reporting this to the maintainers of 
> org.netbeans.ProxyURLStreamHandlerFactory
> 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

I searched on internet and I found that other users reported this kind 
of warning (but not for the same class), but I did not find something 
that could help me.

Is this warning already reported to the maintainers and the bug 
corrected in the last Netbeans 12.2 version ?

Thanks in advance for infos.

Richard


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


Re: [Netbeans platform] Illegal reflective access warning

Posted by Richard Grenon <rg...@gmail.com>.
Geertjan, thank you for your reply.

I am continuing with this good tutorial.

Richard

Le ven. 15 janv. 2021 à 11:52, Geertjan Wielenga <
geertjan.wielenga@googlemail.com> a écrit :

> It’s unrelated to your code, it refers to something one of the JARs is
> doing that is part of the NetBeans Platform. Don’t worry about it.
>
> Gj
>
> On Fri, 15 Jan 2021 at 11:49, Richard <rg...@gmail.com> wrote:
>
>> Hello.
>>
>> I am using Netbeans 12 on Linux Mint 19.3 x64 OS in order to perform the
>> four steps Netbeans platform tutorial "EventManager" which starts here :
>>
>> https://platform.netbeans.org/tutorials/nbm-selection-1.html
>>
>> I am able to run each step of the tutorial (currently the third one),
>> but I am always receiving this warning:
>>
>> > WARNING: An illegal reflective access operation has occurred
>> > WARNING: Illegal reflective access by
>> > org.netbeans.ProxyURLStreamHandlerFactory
>> > (file:/home/richard/netbeans-12.0/netbeans/platform/lib/boot.jar) to
>> > field java.net.URL.handler
>> > WARNING: Please consider reporting this to the maintainers of
>> > org.netbeans.ProxyURLStreamHandlerFactory
>> > 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
>>
>> I searched on internet and I found that other users reported this kind
>> of warning (but not for the same class), but I did not find something
>> that could help me.
>>
>> Is this warning already reported to the maintainers and the bug
>> corrected in the last Netbeans 12.2 version ?
>>
>> Thanks in advance for infos.
>>
>> Richard
>>
>>
>> ---------------------------------------------------------------------
>> 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
>>
>>

Re: [Netbeans platform] Illegal reflective access warning

Posted by Geertjan Wielenga <ge...@googlemail.com.INVALID>.
It’s unrelated to your code, it refers to something one of the JARs is
doing that is part of the NetBeans Platform. Don’t worry about it.

Gj

On Fri, 15 Jan 2021 at 11:49, Richard <rg...@gmail.com> wrote:

> Hello.
>
> I am using Netbeans 12 on Linux Mint 19.3 x64 OS in order to perform the
> four steps Netbeans platform tutorial "EventManager" which starts here :
>
> https://platform.netbeans.org/tutorials/nbm-selection-1.html
>
> I am able to run each step of the tutorial (currently the third one),
> but I am always receiving this warning:
>
> > WARNING: An illegal reflective access operation has occurred
> > WARNING: Illegal reflective access by
> > org.netbeans.ProxyURLStreamHandlerFactory
> > (file:/home/richard/netbeans-12.0/netbeans/platform/lib/boot.jar) to
> > field java.net.URL.handler
> > WARNING: Please consider reporting this to the maintainers of
> > org.netbeans.ProxyURLStreamHandlerFactory
> > 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
>
> I searched on internet and I found that other users reported this kind
> of warning (but not for the same class), but I did not find something
> that could help me.
>
> Is this warning already reported to the maintainers and the bug
> corrected in the last Netbeans 12.2 version ?
>
> Thanks in advance for infos.
>
> Richard
>
>
> ---------------------------------------------------------------------
> 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
>
>