Re: [cp-patches] RFC: NIO, Non-blocking Scatter/Gather (Again)

2006-04-06 Thread Mark Wielaard
Hi Michael, On Mon, 2006-03-27 at 14:42 +0100, Michael Barker wrote: Another punt at the Non-blocking IO and Scatter/Gather stuff. This patch also adds scatter/gather support to the FileChannelImpl. ChangeLog: 2006-03-19 Michael Barker [EMAIL PROTECTED] *

[cp-patches] FYI: Reverse JAPI fixes for javax.xml.*

2006-04-06 Thread Wolfgang Baer
Hi, subject says it all. 2006-04-06 Wolfgang Baer [EMAIL PROTECTED] * javax/xml/validation/SchemaFactory.java: Corrected since tag. (getErrorHandler): Made method abstract. (setErrorHanlder): Likewise. * gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java

[cp-patches] FYI: Serialization fixlet for javax.naming.directory.BasicAttribute(s)

2006-04-06 Thread Wolfgang Baer
Hi, this fixes the serialization issues reported. I will go later through the remaining stuff of javax.naming.* to fix some more serialization stuff. 2006-04-06 Wolfgang Baer [EMAIL PROTECTED] Fixes bug #26995 * javax/naming/directory/BasicAttribute.java, *

[cp-patches] FYI: Component/JComponent fixes

2006-04-06 Thread Roman Kennke
This patch fixes some things in JComponent and Component: 1. yesterday I got confused regarding the handling of the opaque property wrt the accessibility method getAccessibleStateSet(). As it turns out, this property is _not_ handled at all in AccessibleAWTComponent, regardless of the value of the

Re: [cp-patches] RFC: Path canonicalizer

2006-04-06 Thread Gary Benson
Tom Tromey wrote: Mark == Mark Wielaard [EMAIL PROTECTED] writes: Mark It does look good to me. But in theory the usage of PATH_MAX Mark PATH_MAX might be a problem. Yeah, this famously is not defined in Hurd. Do we really need a limit here? Can't we just resize the buffer

Re: [cp-patches] RFC: Path canonicalizer

2006-04-06 Thread Gary Benson
Mark Wielaard wrote: ...I assume this is normally called on absolute paths that are already in canonical form. Not necessarily. For example, the way JPackage makes Tomcat FHS compliant (with symlinks all over the place) means that just about every FilePermission check will involve following

[cp-patches] FYI: AccessibleAbstractButton

2006-04-06 Thread Roman Kennke
I implemented some more stubs in the AccessibleAbstractButton. 2006-04-06 Roman Kennke [EMAIL PROTECTED] * javax/swing/AbstractButton.java (AccessibleAbstractButton.getAccessibleIcon): Implemented stub. (AccessibleAbstractButton.getAccessibleRelationSet): Implemented

[cp-patches] FYI: Accessibility initialization

2006-04-06 Thread Roman Kennke
The attached patch enables the initialization of assistive technologies via the documented system property javax.accessibility.assistive_technologies. This property holds a comma separated list of classes that are loaded when the AWT Toolkit is first initialized. Alternativly, this system property

[cp-patches] FYI: No getClassLoader() security check for bootstrap classes

2006-04-06 Thread Mark Wielaard
Hi, While playing a bit with the next security manager I noticed it didn't except a security check on getClassLoader() when it would return null (for bootstrap classes). This seems consistent with our documentation. And it makes sense since we are not giving the caller anything they can actually

Re: [cp-patches] RFC: NIO, Non-blocking Scatter/Gather (Again)

2006-04-06 Thread Michael Barker
On Thu, 2006-04-06 at 09:26 +0200, Mark Wielaard wrote: My apologies for forgetting this patch. I'll try to look at it asap. No worries. Michael, do you have some test programs that use this functionality around? I have some mauve tests that covers most of it. There are a few edge cases

Re: [cp-patches] FYI: Accessibility initialization

2006-04-06 Thread Tom Tromey
Roman == Roman Kennke [EMAIL PROTECTED] writes: Roman Alternativly, this system property can be read from Roman ~/.accessibility.properties Is this a JDK-specified location? Otherwise, what about putting it in $HOME/.classpath? That is where the current prefs are stored... it would be nice to

Re: [cp-patches] RFC: Path canonicalizer

2006-04-06 Thread Tom Tromey
Gary == Gary Benson [EMAIL PROTECTED] writes: Gary It's possible, I suppose, but it seems over-complex when libgcj Gary manages to sidestep the PATH_MAX thing just fine with: Gary #ifndef MAXPATHLEN Gary#define MAXPATHLEN 4096 Gary #endif Yeah, I suppose so. Gary Also, aren't

Re: [cp-patches] Patch: X500Principal fixlet

2006-04-06 Thread Tom Tromey
Nektarios == Nektarios K Papadopoulos [EMAIL PROTECTED] writes: Nektarios A small fix for the readAttributeValue Thanks for the patch. I checked it in. Tom

[cp-patches] FYI: Serialization fixlet javax.naming

2006-04-06 Thread Wolfgang Baer
Hi, I have checked all the classes of the javax.naming subpackages and found one more serialization problem which is fixed by this patch. 2006-04-06 Wolfgang Baer [EMAIL PROTECTED] * javax/naming/CompositeName.java: (readObject): New deserialization method.

[cp-patches] FYI: Documentation and new methods in javax.naming.NameClassPair

2006-04-06 Thread Wolfgang Baer
Hi all, checking for serialization issues I found that javax/naming/NameClassPair.java has two new methods in 1.5. I added them and wrote api docs for this simple class and its subclass. 2006-04-06 Wolfgang Baer [EMAIL PROTECTED] * javax/naming/Binding.java: Added API docs.

Re: [cp-patches] FYI: Manifest re-factoring

2006-04-06 Thread Mark Wielaard
Hi, On Wed, 2006-04-05 at 13:42 +0200, Mark Wielaard wrote: The usage of util.loggging.Logger in JarUtils which is now used in Manifest in combination with the logging cleanup patch seems to have broken -jar support in cacao. I do actually think this is a bug in cacao which seems to do some

Re: [cp-patches] FYI: Accessibility initialization

2006-04-06 Thread Roman Kennke
Am Donnerstag, den 06.04.2006, 11:06 -0600 schrieb Tom Tromey: Roman == Roman Kennke [EMAIL PROTECTED] writes: Roman Alternativly, this system property can be read from Roman ~/.accessibility.properties Is this a JDK-specified location? I have read about that somewhere, either in the

[cp-patches] FYI: Some more AWT fixlets

2006-04-06 Thread Roman Kennke
I moved the hook to the global event dispatching from Component.dispatchEventImpl() to Component.dispatchEvent(), so that subclasses do not override this. This prevented the accessibility utilities to work correctly, because they missed some Window events.

[cp-patches] FYI: JRootPane accessibility

2006-04-06 Thread Roman Kennke
The Monkey utility pointed out the the JRootPane doesn't return a valid AccessibleContext. This patch fixes this: 2006-04-06 Roman Kennke [EMAIL PROTECTED] * javax/swing/JRootPane.java (getAccessibleContext): New method. Provides an accessibleContext for JRootPanes.

[cp-patches] FYI: More AccessibleAWTComponent fixes

2006-04-06 Thread Roman Kennke
The methods getBounds(), getSize() and getLocation in AccessibleAWTComponent must delegate to the Component methods, regardless of the isShowing() state of the Component. The Monkey utility was complaining about a null pointer from the getBounds() method, fixing it like this made this program

[cp-patches] RFC: java.io.ObjectStreamConstants documented

2006-04-06 Thread Carsten Neumann
Hi all, in addition to the documentation I also added two fields that were added in 1.5 (TC_ENUM and SC_ENUM). Please note that my copyright assignment is in snail mail, I'll ping this message when the paper shuffling is finished. Thanks, Carsten The

[cp-patches] Patch: FYI: a few missing java.awt.image methods

2006-04-06 Thread Tom Tromey
I'm checking this in. This implements the easy parts of java.awt.image.renderable.RenderableImageProducer. Tom 2006-04-06 Tom Tromey [EMAIL PROTECTED] * java/awt/image/renderable/RenderableImageProducer.java (image, context, consumers): New fields.

[cp-testresults] FAIL: regressions for libgcj on Thu Apr 6 08:15:11 UTC 2006

2006-04-06 Thread cpdev
Baseline from: Wed Apr 5 21:56:26 UTC 2006 Regressions: FAIL: Thread_Sleep output - bytecode-native test FAIL: Thread_Sleep output - gij test Totals: PASS: 3461 XPASS: 8 FAIL: 2 XFAIL: 11 ___ Classpath-testresults mailing list

[cp-testresults] Japi diffs for classpath

2006-04-06 Thread Stuart Ballard
Japi diff jdk10 vs classpath: Full results: http://www.kaffe.org/~stuart/japi/htmlout/h-jdk10-classpath.html Changes since last run: -Comparison run at Wed Apr 5 09:58:30 2006 GMT -jdk10 API scanned at 2006/04/05 05:35:29 EDT -classpath API scanned at 2006/04/05 05:51:09 EDT +Comparison run at

[cp-testresults] FAIL: regressions for libgcj on Thu Apr 6 13:16:32 UTC 2006

2006-04-06 Thread cpdev
Baseline from: Wed Apr 5 21:56:26 UTC 2006 Regressions: FAIL: Thread_Sleep -O3 output - source compiled test Totals: PASS: 3462 XPASS: 8 FAIL: 1 XFAIL: 11 ___ Classpath-testresults mailing list Classpath-testresults@gnu.org

[cp-testresults] FAIL: regressions for libgcj on Thu Apr 6 18:29:21 UTC 2006

2006-04-06 Thread cpdev
Baseline from: Wed Apr 5 21:56:26 UTC 2006 Regressions: FAIL: Thread_Sleep -O3 output - bytecode-native test Totals: PASS: 3462 XPASS: 8 FAIL: 1 XFAIL: 11 ___ Classpath-testresults mailing list Classpath-testresults@gnu.org

[cp-testresults] FAIL: regressions for libgcj on Fri Apr 7 04:47:01 UTC 2006

2006-04-06 Thread cpdev
Baseline from: Thu Apr 6 23:40:30 UTC 2006 Regressions: FAIL: Thread_Sleep -O3 output - bytecode-native test Totals: PASS: 3462 XPASS: 8 FAIL: 1 XFAIL: 11 ___ Classpath-testresults mailing list Classpath-testresults@gnu.org

ORBit with Classpath CORBA

2006-04-06 Thread Roman Kennke
Hi list, hi Audrius, I was playing around with Java accessibility lately. My hope is to get the java-access-bridge working with our Swing: http://ftp.gnome.org/pub/GNOME/sources/java-access-bridge/ For this I have installed a couple of programs. One that seems very useful for debugging is

[Bug classpath/27062] New: fdlibm fails to detect endianness

2006-04-06 Thread multix at gmail dot com
I propose to change line 134 in ieeefp.h to #if defined (__PPC__) || defined (__ppc__) || defined (__powerpc__) || defined (__ppc64__) || defined (_POWER) || defined (_IBMR2) since _POWER and _IBMR2 are apparently the only usable symbols gcc 345 defines on this computer (even if it is a

Re: ORBit with Classpath CORBA

2006-04-06 Thread Audrius Meskauskas
Roman Kennke wrote: Exception in thread Thread-6 org.omg.CORBA.MARSHAL: Not a GIOP message Minor: 0 (0). Completed: not completed at gnu.CORBA.GIOP.MessageHeader.read (MessageHeader.java:288) This means that Classpath is reading not a CORBA message but something different. All CORBA

GConf - java.util.prefs integration

2006-04-06 Thread Mario Torre
Hi! As part of an internal project we are developing, I'm writing a simple backed to integrate GConf with java.util.prefs. The backend uses java-gnome (GConf and glib bindings), so I don't know if it can be used as part of classpath. I would like to rewrite it to drop java-gnome dependencies,

Re: GConf - java.util.prefs integration

2006-04-06 Thread Thomas Fitzsimmons
On Fri, 2006-04-07 at 03:19 +0200, Mario Torre wrote: Hi! As part of an internal project we are developing, I'm writing a simple backed to integrate GConf with java.util.prefs. The backend uses java-gnome (GConf and glib bindings), so I don't know if it can be used as part of classpath.

[commit-cp] classpath javax/xml/datatype/DatatypeConstants....

2006-04-06 Thread Wolfgang Baer
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Wolfgang Baer [EMAIL PROTECTED] 06/04/06 07:20:20 Modified files: javax/xml/datatype: DatatypeConstants.java Duration.java gnu/xml/validation/xmlschema: XMLSchemaSchemaFactory.java

[commit-cp] classpath ./ChangeLog javax/naming/directory/Ba...

2006-04-06 Thread Wolfgang Baer
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Wolfgang Baer [EMAIL PROTECTED] 06/04/06 09:28:19 Modified files: . : ChangeLog javax/naming/directory: BasicAttributes.java BasicAttribute.java Log message:

[commit-cp] classpath ./ChangeLog java/awt/Component.java j...

2006-04-06 Thread Roman Kennke
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Roman Kennke [EMAIL PROTECTED]06/04/06 10:15:34 Modified files: . : ChangeLog java/awt : Component.java javax/swing: JComponent.java Added files:

[commit-cp] classpath java/awt/Toolkit.java ./ChangeLog

2006-04-06 Thread Roman Kennke
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Roman Kennke [EMAIL PROTECTED]06/04/06 12:10:25 Modified files: java/awt : Toolkit.java . : ChangeLog Log message: 2006-04-06 Roman Kennke [EMAIL

[commit-cp] classpath ./ChangeLog javax/naming/CompositeNam...

2006-04-06 Thread Wolfgang Baer
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Wolfgang Baer [EMAIL PROTECTED] 06/04/06 18:04:13 Modified files: . : ChangeLog javax/naming : CompositeName.java Log message: 2006-04-06 Wolfgang Baer

[commit-cp] classpath javax/naming/Binding.java javax/namin...

2006-04-06 Thread Wolfgang Baer
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Wolfgang Baer [EMAIL PROTECTED] 06/04/06 18:16:15 Modified files: javax/naming : Binding.java NameClassPair.java . : ChangeLog Log message: 2006-04-06

[commit-cp] classpath ./ChangeLog java/awt/Component.java j...

2006-04-06 Thread Roman Kennke
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Roman Kennke [EMAIL PROTECTED]06/04/06 20:37:40 Modified files: . : ChangeLog java/awt : Component.java Toolkit.java Log message: 2006-04-06 Roman

[commit-cp] classpath/javax/swing JRootPane.java

2006-04-06 Thread Roman Kennke
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Roman Kennke [EMAIL PROTECTED]06/04/06 21:12:31 Modified files: javax/swing: JRootPane.java Log message: 2006-04-06 Roman Kennke [EMAIL PROTECTED] *

[commit-cp] classpath ./ChangeLog java/awt/Component.java

2006-04-06 Thread Roman Kennke
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Roman Kennke [EMAIL PROTECTED]06/04/06 21:51:32 Modified files: . : ChangeLog java/awt : Component.java Log message: 2006-04-06 Roman Kennke [EMAIL

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

2006-04-06 Thread Tom Tromey
CVSROOT:/cvsroot/classpath Module name:classpath Branch: Changes by: Tom Tromey [EMAIL PROTECTED] 06/04/06 23:46:43 Modified files: . : ChangeLog java/awt/image/renderable: RenderableImageProducer.java Log message: *