Re: JDO API compability with JDK 1.3 (issue)

2005-07-26 Thread Craig Russell
Hi Erik,Thanks. The protocol is that the person who filed the JIRA issue (this is you) should mark it RESOLVED once they have verified that the patch has been checked in and it solves the issue.Thanks,CraigOn Jul 26, 2005, at 12:51 PM, [EMAIL PROTECTED] wrote:Hi Craig,Your last patch solved the issue. Let me know if I have to change the issuestatusRegards,Erik Bengtson  Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PROTECTED] P.S. A good JDO? O, Gasp!  

smime.p7s
Description: S/MIME cryptographic signature


Re: JDO API compability with JDK 1.3

2005-07-21 Thread Daniel John Debrunner
 From: Michael Bouschen [EMAIL PROTECTED]

 I have a question what kind of JDK 1.3 compatibility do we want to
 support? 

I see that JDO plans to support JDK 1.3 from the wiki, but I was
wondering why? Given the end of service dates for the various 1.3 VMs I
was thinking that Derby 10.1 could be the last release to support 1.3.

However if there's a good reason, and JDO would be one, Derby would not
remove 1.3 support, but I am curious what lead JDO to this decision.

Dan.




Re: JDO API compability with JDK 1.3

2005-07-21 Thread Craig Russell
Hi Dan,On Jul 21, 2005, at 2:18 AM, Daniel John Debrunner wrote:From: Michael Bouschen [EMAIL PROTECTED]  I have a question what kind of JDK 1.3 compatibility do we want tosupport?  I see that JDO plans to support JDK 1.3 from the wiki, but I waswondering why? Given the end of service dates for the various 1.3 VMs Iwas thinking that Derby 10.1 could be the last release to support 1.3.For the same reason, JDO 2 will probably be the last JDO version to support 1.3. We expect to wrap up JDO 2 in the next couple of months and then it won't be an issue going forward.However if there's a good reason, and JDO would be one, Derby would notremove 1.3 support, but I am curious what lead JDO to this decision.If you remove 1.3 support for releases beyond 10.1, then all that means is that to run with 1.3, you would need 10.1 of Derby and 2.0 of JDO. No problem.CraigDan.  Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PROTECTED] P.S. A good JDO? O, Gasp!  

smime.p7s
Description: S/MIME cryptographic signature


Re: JDO API compability with JDK 1.3

2005-07-20 Thread Michael Bouschen

Hi Craig,

this looks good.

I have a question what kind of JDK 1.3 compatibility do we want to 
support? Your change allows to run an application against a api20.jar 
using JDK 1.3. But we still require JDK 1.4 to build the api20.jar, 
meaning to compile the javax.jdo sources. I think this is not an issue, 
but we need to describe this in the README.txt.


Regards Michael


Hi Erik,

Can you please try this patch?

Thanks,

Craig





On Jul 19, 2005, at 2:27 PM, [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:




The JDO API Head version is not JDK 1.3 compatible.

Checkout the below exception. I'm not sure if I should file JIRA issues.

java.lang.NoClassDefFoundError: java.util.Currency
at javax.jdo.spi.JDOImplHelper.class$(JDOImplHelper.java:552)
at javax.jdo.spi.JDOImplHelper.clinit(JDOImplHelper.java:552)
at javax.jdo.identity.ObjectIdentity$1.run(ObjectIdentity.java:49)
at java.security.AccessController.doPrivileged(Native Method)
at javax.jdo.identity.ObjectIdentity.clinit(ObjectIdentity.java:45)
at java.lang.Class.forName1(Native Method)
at java.lang.Class.forName(Class.java:142)
at org.jpox.metadata.MetaDataManager.class$(MetaDataManager.java:1026)
at
org.jpox.metadata.MetaDataManager.isClassWithoutMetaData(MetaDataManager.java:1021)
at
org.jpox.metadata.MetaDataManager.getMetaDataForClassOrInterface(MetaDataManager.java:361)
at
org.jpox.metadata.MetaDataManager.getMetaDataForClass(MetaDataManager.java:324)
at org.jpox.metadata.ClassMetaData.populate(ClassMetaData.java:420)
at
org.jpox.metadata.MetaDataManager.populateClassesInFile(MetaDataManager.java:635)
at
org.jpox.enhancer.conf.JDOConfigManager.parseAndRegisterFile(JDOConfigManager.java:60)
at org.jpox.enhancer.GeneratorBase.readJDOConfig(GeneratorBase.java:1307)
at org.jpox.enhancer.JPOXEnhancer.main(JPOXEnhancer.java:249)
Exception in thread main



Craig Russell

Architect, Sun Java Enterprise System http://java.sun.com/products/jdo

408 276-5638 mailto:[EMAIL PROTECTED]

P.S. A good JDO? O, Gasp!





--
Michael Bouschen[EMAIL PROTECTED] Engineering GmbH
mailto:[EMAIL PROTECTED]http://www.tech.spree.de/
Tel.:++49/30/235 520-33 Buelowstr. 66   
Fax.:++49/30/2175 2012  D-10783 Berlin  


Re: JDO API compability with JDK 1.3

2005-07-20 Thread Andy Jefferson
 You are right. We have to mention java.util.Currency in order to
 support it, and those classes we need to compile under 1.4.
 I'd like to get feedback from others on this as well.

Craig,

That's what we're doing with JPOX. I can't see a better way

-- 
Andy


Re: JDO API compability with JDK 1.3

2005-07-19 Thread Craig Russell
Hi Erik,Yes, please file a JIRA issue. Thanks,CraigOn Jul 19, 2005, at 2:27 PM, [EMAIL PROTECTED] wrote:The JDO API Head version is not JDK 1.3 compatible.Checkout the below exception. I'm not sure if I should file JIRA issues.java.lang.NoClassDefFoundError: java.util.Currencyat javax.jdo.spi.JDOImplHelper.class$(JDOImplHelper.java:552)at javax.jdo.spi.JDOImplHelper.clinit(JDOImplHelper.java:552)at javax.jdo.identity.ObjectIdentity$1.run(ObjectIdentity.java:49)at java.security.AccessController.doPrivileged(Native Method)at javax.jdo.identity.ObjectIdentity.clinit(ObjectIdentity.java:45)at java.lang.Class.forName1(Native Method)at java.lang.Class.forName(Class.java:142)at org.jpox.metadata.MetaDataManager.class$(MetaDataManager.java:1026)atorg.jpox.metadata.MetaDataManager.isClassWithoutMetaData(MetaDataManager.java:1021)atorg.jpox.metadata.MetaDataManager.getMetaDataForClassOrInterface(MetaDataManager.java:361)atorg.jpox.metadata.MetaDataManager.getMetaDataForClass(MetaDataManager.java:324)at org.jpox.metadata.ClassMetaData.populate(ClassMetaData.java:420)atorg.jpox.metadata.MetaDataManager.populateClassesInFile(MetaDataManager.java:635)atorg.jpox.enhancer.conf.JDOConfigManager.parseAndRegisterFile(JDOConfigManager.java:60)at org.jpox.enhancer.GeneratorBase.readJDOConfig(GeneratorBase.java:1307)at org.jpox.enhancer.JPOXEnhancer.main(JPOXEnhancer.java:249)Exception in thread "main"  Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PROTECTED] P.S. A good JDO? O, Gasp!  

smime.p7s
Description: S/MIME cryptographic signature


Re: JDO API compability with JDK 1.3

2005-07-19 Thread Craig Russell
Hi Erik,Can you please try this patch?Thanks,Craig

jdoimplhelper.patch
Description: Binary data
On Jul 19, 2005, at 2:27 PM, [EMAIL PROTECTED] wrote:The JDO API Head version is not JDK 1.3 compatible.Checkout the below exception. I'm not sure if I should file JIRA issues.java.lang.NoClassDefFoundError: java.util.Currencyat javax.jdo.spi.JDOImplHelper.class$(JDOImplHelper.java:552)at javax.jdo.spi.JDOImplHelper.clinit(JDOImplHelper.java:552)at javax.jdo.identity.ObjectIdentity$1.run(ObjectIdentity.java:49)at java.security.AccessController.doPrivileged(Native Method)at javax.jdo.identity.ObjectIdentity.clinit(ObjectIdentity.java:45)at java.lang.Class.forName1(Native Method)at java.lang.Class.forName(Class.java:142)at org.jpox.metadata.MetaDataManager.class$(MetaDataManager.java:1026)atorg.jpox.metadata.MetaDataManager.isClassWithoutMetaData(MetaDataManager.java:1021)atorg.jpox.metadata.MetaDataManager.getMetaDataForClassOrInterface(MetaDataManager.java:361)atorg.jpox.metadata.MetaDataManager.getMetaDataForClass(MetaDataManager.java:324)at org.jpox.metadata.ClassMetaData.populate(ClassMetaData.java:420)atorg.jpox.metadata.MetaDataManager.populateClassesInFile(MetaDataManager.java:635)atorg.jpox.enhancer.conf.JDOConfigManager.parseAndRegisterFile(JDOConfigManager.java:60)at org.jpox.enhancer.GeneratorBase.readJDOConfig(GeneratorBase.java:1307)at org.jpox.enhancer.JPOXEnhancer.main(JPOXEnhancer.java:249)Exception in thread "main"  Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PROTECTED] P.S. A good JDO? O, Gasp!  

smime.p7s
Description: S/MIME cryptographic signature