JaroslavTulach commented on pull request #3715:
URL: https://github.com/apache/netbeans/pull/3715#issuecomment-1077427416


   Thank you Jan. Yes, that's what you had already written. My reply was: the 
current behavior is buggy and this PR makes it more acceptable. Moreover it 
affects just the editor, not debugger or other subsystems which might be 
affected by the _complex fix_.
   
   Moreover nobody (except you) knows what the _complex fix_ is supposed to 
look like! Rather than waiting for someone to come up with the proper, complex 
fix (I am not going to create one as nobody is going to pay me for that), I'd 
like to fix the current buggy behavior caused by unnecessary downgrading of 
source levels.
   
   My change is minimal and can certainly be reverted once somebody sponsors 
the proper fix. I can add a test (source level 15, using text blocks to compile 
on all JDKs without errors) to make my change more acceptable. Such a test 
would also keep the desired behavior in the case of complete rewrite of the 
code. Any advice what test to copy (so I don't have to invent it from a 
scratch)? 


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