cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@sundn.de>
Subject AW: [C2]: Jdk 1.2 or jdk1.3 ?
Date Fri, 13 Jul 2001 06:47:10 GMT
> Donald Ball wrote:
>
> On Fri, 13 Jul 2001, Carsten Ziegeler wrote:
>
> > there current version of c2 is not compilable with the jdk1.2,
> > because of some reference to new methods of the java.net.URL
> > class which are introduced in jdk 1.3.
> > These are in the URLSource: getUserInfo() and in the
> > URLFactoryImpl: getPath().
> >
> > So, now we face the question: which jdk is required for 1.3?
> >
> > We could remove the getUserInfo() class in the URLSource.
> > This was only an additional feature for getting authenticated
> > http urls working, but I am not sure about the getPath() call.
> >
> > I vote for using jdk 1.3.
>
> can't we put a try block around references to stuff only available in
> jdk-1.3 so that jdk-1.2 people can just ignore those bits of code? is this
> stuff used in a core method or are they just data access methods provided
> for the user?
>
The method calls are currently in the core as the URLSource and the
URLFactoryImpl are core classes. But the URLSource is mostly harmless
as it is only an additional feature. We could use there a try block.

But our experience showed that if you compile c2 with the jdk 1.3 (which
then is required) it does not always work with the jdk 1.2. I don't remember
the details.

Carsten

> - donald
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message