Re: [cp-patches] Re: RFC: Patch for duplicate entries in serialPersistentFields

2005-12-12 Thread Stuart Ballard
On 12/11/05, Guilhem Lavaux [EMAIL PROTECTED] wrote: Bah ! I would rather use a native function that will throw directly InvalidClassException. The problem is that's will be anyway hidden to the general user and that he/she may be surprised getting that sort of exception. I dunno, this seems

RE: [cp-patches] Re: RFC: Patchfor duplicate entries in serialPersistentFields

2005-12-12 Thread Jeroen Frijters
Archie Cobbs wrote: Stuart Ballard wrote: Jeroen pointed out to me a while back that you can use generics to throw an unchecked exception: There's also a way to do this without using JDK 1.5 stuff, but it's even uglier :-) Construct a class (dynamically) that has a default

Re: [cp-patches] Re: RFC: Patch for duplicate entries in serialPersistentFields

2005-12-12 Thread Mark Wielaard
Hi Stuart, On Sun, 2005-12-11 at 21:42 -0500, Stuart Ballard wrote: Throw.uncheckedThrow(new InvalidClassException(...)); A perfectly portable illegal-exception-thrower :) It is a nice hack. But I agree with Guilhem that illegally throwing checked exceptions from methods which are not

Re: [cp-patches] Re: RFC: Patch for duplicate entries in serialPersistentFields

2005-12-12 Thread Robert Schuster
Hi. Stuart Ballard wrote: I dunno, this seems pretty clean if it works: public class Throw { private static Throwable t; public Throw() throws Throwable {throw t;} public static synchronized void uncheckedThrow(Throwable t) { Throw.t = t; try {

[cp-patches] FYI: New test for JComponent.getPreferredSize

2005-12-12 Thread Roman Kennke
I committed the attached patch that checks the correctness of various aspects of the JComponent.getPreferredSize() method. 2005-12-12 Roman Kennke [EMAIL PROTECTED] * gnu/testlet/javax/swing/JComponent/getPreferredSize.java: New test. /Roman // Tags: JDK1.2 // Copyright (C)

[cp-patches] FYI: ViewportLayout fix

2005-12-12 Thread Roman Kennke
This patch makes the new ViewportLayout.layoutContainer Mauve test pass. 2005-12-12 Roman Kennke [EMAIL PROTECTED] * javax/swing/ViewportLayout.java (layoutContainer): Always check and adjust the size, not only when portSize = view.minSize. /Roman Index:

[cp-patches] FYI: JComponent fixlet

2005-12-12 Thread Roman Kennke
Hi all, I committed the attached patch which makes the new JComponent Mauve test pass. 2005-12-12 Roman Kennke [EMAIL PROTECTED] * javax/swing/JComponent.java (getPreferredSize): Don't check for the minimumSize. According to a mauve test, this is not necessary. /Roman

[cp-patches] FYI: Allow Security.setProperty(foo, null)

2005-12-12 Thread Gary Benson
Hi, At the moment Security.setProperty() will not allow the setting of null property values. Since Security.getProperty() returns null for unset properties this means that the following will fail: String key = some.old.property; Security.setProperty(key, Security.getProperty(key)); The

Re: [cp-patches] StAX parser

2005-12-12 Thread Mark Wielaard
Hi Chris, On Mon, 2005-12-12 at 11:35 +, Chris Burdess wrote: The attached patch provides a new StAX XML parser, mostly feature complete but currently without support for DTD validation. 2005-12-12 Chris Burdess [EMAIL PROTECTED] * gnu/xml/stream/XMLInputFactoryImpl.java,

Re: [cp-patches] FYI: New test for JComponent.getPreferredSize

2005-12-12 Thread David Daney
Roman Kennke wrote: I committed the attached patch that checks the correctness of various aspects of the JComponent.getPreferredSize() method. 2005-12-12 Roman Kennke [EMAIL PROTECTED] * gnu/testlet/javax/swing/JComponent/getPreferredSize.java: New test. /Roman But this is

Re: [cp-patches] StAX parser

2005-12-12 Thread Chris Burdess
Mark Wielaard wrote: The attached patch provides a new StAX XML parser, mostly feature complete but currently without support for DTD validation. 2005-12-12 Chris Burdess [EMAIL PROTECTED] * gnu/xml/stream/XMLInputFactoryImpl.java, gnu/xml/stream/CRLFReader.java,

Re: [cp-patches] FYI: New test for JComponent.getPreferredSize

2005-12-12 Thread Roman Kennke
Hiyo, Am 12.12.2005 schrieb David Daney [EMAIL PROTECTED]: Roman Kennke wrote: I committed the attached patch that checks the correctness of various aspects of the JComponent.getPreferredSize() method. 2005-12-12 Roman Kennke [EMAIL PROTECTED] *

[cp-patches] StAX SAX parser

2005-12-12 Thread Chris Burdess
These classes implement a JAXP SAX parser on top of the new StAX implementation. 2005-12-12 Chris Burdess [EMAIL PROTECTED] * gnu/xml/stream/SAXParser.java, gnu/xml/stream/SAXParserFactory.java, gnu/xml/stream/XMLParser.java: SAX parser using StAX implementation.

Re: [cp-patches] FYI: Allow Security.setProperty(foo, null)

2005-12-12 Thread Tom Tromey
Gary == Gary Benson [EMAIL PROTECTED] writes: Gary At the moment Security.setProperty() will not allow the setting of Gary null property values. Since Security.getProperty() returns null for Gary unset properties this means that the following will fail: When you sent this last week I replied

[cp-patches] RFC: HTMLDocument.HTMLReader partial implementation

2005-12-12 Thread Anthony Balkissoon
This is a partial implementation of HTMLDocument.HTMLReader. I am still working on this, so it will be more fully implemented soon. I submit this as RFC because it has several methods that have nothing more than FIXME: Implement as well as some debugging statements. These are there so that

Re: Proposal: Graphics2D rewrite branch

2005-12-12 Thread Mark Wielaard
On Sun, 2005-12-11 at 18:02 -0700, Tom Tromey wrote: Mark == Mark Wielaard [EMAIL PROTECTED] writes: Mark And you should not see it as private or may be broken at random Mark times. It should be as much as possible something that you work with a Mark team on (and if there is no team - yet -

Re: [GNU Crypto] Re: [Jessie-discuss] Re: RFC: merging GNU Crypto and Jessie

2005-12-12 Thread Anthony Green
On Mon, 2005-12-12 at 20:48 +1100, Raif S. Naffah wrote: would adding a second Provider --that supplies the strong stuff; i.e. ciphers, modes, padding, etc..-- living in its own package sub-directory/hierarchy and eventually (when the segmentation of Classpath into multiple jars occur) be

Re: [GNU Crypto] Re: [Jessie-discuss] Re: RFC: merging GNU Crypto and Jessie

2005-12-12 Thread Raif S. Naffah
On Monday 12 December 2005 01:45, Anthony Green wrote: On Sun, 2005-12-11 at 15:19 +0100, Mark Wielaard wrote: If there are situations where you are not able to (re)distribute the GNU Classpath source code and/or follow the the BIS/ENC notification procedures as done by the various

New bugzilla component xml

2005-12-12 Thread Mark Wielaard
Hi, A new bugzilla component was added for all xml (javax.xml, gnu.xml) related bug reports. The initial owner is Chris, but he is of course free to not handle or reassign bugs. For the current list of bugs see: http://gcc.gnu.org/bugzilla/buglist.cgi?product=classpathcomponent=xml Initial bug

Re: lists.gnu.org and savannah.gnu.org (CVS) updates

2005-12-12 Thread Mark Wielaard
Hi Archie, On Sun, 2005-12-11 at 13:39 -0600, Archie Cobbs wrote: Mark Wielaard wrote: If you have the cvsutils installed then you can easily switch to the new CVS location by running this in your CVS working copy: cvschroot savannah-user-name@cvs.savannah.gnu.org:/cvsroot/classpath And

Re: lists.gnu.org and savannah.gnu.org (CVS) updates

2005-12-12 Thread Archie Cobbs
Mark Wielaard wrote: Subversion support for savannah is planned in the future. And it might make sense to adopt it then since other projects that rely on GNU Classpath also use it and it makes merging easier. On the other hand That would be great. subversion is still a bit immature and not

[Bug classpath/25374] New: LogManager-related security bug with netx

2005-12-12 Thread tromey at gcc dot gnu dot org
I don't have a self contained test case for this. First, you must download netx: http://jnlp.sourceforge.net/netx/ Then run: jamvm -jar ~/netsrc/java/webstart/netx-cvs.jar -jnlp http://irate.sourceforge.net/webstart/stable/irate-client-swt.jnlp For me this dies with a security-related error:

[Bug awt/25375] New: awt / swt clash

2005-12-12 Thread tromey at gcc dot gnu dot org
To reproduce this bug you must first download netx: http://jnlp.sourceforge.net/netx/ Then run it as: jamvm -jar ~/netsrc/java/webstart/netx-cvs.jar -nosecurity -jnlp http://irate.sourceforge.net/webstart/stable/irate-client-swt.jnlp (The -nosecurity is needed to work around a different bug.)

Re: lists.gnu.org and savannah.gnu.org (CVS) updates

2005-12-12 Thread Mark Wielaard
Hi Archie, On Mon, 2005-12-12 at 09:31 -0600, Archie Cobbs wrote: Mark Wielaard wrote: subversion is still a bit immature and not widely supported yet (for example on builder.classpath.org we needed to install the latest 1.3.0rc4 to get around some network timeout issues). CVS might be old

Re: Security manager problem

2005-12-12 Thread Gary Benson
Gary Benson wrote: Robert Lougher wrote: Do you have a testcase? If you build and run the attached testcase you ought to see only one checkPermission() between Calling checkRead() and Done. ... In reality, JamVM chokes on it pretty hard. I _think_ what is happening is that the

Re: lists.gnu.org and savannah.gnu.org (CVS) updates

2005-12-12 Thread Andrew Haley
Mark Wielaard writes: Hi Archie, On Sun, 2005-12-11 at 13:39 -0600, Archie Cobbs wrote: Mark Wielaard wrote: If you have the cvsutils installed then you can easily switch to the new CVS location by running this in your CVS working copy: cvschroot

Re: lists.gnu.org and savannah.gnu.org (CVS) updates

2005-12-12 Thread Tom Tromey
Mark == Mark Wielaard [EMAIL PROTECTED] writes: Mark You will notice that last one when running CVS update. It will explain Mark that you have to update the Root of your CVS working directory. If you Mark the cvsutils installed then you can easily switch to the new CVS Mark location by running

Re: lists.gnu.org and savannah.gnu.org (CVS) updates

2005-12-12 Thread Tom Tromey
Mark == Mark Wielaard [EMAIL PROTECTED] writes: Mark Or the fact Mark that you really need to setup an external diff command since the Mark built-in one is not capable enough. ? I haven't noticed this one. Mark Also importing an old CVS repository like all of GCC seems possible now Mark but

Re: lists.gnu.org and savannah.gnu.org (CVS) updates

2005-12-12 Thread Mark Wielaard
Hi, On Mon, 2005-12-12 at 13:42 -0700, Tom Tromey wrote: Mark Or the fact Mark that you really need to setup an external diff command since the Mark built-in one is not capable enough. ? I haven't noticed this one. See the bottom of http://gcc.gnu.org/wiki/SvnSetup Again, not a

Re: lists.gnu.org and savannah.gnu.org (CVS) updates

2005-12-12 Thread Nic Ferrier
Archie Cobbs [EMAIL PROTECTED] writes: For example, all of Apache is on a single Subversion server and they're up to revision #356264 (including imported CVS commits). We've used it at my real job for over a year with zero problems. As far as being supported, not sure what you're referring

Re: [cp-patches] RFC: HTMLDocument.HTMLReader partial implementation

2005-12-12 Thread Robert Schuster
Hi, no objections on my part but just one thing. If, for some reason, the work on this is suspended for some time please file a bug. Btw: Thanks for working on this. That is a big bad package. :) cya Robert Anthony Balkissoon wrote: This is a partial implementation of

Re: lists.gnu.org and savannah.gnu.org (CVS) updates

2005-12-12 Thread Per Bothner
Nic Ferrier wrote: Subversion seems to be another of those gnu vs apache things. gnu people *tend* to prefer CVS (and to a lesser extent arch) because they offer more centralized control. CVS is most popular because it is very stable and well understood. I think you're got things mixed up.

[commit-cp] classpath ./ChangeLog javax/swing/ViewportLayou...

2005-12-12 Thread Roman Kennke
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Roman Kennke [EMAIL PROTECTED]05/12/12 13:24:22 Modified files: . : ChangeLog javax/swing: ViewportLayout.java Log message: 2005-12-12 Roman Kennke

[commit-cp] classpath/gnu/xml/stream XMLInputFactoryImpl.ja...

2005-12-12 Thread Chris Burdess
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Chris Burdess [EMAIL PROTECTED] 05/12/12 11:35:38 Modified files: gnu/xml/stream : XMLInputFactoryImpl.java Added files: gnu/xml/stream : CRLFReader.java XMLInputStreamReader.java

[commit-cp] classpath ./ChangeLog java/security/Security.java

2005-12-12 Thread Gary Benson
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Gary Benson [EMAIL PROTECTED] 05/12/12 15:28:48 Modified files: . : ChangeLog java/security : Security.java Log message: 2005-12-12 Gary Benson [EMAIL

[commit-cp] classpath ChangeLog

2005-12-12 Thread Chris Burdess
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Chris Burdess [EMAIL PROTECTED] 05/12/12 18:40:48 Modified files: . : ChangeLog Log message: 2005-12-12 Chris Burdess [EMAIL PROTECTED] *

[commit-cp] classpath ./ChangeLog gnu/xml/stream/XMLParser....

2005-12-12 Thread Chris Burdess
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Chris Burdess [EMAIL PROTECTED] 05/12/12 19:53:05 Modified files: . : ChangeLog gnu/xml/stream : XMLParser.java Added files: gnu/xml/stream : SAXParser.java

[commit-cp] classpath ./ChangeLog lib/Makefile.am m4/acincl...

2005-12-12 Thread Dalibor Topic
CVSROOT:/sources/classpath Module name:classpath Branch: Changes by: Dalibor Topic [EMAIL PROTECTED] 05/12/13 01:20:29 Modified files: . : ChangeLog lib: Makefile.am m4 : acinclude.m4 Log message: