#92 Change the way we determine JDK Version

closed
None
5
2007-05-21
2007-05-09
No

Have done some debugging and found the cause of our problem - it's due to our use of the BEA JRockit90_150_04 JRE rather than the Sun JRE.
In the Dozer class net.sf.dozer.util.mapping.config.GlobalSettings the 'isJdk5' boolean is being set on the basis of the "java.vm.version" system property starting with "1.5", but in the case of the JRockit JRE this isn't the case.

Switching to either of "java.specification.version" or "java.version" would appear to fix things? ...

Sun JRE JRockit
java.vm.version : 1.5.0_07-b03 R26.0.0-189_CR269406-59389-1.5.0_04-20060322-1120-win-ia32
java.vm.specification.version : 1.0 1.0
java.specification.version : 1.5 1.5
java.version : 1.5.0_07 1.5.0_04

Discussion

  • Franz Garsombke

    Franz Garsombke - 2007-05-09

    Logged In: YES
    user_id=550744
    Originator: YES

    Fixed on the 3.x branch.

     
  • Franz Garsombke

    Franz Garsombke - 2007-05-09
    • status: open --> pending
     
  • Franz Garsombke

    Franz Garsombke - 2007-05-21
    • status: pending --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks