Re: Barracuda still doesn't compile on JDK 1.3.1
"Diez B. Roggisch" <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.barracuda.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, Christian Cryder wrote: > Ok, I want to hear from Shawn if the code here can easily be modified to > support both 1.3 and 1.4; my guess is that it probably can. > > This raises a bigger issue however - what do we do in cases where its > not possible to support both, or where we want to take advantage of > something that's available in a higher version but is not in earlier > ones. This will increasingly become an issue as we want to take > advantage of Servlet 2.3 functionality (I believe JDK 1.3 only supports > Servlet 1.2). > > I know that there are folks who have complained about Java's lack of > if-defs (like in C), but I'm not totally sure what we can do about > it...does anyone have any suggestions or strategies here? > > The easiest solution is to get everyone onto JDK 1.4 as soon as > possible, but I realize that may be difficult (or impossible). So what > platforms/appservers do not yet have JDK 1.4 support? our up-and-runnig application uses jdk1.3.1, and AFAIK all apps currently under developement are on that release, too. Albeit we currently only use the form validation in these, having class-loading issues or other stuff would be at least annoying. So I personally would prefer to be compatible to 1.3.1. Regarding the servlet 2.3 compatibility: where exactly does that come into play? AFAIK the servlet api is to be implemented by the app server provider, and hasn't to do with the jdk itself (as long as the api doesn't rely on special classes in 1.4, but I can't imagine any). Diez