On Thu, 30 May 2024 18:39:19 GMT, Chen Liang <li...@openjdk.org> wrote:

>> Joe Darcy has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   Update symbol files for JDK 23 build 25.
>
> src/jdk.compiler/share/data/symbols/jdk.incubator.foreign-N.sym.txt line 1:
> 
>> 1: #
> 
> Just curious, does CreateSymbols not track module migrations, now that 
> jdk.incubator.foreign is completely merged into java.base?

When writing these symbol files, CreateSymbols does not keep track where a 
given package was in a given version, and puts packages to files based on the 
first version where the package was first introduced. Technically, it should 
not matter, as the assignment of classes/packages to modules is not based on 
the file from which the description of the class was read. So, so far, it 
didn't seem necessary to keep track of package movement for writing of these 
files. But it is feasible to do so, if the need arises. (When writing ct.sym, 
it keeps track of the exact package module for every version, of course.)

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18787#discussion_r1621320340

Reply via email to