On Thu, 27 May 2021 13:32:36 GMT, Erik Joelsson <er...@openjdk.org> wrote:
>> Yes, there are a few things, but in the build itself, we are down to a >> single config file today, so I would really appreciate if this could be >> figured out. I can provide the implementation for generating this, but I >> need to understand what the expected pattern is. From what I can see, it >> looks like $(sequence N, M) where N is the last LTS+1 and M is current JDK >> version. Then the string has "JDK N" in it. M is already well defined, so >> the only new input here is N, which we could move to the version numbers >> config file (make/conf/version-numbers.conf). Something like >> DEFAULT_VERSION_DOCS_API_SINCE=11. There is some additional boilerplate >> needed, and the sequence macro of course, but does this sound reasonable to >> you? > > We actually have a sequence macro already, so generating the list can be done > like this: > > $(call CommaList,$(call sequence 12, 17)) > > Or if what you have is 11 and 17: > > $(call CommaList, $(filter-out 11, $(call sequence 11, 17))) Thanks for the help and for providing all the pieces, Erik! I just added a new commit and I think I got everything working. ------------- PR: https://git.openjdk.java.net/jdk/pull/4209