RFR: 8297444: Refactor the javacserver build tool [v3]

Magnus Ihse Bursie ihse at openjdk.org
Thu Dec 1 23:17:47 UTC 2022


On Thu, 24 Nov 2022 20:36:06 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

>> Now that the javacserver no longer has any ambitions outside being a buildtool customized for the JDK build process, a lot of abstractions and generalizations can be removed.
>> 
>> This will allow the actual behavior to be more clearly visible, and will help debugging the issues we are still seeing (most likely race conditions), and to convert the tool to use the ToolProvider API in the future.
>
> Magnus Ihse Bursie has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Fix typo
>   
>   Co-authored-by: Andrey Turbanov <turbanoff at gmail.com>

I have now tested a variety of different scenarios, with incremental rebuilds with and without modified files, with and without syntax errors, and also with JDK_FILTER. I have also inadvertently found a way to crash javac (!) and verified that the stack trace too propagated just as it should. :-) (I will file a bug for this on javac)

-------------

PR: https://git.openjdk.org/jdk/pull/11298


More information about the compiler-dev mailing list