You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "far-soft (via GitHub)" <gi...@apache.org> on 2023/01/28 09:15:57 UTC

[GitHub] [netbeans] far-soft opened a new issue, #5378: Illegal reflective access by org.netbeans.swing.plaf.Startup

far-soft opened a new issue, #5378:
URL: https://github.com/apache/netbeans/issues/5378

   ### Apache NetBeans version
   
   Apache NetBeans 16
   
   ### What happened
   
   i try to start netbeans from an bath script and i get this warnings
   
   Press any key to continue . . .
   
   The launcher has determined that the parent process has a console and will reuse it for its own console output.
   Closing the console will result in termination of the running program.
   Use '--console suppress' to suppress console output.
   Use '--console new' to create a separate console window.
   
   
   The launcher has determined that the parent process has a console and will reuse it for its own console output.
   Closing the console will result in termination of the running program.
   Use '--console suppress' to suppress console output.
   Use '--console new' to create a separate console window.
   WARNING: package com.apple.eio not in java.desktop
   WARNING: package sun.awt.X11 not in java.desktop
   WARNING: package com.sun.java.swing.plaf.gtk not in java.desktop
   WARNING: package com.apple.eio not in java.desktop
   WARNING: package sun.awt.X11 not in java.desktop
   WARNING: package com.sun.java.swing.plaf.gtk not in java.desktop
   WARNING: An illegal reflective access operation has occurred
   WARNING: Illegal reflective access by org.netbeans.swing.plaf.Startup (jar:file:/D:/portable/PortableApps/NetBeans/platform/modules/org-netbeans-swing-plaf.jar!/) to constructor com.sun.java.swing.plaf.windows.WindowsLookAndFeel()
   WARNING: Please consider reporting this to the maintainers of org.netbeans.swing.plaf.Startup
   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
   
   ### How to reproduce
   
   my netbeans.bat script command:
   
   @echo off
   IF EXIST "%PROGRAMFILES(X86)%" (GOTO 64BIT) ELSE (GOTO 32BIT)
   
   :64BIT
   start "" /b bin/netbeans64.exe
   
   :32BIT
   start "" /b bin/netbeans.exe
   
   pause
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   windows 10 x64
   
   ### JDK
   
   openjdk version "17.0.5" 2022-10-18 LTS OpenJDK Runtime Environment Zulu17.38+21-CA (build 17.0.5+8-LTS) OpenJDK 64-Bit Server VM Zulu17.38+21-CA (build 17.0.5+8-LTS, mixed mode, sharing)
   
   ### Apache NetBeans packaging
   
   Apache NetBeans provided installer
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   No
   
   ### Code of Conduct
   
   Yes


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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


[GitHub] [netbeans] mbien closed issue #5378: Illegal reflective access by org.netbeans.swing.plaf.Startup

Posted by "mbien (via GitHub)" <gi...@apache.org>.
mbien closed issue #5378: Illegal reflective access by org.netbeans.swing.plaf.Startup
URL: https://github.com/apache/netbeans/issues/5378


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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


[GitHub] [netbeans] mbien commented on issue #5378: Illegal reflective access by org.netbeans.swing.plaf.Startup

Posted by "mbien (via GitHub)" <gi...@apache.org>.
mbien commented on issue #5378:
URL: https://github.com/apache/netbeans/issues/5378#issuecomment-1586255892

   your batch script isn't correct. It starts NB twice as you can see in the log. Goto is not an if/else branch.
   
   The warnings are nothing to worry about except the last warning. I am not sure why you got this, I couldn't reproduce it with NetBeans 18 and JDK 20.
   
   ```
   start /b bin/netbeans.exe --jdkhome "path\to\jdk"
   ```
   didn't cause any issues.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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