RFR: 8342869: Errors related to unused code on Windows after 8339120 in awt
Julian Waters
jwaters at openjdk.org
Thu Dec 12 05:41:41 UTC 2024
On Wed, 11 Dec 2024 20:55:41 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:
>> @magicus Sorry for the ping, but I'm a bit confused. Do you know what bug report site Phil is referring to when he says to submit a bug to AWT instead? Is it just the JBS? (There's a little bit of a problem if it is, it is extremely inconvenient to review what to do with the problem areas in the JBS as opposed to a Pull Request, that and no one actually checks the JBS for new issues, so a bug submitted there is doomed to be ignored until the end of time)
>
> You need to split this up into multiple parts. One part is about removing dead code. Do not comment it out, just remove it. Open a new JBS issue on client-libs for removal of dead code. This should be trivial to get pushed.
>
> Then, you have some other changes. Looks like you moved something from a header file to a cpp file. Make that a separate PR, also on client-libs.
>
> Then you are making some annotation stuff. I have not seen these before. Are they established? This might need some more discussion to get a consensus on how to proceed with.
>
> And finally you are bumping the C++ language level. You have already opened a separate JBS issue for that, and we've said that we do that when we do that. So just drop that part.
The dead code removal may not be correct, same goes for the rest of the changes. Most, if not all of them (Especially the C++17 change) are pure placeholders to simply draw attention to the problem sites. I think all of them need discussion on how to proceed with (Same with the corresponding jdk.accessibility changes), not just the annotations. Speaking of which, the annotations are C++ attributes, introduced in C++11, and are (fortunately) Standard and not compiler extensions. Splitting this up to even smaller changes may or may not inconvenience the few reviewers that AWT and A11Y has, which is what I'm worried about
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/21655#discussion_r1881409701
More information about the build-dev
mailing list