mbien opened a new pull request, #5658:
URL: https://github.com/apache/netbeans/pull/5658

   fix php folding test on JDK 11+ by opening the document in advance.
       
   FoldingScanner#folds calls source.getDocument(false) and receives non
   null values on JDK 8. On JDK 11+ however the document is null, which
   leads to test failures in FoldingTest#testPHPTags it is not known why
   this happens but this fixes it by making sure the document is open
   before folds are computed
   
   note: this was likely a race condition since the php job was observed to be 
green on linux if restarted often enough 
(https://github.com/apache/netbeans/issues/4904#issuecomment-1383155575).
   
   
   lets see if something else fails
   
   meta issue: #4904


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