Github user emilianbold commented on a diff in the pull request:

    https://github.com/apache/incubator-netbeans/pull/2#discussion_r139596801
  
    --- Diff: o.n.core/src/org/netbeans/core/NbAuthenticator.java ---
    @@ -71,7 +74,19 @@ private NbAuthenticator() {
     
         static void install() {
             if (Boolean.valueOf(NbBundle.getMessage(GuiRunLevel.class, 
"USE_Authentication"))) {
    -            setDefault(new NbAuthenticator());
    --- End diff --
    
    ... then just call 
`setDefault(Lookup.getDefault().lookup(Authenticator.class))` here.
    
    There will always be at least one instance in the lookup and the other 
implementations can jump in front with the `position` attribute.


---

Reply via email to