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

Sven Reimers commented on NETBEANS-444:
---------------------------------------

Just tried and fixed the stack trace coming up, but it seems this is only the 
tip of the iceberg.

A simple grep shows the following occurrences. Seems we need a more broad fix 
to get apple ui working on different Java versions..
{code:java}
core.startup/test/unit/src/org/netbeans/core/startup/CLIOptionsTest.java: 
assertEquals("Must be MacOS", CLIOptions.uiClass, 
Class.forName("apple.laf.AquaLookAndFeel"));
core.startup/src/org/netbeans/core/startup/CLIOptions.java: ui = 
"apple.laf.AquaLookAndFeel";
core.windows/src/org/netbeans/core/windows/options/LafPanel.java: || (isAqua && 
li.getClassName().contains("apple.laf.AquaLookAndFeel")) ) { //NOI18N
core.windows/src/org/netbeans/core/windows/options/LafPanel.java: || (isAqua && 
li.getClassName().contains("apple.laf.AquaLookAndFeel")) ) { //NOI18N
ide/launcher/macosx/NetBeansLauncher/NBPreferences.m:NSString 
*look_and_feels[]={@"apple.laf.AquaLookAndFeel",@"javax.swing.plaf.metal.MetalLookAndFeel"};
nbi/engine/src/org/netbeans/installer/utils/UiUtils.java: AQUA("aqua", "Aqua", 
"apple.laf.AquaLookAndFeel"),
o.n.bootstrap/arch.xml: <li>Aqua is translated to apple.laf.AquaLookAndFeel</li>
o.n.swing.plaf/src/org/netbeans/swing/plaf/Startup.java: uiClassName = 
"apple.laf.AquaLookAndFeel";
openide.explorer/src/org/openide/explorer/propertysheet/PropUtils.java: if 
("apple.laf.AquaLookAndFeel".equals(UIManager.getLookAndFeel().getClass().getName()))
 {{code}
 

> Can't use apple.laf.AquaLookAndFeel on Java 10 anymore
> ------------------------------------------------------
>
>                 Key: NETBEANS-444
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-444
>             Project: NetBeans
>          Issue Type: Bug
>    Affects Versions: 9.0
>            Reporter: Kirill Grouchnikov
>            Priority: Major
>
> [https://github.com/apache/incubator-netbeans/blob/master/o.n.upgrader/src/org/netbeans/util/Util.java#L78]
>  stack-traces on Java 10+44
>  
> See [https://bugs.openjdk.java.net/browse/JDK-8185683] that has removed 
> access to that class and [http://jdk.java.net/10/release-notes#JDK-8185683] 
> for the release notes



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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