From: Andreas W. <and...@gm...> - 2004-05-11 11:56:24
|
Hi Manuel, there is a Eclipse-JDT Preview for JDK 1.5. See http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/jdt-core-home/r3.0/main.html#updates - Andreas > Hi all! > > I am beginning to work with the j2sdk 1.5 and I 've found only two small > issues: > > 1. In classes OSGiSelectionPolicy, Oscar and ModuleClassLoader, there is > a call to the constructor of java.security.CodeSource. However, the > second argument(the Certificate[]) is null. The problem with 1.5 is that > it defines a new constructor of two params. Therefore the constructor > call is ambiguous. I have fixed it by just casting the null to a > Certificate[] before passing the argument. > > 2. This is not an OSCAR issue, but an Eclipse one. For those who do not > work with eclipse, don't worry :) The thing is that there is a problem > with eclipse's compiler (not adapted to the 1.5 jvm yet) which causes it > to think that the java.lang.StringBuffer.append(char c) should throw an > IOException, which is not true. This affects to two OSGi spec's classes > (ServicePermission and PackagePermission). It also affects to some oscar > classes: I remem ber Parser class in ldap package to be affected. I do > not know if some other class is affected, but I suppose that some > bundles might have the same problem. > > > > Regards, > > Manuel > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Sleepycat Software > Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to > deliver > higher performing products faster, at low TCO. > http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 > _______________________________________________ > oscar-osgi-devel mailing list > osc...@li... > https://lists.sourceforge.net/lists/listinfo/oscar-osgi-devel > |