This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Product Version = NetBeans IDE Dev (Build 201110070600) Operating System = Windows 7 version 6.1 running on x86 Java; VM; Vendor = 1.7.0 Runtime = Java HotSpot(TM) Client VM 21.0-b17 I just downloaded plugins that I know require restart but I didn't get the restart icon on the tray. Even after I restarted they don't seem to be active. For example the embedded browser doesn't open when clicking links in the Start>What's new. But they show as active in the plugin list.
What plugins do you mean? Anyway, in that case a external browser does open a link even though Plugins shows it's active. Not a problem of autoupdate but external browser. File an another bug about that. Thanks Back to the problem with showing restart icon, it's a regression cause by solving issue 201745. As a easy workaround, run your IDE with a switch -J-Dplugin.manager.check.updates=true.
Jardo, something weird in lookup, Lookup.getDefault().lookup(NotificationDisplayer.class) returns different instances of NotificationDisplayerImpl.class after installing new modules (on the fly) via autoupdate. Due to property change event are lost in FlashingIcon in core/ui. It's a regression in NB7.1 I guess. It's reproducible in latest nightly build: Product Version = NetBeans IDE Dev (Build 201110100600) (#90cd7ea56413) Operating System = Linux version 2.6.38-11-generic running on i386 Java; VM; Vendor = 1.6.0_26; Java HotSpot(TM) Client VM 20.1-b02; Sun Microsystems Inc. Runtime = Java(TM) SE Runtime Environment 1.6.0_26-b03 Java Home = /usr/local/share/java/jdk1.6.0_26/jre
Caused by fix of bug 200848. *** This bug has been marked as a duplicate of bug 201544 ***
I was wrong assuming this bug is related to bug 200848. That one was about layers, this is about META-INF/services... Anyway the whole assert thing is completely wrong: if you hold Integer hash code who will make sure the previous implementation will not garbage collect?
Some additional comments, this is sub-optimal: static NotificationDisplayerImpl getInstance() { NotificationDisplayer nd = Lookup.getDefault().lookup(NotificationDisplayer.class); if( nd instanceof NotificationDisplayerImpl ) return (NotificationDisplayerImpl) nd; return null; } use Lookup.getDefault().lookup(NotificationDisplayerImpl.class). Don't forget to register the @ServiceProvider(service=NotificationDisplayerImpl.class) in addition to current @ServiceProvider(service=NotificationDisplayer.class)
core-main cd861f06eacd
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/cd861f06eacd User: S. Aubrecht <saubrecht@netbeans.org> Log: #203326 - Downloading plugins that require restart, doesn't show the restart icon