On Wed, 18 Mar 2026 15:24:51 GMT, Andy Goryachev <[email protected]> wrote:
>> For generated sources, you may be able to configure something or transform
>> something to just add a `@SurpressWarnings("all")` on the generated class.
>> This is how I usually deal with generated stuff where warnings don't matter.
>
> this is a good solution!
>
> then again, someone checks in code with unused imports and the process
> restarts. I think it's better just ignore these, like we do with the order
> of imports...
I think we shouldn't make things worse than they already are. Thats why I keep
an eye on them. We could also start surpressing them for generated sources,
fixing the remaining and start using checks for the imports. This is what I
usually do for all projects and that works very well.
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/2031#discussion_r2955599940