You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "mbien (via GitHub)" <gi...@apache.org> on 2025/10/21 07:12:39 UTC

[PR] More defensive guards against invalid code points in ant Preferences [netbeans]

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

   followup on https://github.com/apache/netbeans/pull/6094
   
   Once `Preferences` is loaded containing `U+0000` in a key, it can't be used anymore since even removing that key (e.g via clear()) will throw IAE.
   
   What we can do however is to remove and recreate the Preferences node.
   
   closes #8941
   
   targets delivery


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: [PR] More defensive guards against invalid code points in ant Preferences [netbeans]

Posted by "ebarboni (via GitHub)" <gi...@apache.org>.
ebarboni merged PR #8943:
URL: https://github.com/apache/netbeans/pull/8943


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: [PR] More defensive guards against invalid code points in ant Preferences [netbeans]

Posted by "mbien (via GitHub)" <gi...@apache.org>.
mbien commented on PR #8943:
URL: https://github.com/apache/netbeans/pull/8943#issuecomment-3427841690

   agreed. At least `clear()` should be implemented in a way so that it can reliably clear preferences.


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists