RFR: 8344333: Spurious System.err.flush() in LWCToolkit.java
Phil Race
prr at openjdk.org
Tue Aug 26 05:11:39 UTC 2025
On Mon, 25 Aug 2025 21:06:42 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:
> I was under impression that this was used to flush any errors printed before initialization of toolkit, so it will not be conflicting with possible error logs printed by the appkit thread.
I suppose you infer that rather than someone (from Apple?) told you ?
Either way, if that was the plan, it was a bad plan.
We don't put flush() statements at random places in production code for the benefit of a theoretical error log.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/26931#issuecomment-3222640469
More information about the client-libs-dev
mailing list