Issues with modifying JCTree classes

Jonathan Gibbons jonathan.gibbons at oracle.com
Mon Apr 22 17:14:42 UTC 2024


In general, any code in the `jdk.compiler` module must be compilable by 
the "previous" release, meaning the latest available GA release.  This 
is a fundamental requirement of the bootstrap process for building JDK.

-- Jon

On 4/21/24 12:13 PM, ІП-24 Олександр Ротань wrote:
> Greetings to a community. Not sure if that's the right place to ask 
> this question, but the internet doesn't seem to have an answer to my 
> question.
>
> I am having issues with modifying JCTree subclasses structure, That 
> involves introducing new members or changing signatures of existing. 
> While there aren't any syntax errors in code, make refuses to compile 
> the project indicating that it can't find a symbol.
>
> In fact, I also have encountered the same issue when trying to modify 
> the constructor of Symbol subclasses.
>
> If that's important, I am building using x86-64 windows jdk 22 and 
> using default make target. If code is relevant, I could also provide a 
> link to the repository.


More information about the compiler-dev mailing list