Revivius/nb-darcula

Make Darcula work on Netbeans under JDK 9.

Closed this issue · 10 comments

The Darcula plugin causes a ClassNotFoundException when Netbeans is running on an EA version of JDK 9. It appears to be making use of class sun.swing.SwingLazyValue which I think is no longer part of the JDK.

Strictly speaking, this is not a bug report - JDK 9 isn't even out yet, but I figure I'll make the request because JDK 9 will be out fairly soon.

@Revivius @markiewb , Can we have a release of nb-darcula plugin with this fix. Many people are using netbeans with jdk-9 EA builds and whenever we start NB, we see this exception and it is also affecting other UI components like project's subtree and code completion suggestions. Thanks.

@markiewb @Revivius , In that case I can fork the plugin and apply the pending PRs if that is Okay. Once that is done, I can publish the plugin on github itself.

@Rahul-khandelwal, @markiewb; I didnt have time for the plugin for a while. I hope to merge this PR and fix some other bugs (eg background color in Debugging Window) in a week or so.

Geertjan mentioned this in his blog too and I sure would like to use NB and Darcula myself on JDK9 without exception dialogs.

debugger_sides

Thanks @Revivius , We'll wait for next release of nb-darcula. Hope it comes soon.

Yes, would be great to have this integrated! :-) Fantastic plugin, except for this problem.

Hi all,

My name is Julio and I also like this great plugin (thanks to all contributors).

It's been a while since there is a PR to fix this problem so I've decided to manually apply latest changes from pending PR along with some small updates to make it work with nightly version of netbeans and jdk9.

It works for me so if you want to use it until new version of the plugin is out you can download and see my changes at:

https://github.com/julioa/nb-darcula/releases/tag/jdk9

Hope it helps,
Julio.

Done in 09f3a4e. Will be available in v1.6. Thank you to everyone involved.