On Thu, 27 Apr 2023 20:34:44 GMT, Maurizio Cimadamore <mcimadam...@openjdk.org> 
wrote:

>> The source file name is not available until after parsing.
>
> I see that logic in JavaCompiler - I wonder if that's just the way it is, or 
> if there's a deeper reason as to why the sourcefile is set on the toplevel 
> unit *after* parsing (I don't think I can see any, in which case that might 
> be changed if that makes the rest of the code simpler). @lahodaj what do you 
> think?

I believe we were discussing this some time ago, and there were some problems. 
I don't recall the exact details, but I'll try to look into this later.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13689#discussion_r1180377062

Reply via email to