Just ran into this while attempting to update an application from using javax to jakarta. The Repositories.generator file at a minimum is adding an annotation that does not exist in the jakarta version of the annotations. There also doesn't appear to be a way to disable generating this annotation.
Based on my current understanding I'm pretty sure the jakarta.annotation.concurrent.Immutable annotation does not exist in newer versions of the API. I think the entire jakarta.annotation.concurrent package was removed from the official specification.
At a minimum I would expect the same rules as apply to the @Generated annotation to apply here, but the generator file seems to be missing the logic to make that work.
Just ran into this while attempting to update an application from using javax to jakarta. The Repositories.generator file at a minimum is adding an annotation that does not exist in the jakarta version of the annotations. There also doesn't appear to be a way to disable generating this annotation.
Based on my current understanding I'm pretty sure the
jakarta.annotation.concurrent.Immutableannotation does not exist in newer versions of the API. I think the entirejakarta.annotation.concurrentpackage was removed from the official specification.At a minimum I would expect the same rules as apply to the
@Generatedannotation to apply here, but the generator file seems to be missing the logic to make that work.