On Thu, 30 Apr 2026 10:29:18 GMT, Kevin Walls <[email protected]> wrote:
> JConsole needs to disable HTML rendering in components populated by MBeans, > as is standard practice. > > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). This looks like you are blanket setting html.disable everywhere you can think of. Generally speaking, this property is only recommended (or necessary) if you allow some untrusted source to provide the text used in these Swing components. If that is your case, then this is probably OK, or perhaps even wise. But the reason Swing allows HTML is so that it can enhance the appearance of labels, menu items, tooltips etc. If you make actual use of this in your application, then you will be breaking it so people will see literal text like "<b>click here</b>" instead of "click here" rendered as bold. If you don't see it in the UI, or the source, or resource files, then it won't be a problem. But I suggest you check. ------------- PR Comment: https://git.openjdk.org/jdk/pull/30998#issuecomment-4360939475
