Permit failure to delete files on Windows, and close finished logs#10273
Permit failure to delete files on Windows, and close finished logs#10273niloc132 merged 1 commit intogwtproject:mainfrom
Conversation
|
Patch is best reviewed with "hide whitespace" https://github.com/gwtproject/gwt/pull/10273/changes?w=1 |
|
@keinhaar are you able to build and validate this works for you before we merge? Whatever it is about your machine/env, you're the only Windows user so far to test and see this issue. Prebuilt SDK is available through the action results, see the links at the bottom of https://github.com/gwtproject/gwt/actions/runs/21780568450?pr=10273 |
|
I tried the prebuild version gwt-java17.zip. |
|
Since we're just about done with the 2.13.0 release process and still only the one report of this, my opinion is that we should just going to finish that and then kick off another one immediately, with this fix and any other bugs found in the wild. I'll make sure release notes mention and link here to avoid surprises by teams that run windows. |
…wtproject#10273) Audited all other usages of `PrintWriterTreeLogger`, and found this was only one of two usages that writes to a file rather than System.out/err or a StringWriter. The other usage writes to a file in the old devmode flag `-logdir`, which is optional, and expected not to be within another directory that the compiler needs to clean. Fixes gwtproject#10272
…10296) Audited all other usages of `PrintWriterTreeLogger`, and found this was only one of two usages that writes to a file rather than System.out/err or a StringWriter. The other usage writes to a file in the old devmode flag `-logdir`, which is optional, and expected not to be within another directory that the compiler needs to clean. Fixes #10272 Backport #10273
Audited all other usages of
PrintWriterTreeLogger, and found this was only one of two usages that writes to a file rather than System.out/err or a StringWriter. The other usage writes to a file in the old devmode flag-logdir, which is optional, and expected not to be within another directory that the compiler needs to clean.Fixes #10272