Re: [EXT] Re: ClassFile API

2024-01-28 Thread Jochen Theodorou
On 27.01.24 18:58, Remi Forax wrote: [...] The classfile API uses sealed types, once those will be updated either the groovy compiler will need to be updated or a default of a switch will be called. See how the overview of the API uses "default" everywhere. https://cr.openjdk.org/~asotona/JD

Re: [EXT] Re: ClassFile API

2024-01-28 Thread Remi Forax
- Original Message - > From: "Jochen Theodorou" > To: "dev" > Sent: Sunday, January 28, 2024 1:19:24 PM > Subject: Re: [EXT] Re: ClassFile API > On 27.01.24 18:58, Remi Forax wrote: > [...] >> The classfile API uses sealed types, once those will be updated either the >> groovy compiler w

Re: [EXT] Re: ClassFile API

2024-01-28 Thread Jochen Theodorou
On 28.01.24 15:05, Remi Forax wrote: [...] Hello, before i answer to your questions, my remark about sealed types is that the API of the classfile library is based on sealed types and pattern matching. A sealed type is not extensible meaning that if you target a specific version of the classfil