I'am using OJB with java 5, and haven't noticed any issues with it, because of runtime type erasure i guess. Except for the xdoclet module that was patched i think to be able to parse Java 5 classes.

Jean-Yves

Thomas Dudziak wrote:

On 8/7/05, Tino Schöllhorn <[EMAIL PROTECTED]> wrote:

we are currently thinking of moving from JDK1.4.2 to Java 5.0.x. The
most interesting part of new Java Editition is the use of Generics which
will lead to a much better understandable code-base. I have a few
questions, which might be answered by someone of the OJB community:

- Are there any known issues of using OJB 1.0.x with Java 5.0?
- If so, will OJB 1.1 work with Java 5.0?
- Does anyone use Java 5.0 in a production system?

AFAIK it does. In one of our projects we use Java5 as the development
JDK (though the deployment platform is JDK 1.4.2), and it works
without problems.
I think that even generics work as they are compiled to normal
generic-less bytecode anyway. I haven't tried them though.
The only other Java5 feature that is relevant to OJB - enums - does
not work yet. It might be easy but nobody has found the time to
investigate yet.

Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to