Withdrawn: 8292016: Cleanup legacy error reporting in the JDK outside of HotSpot
Julian Waters
jwaters at openjdk.org
Mon Oct 10 12:05:59 UTC 2022
On Sun, 14 Aug 2022 16:21:31 GMT, Julian Waters <jwaters at openjdk.org> wrote:
> A large section of error reporting code in the JDK does not properly handle WIN32 API errors and instead mixes them with errors originating from C. Since they can be rather easily replaced and coming up with an elegant solution proved to be too much of a hassle to be worth it, and some of the concerns they address no longer are an issue with current versions of the platforms supported by the JDK, they can be easily removed without much effect. The remaining utilities that are still needed now instead report directly from strerror, with a new subsystem for WIN32 errors put in place wherever required, to minimize confusion when they are used, which was a problem with earlier solutions to this issue.
This pull request has been closed without being integrated.
-------------
PR: https://git.openjdk.org/jdk/pull/9870
More information about the core-libs-dev
mailing list