Gavin King

Results 309 issues of Gavin King

According to the specification, this is still—after 25 years of us knowing better—the usual way to obtain the current `UserTransaction`: ```java try { var userTransaction = (UserTransaction) new InitialContext() .lookup("java:comp/UserTransaction")...

The name of this interface is psychotic. It has nothing to do with users. It's certainly not a transaction involving users. Perhaps in the LSD fever-dream of a bearded Bay...

It's unclear from the spec and Javadoc whether an "exception" specified by `rollbackOn` or `dontRollbackOn` must descend from `Exception`, or whether it may be any sort of `Throwable`. This problem...

OK, while trying to understand the situation with #223, it hit me that somewhere along the way we appear to have lost the capability we used to have with `@javax.ejb.ApplicationException`,...

Java has had `enum` for, well—I don't recall exactly—but all of the current millennium, I guess. Until quite recently, `enum`s weren't especially worth the effort because the Java compiler treated...

Currently there is no cross-platform way to convert a `String` to a UTF8 byte stream or array. I've long thought this was a bit silly, since it's an easy-enough operation...

m-language
t-feature