jakartaee / persistence

https://jakartaee.github.io/persistence/
Other
196 stars 58 forks source link

#264: avoid transitive dependency on java.instrument - v2 #339

Closed lukasj closed 2 years ago

lukasj commented 2 years ago

Simplified change for #264

wrt change in the exception: this uses the new TransformerException which extends PersistenceException as I think that is the best approach. The generic Exception or Throwable can be used as well for better compatibility, or existing PersistenceException to just reuse what is available without the need of introducing new class. Which solution do you prefer? Thx!