java.util.zip
Hi, I'm trying to build the current cvs tree and can't due to dependencies between java.util.jar and java.util.zip. It seems there are some source files still to be checked in for java.util.zip. I can't e-mail the maintainer directly so I thought I'd ask here if anyone knows when the missing files will be added to java.util.zip? The web site says things are nearly complete. TIA, Ian Rogers ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath
Re: Back from vacation/Status (1.4 Throwable and java.util.prefs)
Mark Wielaard [EMAIL PROTECTED] writes: A month ago I almost had 1.4 Throwable chaining and StackTraceElement working with gcj. I will try to finish that in the next week. I haven't worked yet on getting it to work with other VMs. Do we have a list of VMs, what version of Classpath they work with and some build instructions? No, it's TBD before 0.03. The archives have various messages where people indicate this. Some of the VMs are listed on our website. At the moment each tends to distribute their own version of classpath. This should be fixed to make things easier for users. I have a partial implementation of the new 1.4 java.util.prefs package. It is missing event support and a real backend. There is only a memory based backend at the moment. I can export and import the preferences to and from files so it shouldn't be to hard to implement the file based backend. The only problem with the exporting and importing of the preferences nodes is that I did a quick hack to write/read the XML format by hand. Since I don't know XML that well and I do no escaping of CDATA at the moment it breaks as soon as a key or value contains a , or character. I must look at the JAXP implementation of the ClasspathX project to see if we can use that. I will checkin what I have at the moment later today. We'll have to make sure we aren't trying to build this if it isn't supposed to work yet. Brian -- Brian Jones [EMAIL PROTECTED] ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath
Re: Weird characters in java/lang/Character.java
Brian Jones wrote: Strangely I don't have this problem and I have been using jikes to compile Classpath for more than a year... I'm using jikes 1.13 straight out of Red Hat 7.1. If you compiled it yourself, maybe you left out iconv or something... the jikes list is more appropriate for that discussion. It might very well be a Jikes problem, or a Debian one... I'm on Debian sid running jikes 1.14 with glibc 2.2.4. I will try again with jikes 1.13, rebuilt from sources. It effectively is not a Classpath problem. Thanks, Etienne -- Etienne M. Gagnon [EMAIL PROTECTED] SableVM: http://www.sablevm.org/ SableCC: http://www.sablecc.org/ ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath
Re: java.util.zip
Hi, On Mon, Sep 03, 2001 at 10:34:26AM +, Ian Rogers wrote: I'm trying to build the current cvs tree and can't due to dependencies between java.util.jar and java.util.zip. Sorry, that is my fault. I checked in java/net/URLClassLoader.java which depends on the java.util.jar package which doesn't compile with plain Classpath because of the missing java.util.zip files. The attached patch to lib/standard.omit fixes the problem. I will commit it in little while. The reason that I didn't see the problem is because I configure classpath with: ./configure --with-jikes --with-japhar --with-javah=/usr/local/gcc-3.0/bin/gcjh --with-classlib=/usr/local/gcc-3.0/share/libgcj.jar And libgcj does contain all the java.util.zip files. It seems there are some source files still to be checked in for java.util.zip. I can't e-mail the maintainer directly so I thought I'd ask here if anyone knows when the missing files will be added to java.util.zip? The web site says things are nearly complete. The website is a bit out of date, but we were hoping to import jazzlib http://jazzlib.sourceforge.net/. I don't know if that is actually going to happen. Cheers, Mark -- Stuff to read: http://www.toad.com/gnu/whatswrong.html What's Wrong with Copy Protection, by John Gilmore Index: lib/standard.omit === RCS file: /cvs/classpath/lib/standard.omit,v retrieving revision 1.25 diff -u -u -r1.25 standard.omit --- lib/standard.omit 2001/06/25 04:43:56 1.25 +++ lib/standard.omit 2001/09/03 20:19:24 @@ -1,5 +1,6 @@ ../java/net/Authenticator.java$ ../java/net/JarURLConnection.java$ +../java/net/URLClassLoader.java$ ../java/lang/RuntimePermission.java$ ../java/text/MessageFormat.java$ ../gnu/test/.*$
Re: java.util.zip
Ian == Ian Rogers [EMAIL PROTECTED] writes: Ian I'm trying to build the current cvs tree and can't due to Ian dependencies between java.util.jar and java.util.zip. It seems Ian there are some source files still to be checked in for Ian java.util.zip. I can't e-mail the maintainer directly so I Ian thought I'd ask here if anyone knows when the missing files will Ian be added to java.util.zip? The web site says things are nearly Ian complete. I don't know the precise status of java.util.zip. There is a zip implementation in libgcj you could use. It relies on native code, though. Someone rewrote this code to use JNI a while back but I don't know what happened with that. Another choice is `jazzlib', which is a pure Java zlib implementation. I don't know the status of this either. Either way, some work is required. Lately I've been doing a fair amount of merge work, but java.util.zip is pretty low on my list (currently I'm working on java.text, but io, lang, security, and net are all ahead of zip). Tom ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath
Re: Back from vacation/Status (1.4 Throwable and java.util.prefs)
Hi, On Mon, Sep 03, 2001 at 01:57:48PM -0400, Brian Jones wrote: Mark Wielaard [EMAIL PROTECTED] writes: Do we have a list of VMs, what version of Classpath they work with and some build instructions? No, it's TBD before 0.03. The archives have various messages where people indicate this. Some of the VMs are listed on our website. At the moment each tends to distribute their own version of classpath. This should be fixed to make things easier for users. OK. I will go through the archive and try to make a list. Do you have a list of tasks to be done for 0.0.3? At the moment I am working on new classes and functionality (Throwable chaining and prefs) but if we are working towards a new release that might not be the most productive. What can I do for the release? I have a partial implementation of the new 1.4 java.util.prefs package. It is missing event support and a real backend. There is only a memory based backend at the moment. I can export and import the preferences to and from files so it shouldn't be to hard to implement the file based backend. The only problem with the exporting and importing of the preferences nodes is that I did a quick hack to write/read the XML format by hand. Since I don't know XML that well and I do no escaping of CDATA at the moment it breaks as soon as a key or value contains a , or character. I must look at the JAXP implementation of the ClasspathX project to see if we can use that. I will checkin what I have at the moment later today. We'll have to make sure we aren't trying to build this if it isn't supposed to work yet. OK. I will add the classes to the standard.omit list. Is that enough? I do want to enable them as soon as I have implemented the event support. Even though the current backend is only memory based and importing and exporting only works if the keys/values don't contain 'strange' characters, it does work correctly otherwise. Cheers, Mark -- Stuff to read: http://www.toad.com/gnu/whatswrong.html What's Wrong with Copy Protection, by John Gilmore ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath
Re: java.util.zip
On Mon, Sep 03, 2001 at 02:45:41PM -0600, Tom Tromey wrote: Another choice is `jazzlib', which is a pure Java zlib implementation. I don't know the status of this either. I've checked the jazzlib web site. In the CVS repository, all source files bear the FSF copyright, and are licensed under the GPL+Classpath exception. I see no reason why this code could't be checked-in Classpath's CVS repository. Jazzlib has the advantage of being written in pure Java. I do not have CVS access. Maybe somebody who has could do it, or tell us why it can't be done (missing paper work, etc.)? Any volunteer? :) Etienne -- Etienne M. Gagnon [EMAIL PROTECTED] SableVM: http://www.sablevm.org/ SableCC: http://www.sablecc.org/ ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath
Re: Back from vacation/Status (1.4 Throwable and java.util.prefs)
Mark Wielaard [EMAIL PROTECTED] writes: [...] The only problem with the exporting and importing of the preferences nodes is that I did a quick hack to write/read the XML format by hand. Since I don't know XML that well and I do no escaping of CDATA at the moment it breaks as soon as a key or value contains a , or character. I must look at the JAXP implementation of the ClasspathX project to see if we can use that. I will checkin what I have at the moment later today. I ran into the same problem while implementing XMLWriter from java.util.logging. I found a small class called XMLWriter.java, written by James Clark in his XP library, which did the trick. It's under an XFree86-style license; but this would need to be assigned to the FSF for inclusion into Classpath, right? URL:http://www.jclark.com/xml/xp/index.html BTW, java.util.logging also needs the new StackTraceElement stuff, so I'm glad you're working on that. ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath
Re: Back from vacation/Status (1.4 Throwable and java.util.prefs)
Colin Walters [EMAIL PROTECTED] writes: I ran into the same problem while implementing XMLWriter from java.util.logging. I found a small class called XMLWriter.java, written by James Clark in his XP library, which did the trick. It's under an XFree86-style license; but this would need to be assigned to the FSF for inclusion into Classpath, right? URL:http://www.jclark.com/xml/xp/index.html I believe you could use this or Xerces, http://xml.apache.org/, but that neither needs to be included into Classpath. Brian -- Brian Jones [EMAIL PROTECTED] ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath
Re: java.util.zip
Etienne M. Gagnon [EMAIL PROTECTED] writes: On Mon, Sep 03, 2001 at 02:45:41PM -0600, Tom Tromey wrote: Another choice is `jazzlib', which is a pure Java zlib implementation. I don't know the status of this either. I've checked the jazzlib web site. In the CVS repository, all source files bear the FSF copyright, and are licensed under the GPL+Classpath exception. John Leuner and Jochen Hoenicke should be able to do this when they are ready. -- Brian Jones [EMAIL PROTECTED] ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath
Re: Weird characters in java/lang/Character.java
I'm the release manager for the upcoming jikes 1.15 release, currently targetted for Sept 26. Is there an actual bug with jikes' interpretation of encodings? If so, it might be a wise idea to move this discussion over to the jikes mailing lists, to see if we can repair it in time for the next release. Unfortunately, I'm not the expert on encodings. As pointed out earlier, the most portable solution would be using \u characters instead of 8-bit ascii characters in the source .java files of Classpath, as then jikes does not have to pull any encoding tricks. Etienne M. Gagnon wrote: On Mon, Sep 03, 2001 at 03:45:13PM -0400, Etienne M. Gagnon wrote: Brian Jones wrote: ... I'm using jikes 1.13 straight out of Red Hat 7.1. I'm on Debian sid running jikes 1.14 with glibc 2.2.4. I will try again with jikes 1.13, rebuilt from sources. ... In case anybody is interested, I got Jikes 1.13, compiled it, then used it to recompile Classpath/Sablepath, and it effectively works now. So, beware of Jikes 1.14 if you're on Debian :) Etienne -- -- This signature intentionally left boring. Eric Blake [EMAIL PROTECTED] BYU student, free software programmer ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath