That is not a problem. I think the name was to differentiate this class from a similar class that ran using JDK 1.4, and thus implies that at least JDK 5 is required for the class you mentioned.
I see, however - there is a class called
...and i'm wondering why it doesn't use it.
Which version of JBoss AS are you using, and which binary did you download? I checked 4.2.3 and 5.0.0 and found this:
4.2.3, jdk5 variant contains org/jboss/resource/adapter/jdbc/jdk5/WrappedConnectionJDK5.class
4.2.3, jdk6 variant contains org/jboss/resource/adapter/jdbc/jdk6/WrappedConnectionJDK6.class
5.0.0, jdk 5 variant contains org/jboss/resource/adapter/jdbc/jdk5/WrappedConnectionJDK5.class
5.0.0, jdk 6 variant contains org/jboss/resource/adapter/jdbc/jdk6/WrappedConnectionJDK6.class
It would appear to me that you get the jdk5 or jdk 6 class depending on which variant of the binary you download.