[ 
https://issues.apache.org/jira/browse/NETBEANS-2017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16945047#comment-16945047
 ] 

David Green commented on NETBEANS-2017:
---------------------------------------

This may be related although it is a Java program, it generates the same 
warning against the same module.

 

The issue occurs (and has been occurring) on a Clean and Build.  It is still 
occurring on 11.2.beta2.

On Mac, running netbeans from command line:

WARNING: An illegal reflective access operation has occurred

WARNING: Illegal reflective access by org.netbeans.core.output2.FileMapStorage 
(jar:file:/Users/dgreen/Downloads/netbeans/platform/modules/org-netbeans-core-output2.jar!/)
 to method java.nio.DirectByteBuffer.cleaner()

WARNING: Please consider reporting this to the maintainers of 
org.netbeans.core.output2.FileMapStorage

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

 

Code is here: [https://github.com/dgreen/gaugedemo]

Medusa-8.3.jar is from [https://github.com/HanSolo/Medusa] 

 

It is is a warning, not an error and the built code works fine.

 

My NetBeans "About" shows

 
*Product Version:* Apache NetBeans IDE 11.2-beta2

*Java:* 12; OpenJDK 64-Bit Server VM 12+33

*Runtime:* OpenJDK Runtime Environment 12+33

*System:* Mac OS X version 10.14.6 running on x86_64; UTF-8; en_US (nb)

*User directory:* /Users/dgreen/Library/Application Support/NetBeans/11.2-beta2

*Cache directory:* /Users/dgreen/Library/Caches/NetBeans/11.2-beta2

 

> illegal acces error
> -------------------
>
>                 Key: NETBEANS-2017
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-2017
>             Project: NetBeans
>          Issue Type: Bug
>          Components: javascript - Debugger
>    Affects Versions: 8.2
>            Reporter: Velibor
>            Priority: Major
>             Fix For: 8.2
>
>
> How can I resolve the next issue?
>  
> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by 
> org.netbeans.core.output2.FileMapStorage 
> (jar:file:/Applications/netbeans/platform/modules/org-netbeans-core-output2.jar!/)
>  to method java.nio.DirectByteBuffer.cleaner()



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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