classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: JDK 1.5 support?


From: Michael Koch
Subject: Re: JDK 1.5 support?
Date: Wed, 30 Jun 2004 08:41:45 +0200
User-agent: KMail/1.6.2

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Mittwoch, 30. Juni 2004 08:31 schrieb Roman Kennke:
> > Are there any thoughts on when the first jdk 1.5 support will be
> > implemented?
> >
> > Especially classes like java.lang.StringBuilder & java.lang.Enum
> > would be greatly appreciated, because that would allow us to
> > compile using sun's jdk 1.5 compiler.

Currently only SUNs javac fully supports generics. But we see no 
reason to make GNU classpath depending on this closed source thingie.
When Free Java Compilers are supporting Generics we will switch GNU 
classpath to officially use/support it.

> java.lang.Enum would need Templates support (or whatever it is
> called here in java). I don't know the impact of this on the
> internals of classpath, but I think this will need some bigger
> changes to compilers/VMs/class-library.

We thought about doing it on a separate CVS branch of classpath. This 
way we can stay with our working implementation for non-Generics java 
compilers.

> java.lang.StringBuilder seems to be similar to
> java.lang.StringBuffer. I think this should be pretty easy to
> implement.

StringBuilder and StringBuffer are a bit different semantics wise.
There is a class in GCJ which has the java.lang.StringBuilder 
semantics. Perhaps we can reuse it.


Michael
- -- 
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA4mCsWSOgCCdjSDsRAq6zAJ94wHxN5P8uX29S9ekL/7S+vQbiGQCfc1sR
w0NNBxB4sJoVNka6Uc5CcKo=
=+grv
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]