rewrite RecoveryHelper and RecoveryXAResource in Ceylon
@mmusgrove I can't see any reason why these classes need to be written in Java. It should be easy to port them to Ceylon, don't you think?
So with the help of Paste Java as Ceylon, I did this port quickly. But I ran into a couple of what look like backend bugs. I've pushed the work to a branch so @tombentley and @FroMage can take a look.
@FroMage the message I'm getting is this:
Could not determine type of method or attribute reference: xaResource of XAConnection: Error while loading the java.jdbc/8 module:
Declaration javax.transaction.xa.XAResource could not be found in module java.jdbc or its imported modules but was found in the non-imported module javax.transaction.api
Is this related to the stuff you're already looking at?
Yes that's related: javax.transaction (from JDK) and javax.transaction.api contain the same packages and classes (except the latter is a superset of the former).
@FroMage cool, what I figured.
No, not cool. The opposite of cool in fact.
I have moved the issue to 1.3 because it's a nightmare to fix and may require us to suppose split packages in the compiler.