On Wed, 9 Sep 2026 18:58:21 GMT, ExE Boss <[email protected]> wrote:

> Note that it must remain valid for newer versions to be able to implement 
> additional interfaces, to support the case when those interfaces were 
> introduced in newer JDK versions. (e.g.: `SequencedCollection`)

True. Actually that kinda complicates things. There might be cases where the 
super type in the version class is a subtype of the super type of the base 
version of a class. We should allow that case, but it's currently rejected. 
Same for interfaces, although for interfaces the original super interface could 
be added as well as a workaround.

I'm gonna think about this a bit.

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

PR Comment: https://git.openjdk.org/jdk/pull/32787#issuecomment-5607302724

Reply via email to