Re: [cp-patches] RFC: Path canonicalizer

2006-04-04 Thread Gary Benson
Mark Wielaard wrote: On Wed, 2006-03-29 at 09:54 +0100, Gary Benson wrote: This patch makes Classpath do the right thing on GNU/Posix systems. Cool. But where is the ChangeLog entry!? Erm, future work? :) It does look good to me. But in theory the usage of PATH_MAX might be a problem.

Re: [cp-patches] FYI: Merging reflection stuff from generics branch

2006-04-04 Thread Christian Thalinger
On Tue, 2006-04-04 at 10:53 +0200, Christian Thalinger wrote: On Mon, 2006-04-03 at 21:05 +0100, Andrew John Hughes wrote: * vm/reference/java/lang/VMClass.java: (isAnonymousClass(Class?)): New native method. (isLocalClass(Class?)): New native method.

[cp-patches] FYI: ComponentSampleModel.java reformatted...

2006-04-04 Thread David Gilbert
I reformatted this file as I'm going to work on it a little: 2006-04-04 David Gilbert [EMAIL PROTECTED] * java/awt/image/ComponentSampleModel.java: Reformatted. Regards, Dave Index: java/awt/image/ComponentSampleModel.java

Re: [cp-patches] RFC: Path canonicalizer

2006-04-04 Thread Mark Wielaard
Hi Gary, On Tue, 2006-04-04 at 11:14 +0100, Gary Benson wrote: A lot of big projects (gcc, X, Python) do the following: #ifndef MAXPATHLEN #define MAXPATHLEN 4096 #endif I'm inclined to do the same (if it works for them...) but where should I put it? target_generic_file.h? If

Re: [cp-patches] RFC: Path canonicalizer

2006-04-04 Thread Gary Benson
Mark Wielaard wrote: Do note that with that define you will end up using 3 * 4K for each toCanonicalForm() operation. Will that be a problem do you think? Cheers, Gary

Re: [cp-patches] Patch: FYI: JPEGImageWriteParam

2006-04-04 Thread Thomas Fitzsimmons
On Tue, 2006-04-04 at 09:43 +0200, Wolfgang Baer wrote: Hi, Thomas Fitzsimmons wrote: [...] +public class JPEGImageWriteParam + extends ImageWriteParam +{ + + /** + * Localized messages are stored in separate files. + */ + private static ResourceBundle messages; +

Re: [cp-patches] Patch: ZipFile fix

2006-04-04 Thread Lillian Angel
On Mon, 2006-04-03 at 18:57 -0600, Tom Tromey wrote: Return 'sz' doesn't seem to be correct after the caller has read some bytes. It is only correct the first time. I think you want something like: final Inflater inf = new Inflater(true); return new InflaterInputStream() {

[cp-patches] FYI: ComponentSampleModel constructor updates

2006-04-04 Thread David Gilbert
This patch (committed) fixes a couple of minor issues in the constructors for ComponentSampleModel and SampleModel: - some exceptions that are thrown in the reference implementation were not being thrown by Classpath; - the bandOffsets and bandIndices arrays are copied to internal storage,

Re: [cp-patches] RFC: Path canonicalizer

2006-04-04 Thread Mark Wielaard
On Tue, 2006-04-04 at 12:37 +0100, Gary Benson wrote: Mark Wielaard wrote: Do note that with that define you will end up using 3 * 4K for each toCanonicalForm() operation. Will that be a problem do you think? The current code is wrong and seems to allocate a lot of temporary objects. So

[cp-patches] Patch: FYI: another build fixlet

2006-04-04 Thread Tom Tromey
I'm checking this in. This fixes another bug I found in gen-classlist.sh. It was introduced by my earlier patches. The bug is that we aren't handling generated files properly. Tom Index: ChangeLog from Tom Tromey [EMAIL PROTECTED] * lib/gen-classlist.sh.in: Correct handle generated

[cp-patches] Patch: FYI: mime.types parsing

2006-04-04 Thread Tom Tromey
I'm checking this in. This updates our internal mime type database in two ways. First, we now parse /etc/mime.types, if it exists. This code comes from libgcj (with a small refactoring). Second, I regenerated the list of built-in type from the mime.types on the machine I'm using now. (I also

[cp-patches] Re: Patch: RFC: merge URLConnection

2006-04-04 Thread Stuart Ballard
Tom Tromey tromey at redhat.com writes: I'm not sure this is really ready to go in. Perhaps I need to preserve the old ;-stripping code... I will do that. Possibly stupid question: Could a Mauve test determine whether this is necessary or not? Presumably the behavior of Sun's implementation in

[cp-testresults] Japi diffs for classpath

2006-04-04 Thread Stuart Ballard
Japi diff jdk14 vs classpath: Full results: http://www.kaffe.org/~stuart/japi/htmlout/h-jdk14-classpath.html Changes since last run: -Comparison run at Mon Apr 3 10:03:11 2006 GMT -jdk14 API scanned at 2006/04/03 05:16:24 EDT -classpath API scanned at 2006/04/03 05:49:31 EDT +Comparison run at

[cp-testresults] FAIL: regressions for mauve-jamvm on Tue Apr 4 10:35:54 UTC 2006

2006-04-04 Thread cpdev
Baseline from: Tue Apr 4 05:24:25 UTC 2006 Regressions: FAIL: gnu.testlet.java.lang.Thread.sleep: Interrupted sleep (number 2) New fails: FAIL: gnu.testlet.gnu.javax.swing.text.html.parser.support.Parser.HTML_randomTable: Exception: java.lang.Exception: 'htmlhead/headbodytabletbodytr

RE: RFC: Changing Class.newInstance() to add VM specific feature

2006-04-04 Thread Jeroen Frijters
Mark Wielaard wrote: On Thu, 2006-03-30 at 13:09 +0200, Jeroen Frijters wrote: I've added a new access modifier to IKVM. By applying the @ikvm.lang.Internal annotation to a type or member, you can mark it as internal to the library it resides in. Hopefully Java will provide something

RE: RFC: Changing Class.newInstance() to add VM specific feature

2006-04-04 Thread Mark Wielaard
Hi Jeroen, On Tue, 2006-04-04 at 12:32 +0200, Jeroen Frijters wrote: Mark Wielaard wrote: This looks OK and not too invasive. But I would like to see as little extensions added as possible so let me propose a hack that might prevent having to add the hook. Couldn't you override

RE: RFC: Changing Class.newInstance() to add VM specific feature

2006-04-04 Thread Jeroen Frijters
Mark Wielaard wrote: And I might misunderstand the semantics of the @Internal access modifier. As I read your suggestion the VMClass.checkAccess() method is only invoked when the Constructor of the Class is not public. It is invoked when either the constructor or the class is not public.

[commit-cp] classpath ./ChangeLog java/awt/image/ComponentS...

2006-04-04 Thread David Gilbert
CVSROOT:/sources/classpath Module name:classpath Branch: Changes by: David Gilbert [EMAIL PROTECTED] 06/04/04 10:27:19 Modified files: . : ChangeLog java/awt/image : ComponentSampleModel.java Log message: 2006-04-04 David

[commit-cp] classpath ./ChangeLog javax/imageio/plugins/jpe...

2006-04-04 Thread Thomas Fitzsimmons
CVSROOT:/sources/classpath Module name:classpath Branch: Changes by: Thomas Fitzsimmons [EMAIL PROTECTED] 06/04/04 13:46:15 Modified files: . : ChangeLog javax/imageio/plugins/jpeg: JPEGImageWriteParam.java Log message: 2006-04-04

[commit-cp] classpath ./ChangeLog java/util/zip/ZipFile.java

2006-04-04 Thread Lillian Angel
CVSROOT:/sources/classpath Module name:classpath Branch: Changes by: Lillian Angel [EMAIL PROTECTED] 06/04/04 14:05:20 Modified files: . : ChangeLog java/util/zip : ZipFile.java Log message: 2006-04-04 Lillian Angel [EMAIL

[commit-cp] classpath ./ChangeLog java/awt/image/ComponentS...

2006-04-04 Thread David Gilbert
CVSROOT:/sources/classpath Module name:classpath Branch: Changes by: David Gilbert [EMAIL PROTECTED] 06/04/04 15:05:11 Modified files: . : ChangeLog java/awt/image : ComponentSampleModel.java SampleModel.java Log message:

[commit-cp] classpath ./ChangeLog java/awt/image/SampleMode...

2006-04-04 Thread David Gilbert
CVSROOT:/sources/classpath Module name:classpath Branch: Changes by: David Gilbert [EMAIL PROTECTED] 06/04/04 15:35:49 Modified files: . : ChangeLog java/awt/image : SampleModel.java Log message: 2006-04-04 David Gilbert

[commit-cp] classpath ./ChangeLog gnu/regexp/CharIndexed.ja...

2006-04-04 Thread Ito Kazumitsu
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Ito Kazumitsu [EMAIL PROTECTED] 06/04/04 16:20:50 Modified files: . : ChangeLog gnu/regexp : CharIndexed.java CharIndexedCharArray.java

[commit-cp] classpath ./ChangeLog lib/gen-classlist.sh.in

2006-04-04 Thread Tom Tromey
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Tom Tromey [EMAIL PROTECTED] 06/04/04 17:16:50 Modified files: . : ChangeLog lib: gen-classlist.sh.in Log message: * lib/gen-classlist.sh.in: Correct

[commit-cp] classpath ./ChangeLog java/net/MimeTypeMapper.java

2006-04-04 Thread Tom Tromey
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Tom Tromey [EMAIL PROTECTED] 06/04/05 00:18:14 Modified files: . : ChangeLog java/net : MimeTypeMapper.java Log message: * java/net/MimeTypeMapper.java

[commit-cp] classpath ./ChangeLog java/net/MimeTypeMapper.java

2006-04-04 Thread Tom Tromey
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Tom Tromey [EMAIL PROTECTED] 06/04/05 00:20:29 Modified files: . : ChangeLog java/net : MimeTypeMapper.java Log message: * java/net/MimeTypeMapper.java