mbien commented on PR #4864:
URL: https://github.com/apache/netbeans/pull/4864#issuecomment-3340244934

   revisited this old PR now that we have enough infrastructure to be able to 
use `javac.release=11`.. and as soon the release flag is set it does also fail 
in the build:
   ```
   
/home/mbien/NetBeansProjects/netbeans/platform/api.search/src/org/netbeans/modules/search/SearchTask.java:86:
 error: reference to writeAccess is ambiguous
               Mutex.EVENT.writeAccess(resultViewPanel::requestFocusInWindow);
     both method <T>writeAccess(ExceptionAction<T>) in Mutex and method 
writeAccess(Runnable) in Mutex match
     where T is a type-variable:
       T extends Object declared in method <T>writeAccess(ExceptionAction<T>)
   ```
   this would make the behavior at least consistent between embedded javac use 
and CLI javac use - which was my main worry tbh. (cc @lahodaj )
   
   Will refresh this PR and bump the module to release 11 which would make this 
essentially PR part of https://github.com/apache/netbeans/issues/8813


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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