[cp-patches] FYI: Matcher.usePattern(Pattern) implemented and missing gcj patches pushed

2012-04-03 Thread Dr Andrew John Hughes
As discussed on the gcj mailing list recently: http://gcc.gnu.org/ml/java/2012-03/msg00048.html I've added an implementation of java.util.regex.Matcher.usePattern(Pattern). It was pretty simple, not more than a five minute job. ChangeLog: 2012-03-22 Andrew John Hughes ahug...@redhat.com

[cp-patches] FYI: GStreamer -Werror build fix

2012-02-22 Thread Dr Andrew John Hughes
I've applied the attached simple fix to the GStreamer sources to remove an unused variable so that it will build with -Werror. 2012-02-15 Andrew John Hughes ahug...@redhat.com * native/jni/gstreamer-peer/gst_classpath_src.c, (gst_classpath_src_class_init(GstClasspathSrcClass

[cp-patches] FYI: RH712013: pdftk crashes with java.lang.ArrayIndexOutOfBoundsException

2012-01-12 Thread Dr Andrew John Hughes
changing the locale data, which I'll do in a series of separate patches. 2011-12-12 Andrew John Hughes ahug...@redhat.com RH712013: pdftk crashes with java.lang.ArrayIndexOutOfBoundsException * java/text/DateFormatSymbols.java: (getStringArray(ListResourceBundle, String, int

Re: [cp-patches] [RFC/PATCH] Add java.io.IOError class

2012-01-06 Thread Dr Andrew John Hughes
On 19:25 Thu 05 Jan , Pekka Enberg wrote: This patch adds a missing IOError class to GNU Classpath that was introduced in Java 1.6. 2012-01-05 Pekka Enberg penb...@kernel.org * java/io/IOError: Add new class. Looks good. Would be nice to have Javadoc on the

Re: [cp-patches] [PATCH] Fix raw type references in AnnotationInvocationHandler

2011-10-12 Thread Dr Andrew John Hughes
On 12:07 Wed 12 Oct , Ian Rogers wrote: On 12 October 2011 03:52, Mark Wielaard m...@klomp.org wrote: On Wed, 2011-10-12 at 10:29 +0300, Pekka Enberg wrote: On Wed, Oct 12, 2011 at 1:28 AM, Dr Andrew John Hughes ahug...@redhat.com wrote: If we're going to change that, it should

Re: [cp-patches] [PATCH] Fix raw type references in AnnotationInvocationHandler

2011-10-12 Thread Dr Andrew John Hughes
On 16:26 Wed 12 Oct , Brian Jones wrote: On Wed, Oct 12, 2011 at 3:16 PM, Dr Andrew John Hughes ahug...@redhat.com wrote: On 12:07 Wed 12 Oct     , Ian Rogers wrote: On 12 October 2011 03:52, Mark Wielaard m...@klomp.org wrote: On Wed, 2011-10-12 at 10:29 +0300, Pekka Enberg wrote

Re: [cp-patches] [PATCH] Fix raw type references in AnnotationInvocationHandler

2011-10-11 Thread Dr Andrew John Hughes
): Parametrize raw types. + (getBoxedReturnType): Parametrize raw types. + 2011-09-09 Andrew John Hughes ahug...@redhat.com PR classpath/45526: Produce header files for diff --git a/sun/reflect/annotation/AnnotationInvocationHandler.java b/sun/reflect/annotation

[cp-patches] FYI: PR45526: Produce header files for inner classes

2011-09-08 Thread Dr Andrew John Hughes
This patch makes gjavah have the same behaviour as OpenJDK's javah in producing header files for any inner classes found in the classes being parsed. ChangeLog: 2011-09-09 Andrew John Hughes ahug...@redhat.com PR classpath/45526: Produce header files for any inner classes

[cp-patches] FYI: Fix javah issues

2011-07-07 Thread Dr Andrew John Hughes
. ChangeLog: 2011-07-07 Andrew John Hughes ahug...@redhat.com PR classpath/45527 * tools/gnu/classpath/tools/javah/JniHelper.java: (mangle(String)): Replace '$' with '_' rather than encoding it as hex. 2011-07-07 Andrew John Hughes ahug...@redhat.com

[cp-patches] FYI: Fix warnings with gcc 4.6 which cause build failure with -Werror

2011-06-27 Thread Dr Andrew John Hughes
The attached patch fixes a number of issues (mostly unused variables and ignored return variables) which raise warnings with gcc 4.6 and cause a build failure if -Werror is also enabled. ChangeLog: 2011-06-27 Andrew John Hughes ahug...@redhat.com Fix issues with building with -Werror

Re: [cp-patches] [RFC/PATCH] Generate META-INF/INDEX.LIST file for glibj.zip

2011-06-08 Thread Dr Andrew John Hughes
On 13:51 Mon 30 May , Andrew Haley wrote: On 05/27/2011 04:45 AM, Dr Andrew John Hughes wrote: On 15:39 Thu 26 May , Pekka Enberg wrote: This patch changes the glibj.zip packaging so that META-INF/INDEX.LIST is generated to the file. This is needed for VMClassLoader.getBootPackages

Re: [cp-patches] [RFC/PATCH] Generate META-INF/INDEX.LIST file for glibj.zip

2011-05-27 Thread Dr Andrew John Hughes
On 08:51 Fri 27 May , Pekka Enberg wrote: Hi Andrew, On Fri, May 27, 2011 at 6:45 AM, Dr Andrew John Hughes ahug...@redhat.com wrote:  if WITH_JAR -CREATE_GLIBJ_ZIP=$(JAR) cf glibj.zip gnu java javax org sun META-INF +CREATE_GLIBJ_ZIP=$(JAR) cf glibj.zip gnu java javax org sun META

Re: [cp-patches] [RFC/PATCH] Generate META-INF/INDEX.LIST file for glibj.zip

2011-05-26 Thread Dr Andrew John Hughes
On 15:39 Thu 26 May , Pekka Enberg wrote: This patch changes the glibj.zip packaging so that META-INF/INDEX.LIST is generated to the file. This is needed for VMClassLoader.getBootPackages() to work correctly: private static String[] getBootPackages() { URL indexList =

[cp-patches] FYI: PR42823: TCP/IP read/write sockets cause memory leak

2011-03-30 Thread Dr Andrew John Hughes
I've committed the attached patch which was posted by Gert Brettlecker on http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42823 This is short enough (two lines added) to count as a trivial patch without copyright assignment. ChangeLog: 2011-03-30 Gert Brettlecker gert.brettlec...@ergon.ch

Re: [cp-patches] FYI: [PATCH] Fix Java_java_nio_VMDirectByteBuffer_allocate() for negative capacity

2011-03-25 Thread Dr Andrew John Hughes
On 17 March 2011 19:52, Pekka Enberg penb...@kernel.org wrote: JavaDocs clearly state that ByteBuffer.allocateDirect() must throw IllegalArgumentException if capacity is negative. 2011-03-17  Pekka Enberg  penb...@kernel.org        * native/jni/java-nio/java_nio_VMDirectByteBuffer.c:        

Re: [cp-patches] [PATCH] Fix Use ArrayList.add() in StyleSheet.resolveStyle

2011-03-15 Thread Dr Andrew John Hughes
On 14 March 2011 21:56, Pekka Enberg penb...@kernel.org wrote: Hi Andrew! On Mon, Mar 14, 2011 at 11:46 PM, Dr Andrew John Hughes ahug...@redhat.com wrote: Thanks for catching this bug.  I was going to approve it but you seem to have already committed it -- why??? I thought that'd be OK

Re: [cp-patches] [PATCH] Fix Use ArrayList.add() in StyleSheet.resolveStyle

2011-03-15 Thread Dr Andrew John Hughes
On 12:55 Tue 15 Mar , Pekka Enberg wrote: Hi Andrew, On Tue, Mar 15, 2011 at 12:47 PM, Dr Andrew John Hughes ahug...@redhat.com wrote: Please just make it clear what you're asking for.  If it's a fix you're sure about, then just post to the patches list with the FYI: subject prefix

Re: [cp-patches] [PATCH] Fix Use ArrayList.add() in StyleSheet.resolveStyle

2011-03-14 Thread Dr Andrew John Hughes
On 22:07 Thu 10 Mar , Pekka Enberg wrote: The following cleanup patch: More warning fixes. 2009-03-09 Andrew John Hughes ahug...@redhat.com [snip] * javax/swing/text/html/StyleSheet.java: Add generic typing. changed the code to do ArrayList.set

[cp-patches] PR42390: Don't include Policy permissions in toString output

2011-03-06 Thread Dr Andrew John Hughes
prohibts calls to getPolicy. I've committed the attached patch fixes this issue so that the permissions are excluded if the SecurityManager doesn't allow the policy to be read. 2011-02-22 Andrew John Hughes ahug...@redhat.com PR classpath/42390 * java/security

Re: [cp-patches] Fix pointer aliasing errors

2011-03-03 Thread Dr Andrew John Hughes
On 11:18 Thu 03 Mar , Damjan Jovanovic wrote: Hi Classpath 0.98 doesn't even compile nowdays, giving various pointer aliasing errors on GCC 4.4.3 and later. It will with --disable-werror. There's not really a way we can change the existing release. I'm aiming for a new release soon

Re: [cp-patches] [PATCH] Fix Matcher.find() infinite loop bug

2011-03-02 Thread Dr Andrew John Hughes
On 16:22 Wed 02 Mar , Pekka Enberg wrote: This patch fixes a problem in Match.find() where the following piece of code would enter an infinite loop: Pattern p = Pattern.compile(\u); Matcher m = p.matcher(hello, world); System.out.println(m.find()); Seems a sensible

Re: [cp-patches] [PATCH] Bump up HashMap default initial capacity

2011-02-22 Thread Dr Andrew John Hughes
On 16:07 Tue 22 Feb , Mark Wielaard wrote: On Tue, 2011-02-22 at 16:58 +0200, Pekka Enberg wrote: While debugging Jython bootstrap issues with GNU Classpath, I noticed that HashMap.DEFAULT_CAPACITY is set to 11 although 1.4 Javadocs, for example, define it to be 16. Signed-off-by:

Re: [cp-patches] [PATCH] Fix Formatter.parseInt() wrt. leading zeroes

2011-02-16 Thread Dr Andrew John Hughes
On 18:57 Wed 16 Feb , Pekka Enberg wrote: The following test case: public class StringTest { public static void main(String[] args) { System.out.println(String.format(%08x, 1234)); } } produces the following error: Exception in thread main

Re: [cp-patches] [PATCH] Implement Pattern.quote() API method

2011-01-27 Thread Dr Andrew John Hughes
On 01:13 Fri 28 Jan , Ivan Maidanski wrote: Hi, Ok, since even if OpenJDK quote() is buggy, nonetheless we should reproduce its behavior in the Classpath. ;) Sadly, this is usually true, though obviously the specification should also be checked for agreement. Regards. Thu, 27

Re: [cp-patches] [PATCH] Implement Pattern.quote() API method

2011-01-26 Thread Dr Andrew John Hughes
already contains \Q Regards. Tue, 25 Jan 2011 23:30:41 +0200 Pekka Enberg penb...@cs.helsinki.fi: On Mon, 2011-01-24 at 23:36 +, Dr Andrew John Hughes wrote: Oh this is one of Ivan's? I didn't spot that. Which number is it? (so I don't review it all over again

Re: [cp-patches] [PATCH] Implement Pattern.quote() API method

2011-01-26 Thread Dr Andrew John Hughes
On 22:15 Wed 26 Jan , Pekka Enberg wrote: On Wed, 2011-01-26 at 20:10 +, Dr Andrew John Hughes wrote: On 22:41 Wed 26 Jan , Ivan Maidanski wrote: Hi, It's ok but: 1. I'd better rewrote check for null (IMHO looks better): try { Pattern.quote

Re: [cp-patches] [PATCH] Implement Pattern.quote() API method

2011-01-26 Thread Dr Andrew John Hughes
On 22:29 Wed 26 Jan , Pekka Enberg wrote: On Wed, Jan 26, 2011 at 10:25 PM, Dr Andrew John Hughes ahug...@redhat.com wrote: On 22:15 Wed 26 Jan     , Pekka Enberg wrote: On Wed, 2011-01-26 at 20:10 +, Dr Andrew John Hughes wrote: On 22:41 Wed 26 Jan     , Ivan Maidanski wrote

Re: [cp-patches] [PATCH] Implement Pattern.quote() API method

2011-01-25 Thread Dr Andrew John Hughes
On 11:26 Tue 25 Jan , Pekka Enberg wrote: On Tue, Jan 25, 2011 at 1:36 AM, Dr Andrew John Hughes ahug...@redhat.com wrote: On 23:22 Mon 24 Jan     , Pekka Enberg wrote: On 22 January 2011 19:38, Pekka Enberg penb...@kernel.org wrote: From: Ivan Maidanski iv...@mail.ru 2010-07-02

Re: [cp-patches] [PATCH] Implement Pattern.quote() API method

2011-01-24 Thread Dr Andrew John Hughes
, 2011 at 2:38 AM, Dr Andrew John Hughes gnu_and...@member.fsf.org wrote: The javadoc is incomplete; the parameter and return value are not documented. Do you have some test cases for this? No, I don't. Ivan, do you have test cases for this? If not, I can write one for Mauve. Oh

Re: [cp-patches] [PATCH] Fix PrintStream constructor API differences for null

2011-01-23 Thread Dr Andrew John Hughes
On 23 January 2011 12:41, Pekka Enberg penb...@kernel.org wrote: On Sun, 2011-01-23 at 00:36 +, Dr Andrew John Hughes wrote: What is the current behaviour?  Does it eventually throw an NPE but just performs a lot of additional computation first?  Or does it throw some other error

Re: [cp-patches] [PATCH] Fix PrintStream constructor API differences for null

2011-01-22 Thread Dr Andrew John Hughes
On 22 January 2011 19:13, Pekka Enberg penb...@kernel.org wrote: 2011-01-22  Pekka Enberg penb...@kernel.org        * java/io/PrintStream.java        (PrintStream): Throw NullPointerException if out or encoding        is null to be compatible with OpenJDK. ---  java/io/PrintStream.java |    

Re: [cp-patches] [PATCH] Implement Pattern.quote() API method

2011-01-22 Thread Dr Andrew John Hughes
On 22 January 2011 19:38, Pekka Enberg penb...@kernel.org wrote: From: Ivan Maidanski iv...@mail.ru 2010-07-02  Ivan Maidanski  iv...@mail.ru        * java/util/regex/Pattern.java:        (quote): Implement new 1.5 Java API method. ---  ChangeLog                    |    5 +  

Re: [cp-patches] [PATCH] Fix java.lang.Class field and method API for null names

2011-01-21 Thread Dr Andrew John Hughes
On 13:33 Fri 21 Jan , Pekka Enberg wrote: On Mon, Dec 13, 2010 at 5:41 PM, Pekka Enberg penb...@kernel.org wrote: On Mon, Dec 13, 2010 at 2:53 PM, Dr Andrew John Hughes ahug...@redhat.com wrote: OK, I'm sorry I'm having some difficulties adjusting to GNU style of working. I'll update

[cp-patches] FYI: PR42390: Add security check to ObjectOutputStream(OutputStream constructor)

2010-12-25 Thread Dr Andrew John Hughes
This patch adds a missing security check to the ObjectOutputStream(OutputStream) constructor as reported in PR42390. 2010-12-25 Andrew John Hughes ahug...@redhat.com PR classpath/42390 * java/io/ObjectOutputStream.java: (ObjectOutputStream(OutputStream)): Add

[cp-patches] FYI: PR42390: Add security check to LogManager.{add, remove}PropertyChangeListener

2010-12-25 Thread Dr Andrew John Hughes
Another missing security check reported in PR42390: 2010-12-25 Andrew John Hughes ahug...@redhat.com PR classpath/42390 * java/util/logging/LogManager.java: (addPropertyChangeListener(PropertyChangeListener)): Document fully. Throw NPE in a clearer way. Add

[cp-patches] FYI: PR42390 Add missing security check in java.io.File#isHidden()

2010-12-25 Thread Dr Andrew John Hughes
Another one from PR42390: 2010-12-25 Andrew John Hughes ahug...@redhat.com PR classpath/42390 * java/io/File.java: (isHidden()): Add and document missing security check. -- Andrew :) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) Support

[cp-patches] FYI: Provide implies shortcut for ProtectionDomain instances with AllPermission

2010-12-24 Thread Dr Andrew John Hughes
in GNU Classpath. 2010-12-24 Andrew John Hughes ahug...@redhat.com * java/security/ProtectionDomain.java, (hasAllPermissions): Add new field. (ProtectionDomain(CodeSource,PermissionCollection, ClassLoader,Principal,boolean)): Check if permission

Re: [cp-patches] [PATCH] Fix java.lang.Class field and method API for null names

2010-12-13 Thread Dr Andrew John Hughes
On 14:41 Mon 13 Dec , Pekka Enberg wrote: On Mon, Dec 13, 2010 at 12:08 PM, Andrew Haley a...@redhat.com wrote: On 12/12/2010 11:46 AM, Pekka Enberg wrote: This patch fixes Class getDeclaredField, getDeclaredMethod, getField, and getMethod API to throw NullPointerException if given name

Re: [cp-patches] [PATCH v2] Fix VMClass#getSimpleName() implementation

2010-12-13 Thread Dr Andrew John Hughes
On 22:52 Wed 08 Dec , Pekka Enberg wrote: This patch replaces VMClass#getSimpleName() implementation with JamVM's version that supposedly comes from GCJ. This fixes a compatibility problem found by Malva. Signed-off-by: Pekka Enberg penb...@kernel.org ---

Re: [cp-patches] Fwd: Patch for parse() of DecimalFormat and SimpleDateFormat

2010-12-07 Thread Dr Andrew John Hughes
On 00:19 Tue 07 Dec , Pekka Enberg wrote: 2010/12/6 Ivan Maidanski iv...@mail.ru: Googling around doesn't seem to bring anything on the topic which makes me think this is an old bug that nobody really cares about but there can be applications out there that rely on the current behavior

[cp-patches] FYI: PR46775: Ensure setPolicy calls are reflected by the default SecurityManager

2010-12-02 Thread Dr Andrew John Hughes
ProtectionDomain objects with the two argument constructor which enforces static permissions. This fix replaces these calls with the four argument constructor so the Policy is consulted. 2010-12-02 Andrew John Hughes ahug...@redhat.com PR classpath/46775 * vm/reference/java/security

[cp-patches] FYI: Fix issues with recent autotools

2010-11-05 Thread Dr Andrew John Hughes
The attached patch adds the missing config.rpath now required by the use of AM_ICONV (presumably due to changes in libtool which seems to have supplied it previously) and fixes some warnings arising with autoconf 2.68. 2010-11-04 Andrew John Hughes ahug...@redhat.com * config.rpath

Re: [cp-patches] [PATCH v2] Use CLOCK_MONOTONIC for System.nanoTime

2010-11-04 Thread Dr Andrew John Hughes
On 26 October 2010 21:00, Pekka Enberg penb...@kernel.org wrote: Hi everyone, I'm now carrying this and one other patch in my github branch:  http://github.com/penberg/classpath/tree/maint/penberg It's frustrating that CVS trunk doesn't build out of the box and that reviewed patches are

Re: [cp-patches] Membership request for group classpath

2010-11-04 Thread Dr Andrew John Hughes
. Tue, 01 Jun 2010 14:56:07 +0400 Ivan Maidanski iv...@mail.ru: Hi! Tue, 1 Jun 2010 11:32:25 +0100 Andrew John Hughes ahug...@redhat.com: On 21:22 Sat 29 May     , Ivan Maidanski wrote: Hello, Andrew! I've signed the copyright paper and also recently received it (with the both

Re: [cp-patches] [PATCH v2] Use CLOCK_MONOTONIC for System.nanoTime

2010-11-04 Thread Dr Andrew John Hughes
On 4 November 2010 13:27, Pekka Enberg penb...@kernel.org wrote: On 11/4/10 3:18 PM, Dr Andrew John Hughes wrote: Sorry for the delay on this, but I'm unsure about the copyright situation.  From reading http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44411, it seems to be the work of Roland

Re: [cp-patches] [PATCH v2] Use CLOCK_MONOTONIC for System.nanoTime

2010-11-04 Thread Dr Andrew John Hughes
On 5 November 2010 00:16, Dr Andrew John Hughes gnu_and...@member.fsf.org wrote: On 4 November 2010 13:27, Pekka Enberg penb...@kernel.org wrote: On 11/4/10 3:18 PM, Dr Andrew John Hughes wrote: Sorry for the delay on this, but I'm unsure about the copyright situation.  From reading http

Re: [cp-patches] [PATCH] native: Use CLOCK_MONOTONIC for System.nanoTime

2010-09-23 Thread Dr Andrew John Hughes
On 23 September 2010 17:20, Pekka Enberg penb...@kernel.org wrote: From: Roland Brand roland.br...@ergon.ch As explained by AdamB:  On Linux, Classpath appears to implement the System.nanoTime() function using  the gettimeofday function (see java_lang_VMSystem.c).  Since gettimeofday  

Re: [cp-patches] [PATCH v2] Use CLOCK_MONOTONIC for System.nanoTime

2010-09-23 Thread Dr Andrew John Hughes
On 23 September 2010 18:43, Pekka Enberg penb...@kernel.org wrote: From: Roland Brand roland.br...@ergon.ch As explained by AdamB:  On Linux, Classpath appears to implement the System.nanoTime() function using  the gettimeofday function (see java_lang_VMSystem.c).  Since gettimeofday  

Re: [cp-patches] Minor debugging-related code refinements in gnu.java.security and gnu.javax.crypto

2010-09-02 Thread Dr Andrew John Hughes
On 14:30 Sun 09 May , Ivan Maidanski wrote: Hi! This is a very minor code refinement - I just guarded the code initializing log variables (which are used only for debugging in the classes of the entitled packages) with if (Configuration.DEBUG), so the Logger stuff is no longer

Re: [cp-patches] [commit-cp] classpath ChangeLog javax/print/attribute/stand...

2010-07-30 Thread Dr Andrew John Hughes
On 30 July 2010 11:58, Andrew Haley a...@redhat.com wrote: CVSROOT:        /sources/classpath Module name:    classpath Changes by:     Andrew Haley aph      10/07/30 10:58:20 Modified files:        .              : ChangeLog        javax/print/attribute/standard: JobStateReasons.java Log

Re: [cp-patches] [commit-cp] classpath ChangeLog javax/print/attribute/stand...

2010-07-30 Thread Dr Andrew John Hughes
On 30 July 2010 12:05, Dr Andrew John Hughes ahug...@redhat.com wrote: On 30 July 2010 11:58, Andrew Haley a...@redhat.com wrote: CVSROOT:        /sources/classpath Module name:    classpath Changes by:     Andrew Haley aph      10/07/30 10:58:20 Modified files

Re: [cp-patches] What's about bug 36560 (Error parsing zip file...)?

2010-07-13 Thread Andrew John Hughes
[mailto:classpath-patches- boun...@gnu.org] On Behalf Of Ivan Maidanski Sent: Monday, June 28, 2010 9:41 AM To: classpath-patches Cc: Daniel Noll; Andrew John Hughes Subject: [cp-patches] What's about bug 36560 (Error parsing zip file...)? Hello! Andrew - could you apply the proposed patch (http

Re: [cp-patches] vm/reference code refinements

2010-07-08 Thread Andrew John Hughes
On 14:40 Fri 18 Jun , Ivan Maidanski wrote: Hi! This the reformatted log entries for my patch #2 (http://thread.gmane.org/gmane.comp.java.classpath.patches/12938/focus=12940) ChangeLog entries: * vm/reference/gnu/classpath/VMStackWalker.java: Make the default constructor

Re: [cp-patches] Patches for Classpath

2010-06-22 Thread Andrew John Hughes
On 09:51 Tue 22 Jun , Ivan Maidanski wrote: Mon, 21 Jun 2010 22:03:42 +0100 Andrew John Hughes ahug...@redhat.com: On 08:34 Mon 12 Apr , Ivan Maidanski wrote: Sun, 11 Apr 2010 20:46:29 +0100 Andrew John Hughes ahug...@redhat.com: On 13:26 Fri 09 Apr , Ivan

Re: [cp-patches] Patches for Classpath

2010-06-22 Thread Andrew John Hughes
On 11:38 Tue 22 Jun , Ivan Maidanski wrote: Tue, 22 Jun 2010 09:51:31 +0400 Ivan Maidanski iv...@mail.ru: Mon, 21 Jun 2010 22:03:42 +0100 Andrew John Hughes ahug...@redhat.com: On 08:34 Mon 12 Apr , Ivan Maidanski wrote: Sun, 11 Apr 2010 20:46:29 +0100 Andrew John

Re: [cp-patches] Patches for Classpath

2010-06-21 Thread Andrew John Hughes
On 08:34 Mon 12 Apr , Ivan Maidanski wrote: Sun, 11 Apr 2010 20:46:29 +0100 Andrew John Hughes ahug...@redhat.com: On 13:26 Fri 09 Apr , Ivan Maidanski wrote: ... * examples/gnu/classpath/examples/swing/Demo.java (mkMenuBar): Pass an empty class array

Re: [cp-patches] Minor refactoring of PrintStream

2010-06-16 Thread Andrew John Hughes
2010/6/15 Ivan Maidanski iv...@mail.ru: Hi! How fast! Tue, 15 Jun 2010 19:07:18 +0100 Andrew John Hughes ahug...@redhat.com: 2010/6/15 Ivan Maidanski iv...@mail.ru: Hi! Here, the proposed changes of PrintStream are: 1. to be closer to the RI behavior (see changes for line_separator

Re: [cp-patches] A fix for Bidi and an optimization for CollationElementIterator

2010-06-16 Thread Andrew John Hughes
On 23:02 Wed 16 Jun , Ivan Maidanski wrote: Hi! This patch contains: - a fix for Bidi constructor (text field wasn't initialized); Good catch. I presume the constructor currently throws an NPE? - 2 code optimizations (for speed) in Bidi and CollationElementIterator). Could you

Re: [cp-patches] Minor refactoring of PrintStream

2010-06-15 Thread Andrew John Hughes
2010/6/15 Ivan Maidanski iv...@mail.ru: Hi! Here, the proposed changes of PrintStream are: 1. to be closer to the RI behavior (see changes for line_separator, out.flush(), append()); While some of these are sensible changes, how are you discovering the 'RI behaviour' in the cases where it

[cp-patches] FYI: Cleanup AC_PROG_JAVA/JAVAC macros

2010-05-27 Thread Andrew John Hughes
run multiple times. 2010-05-04 Andrew John Hughes ahug...@redhat.com * configure.ac: Call AC_PROG_JAVA_WORKS and AC_PROG_JAVAC_WORKS in place of AC_PROG_JAVA and AC_PROG_JAVAC respectively, as this is the real test we want. * m4/ac_prog_java.m4

[cp-patches] FYI: Disable the plugin by default in GNU Classpath

2010-05-27 Thread Andrew John Hughes
This patch disables the plugin by default and adds a warning about its unmaintained status, should it be enabled. 2010-05-27 Andrew John Hughes ahug...@redhat.com * configure.ac: Disable plugin by default and warn about unmaintained status when enabled. -- Andrew

Re: [cp-patches] FYI: Disable the plugin by default in GNU Classpath

2010-05-27 Thread Andrew John Hughes
On 27 May 2010 19:52, Andrew Haley a...@redhat.com wrote: On 05/27/2010 04:49 PM, Andrew Haley wrote: On 05/27/2010 04:45 PM, Andrew John Hughes wrote: This patch disables the plugin by default and adds a warning about its unmaintained status, should it be enabled. 2010-05-27  Andrew John

[cp-patches] FYI: Generic fixes for gnu.javax.print.ipp.IppResponse and gnu.javax.print.ipp.IppPrintService

2010-04-28 Thread Andrew John Hughes
As subject. 2010-04-28 Andrew John Hughes ahug...@redhat.com * gnu/javax/print/ipp/IppPrintService.java: (printerAttr): Add generic typing. (printServiceAttributeListener): Likewise. (flavors): Likewise. (printerUris): Likewise. (IppPrintService

[cp-patches] FYI: Normalize whitespace in gnu.javax.print

2010-04-27 Thread Andrew John Hughes
This patch normalises the whitespace in gnu.javax.print.*. The changes were generated using the Sun script here: http://mail.openjdk.java.net/pipermail/jdk6-dev/2009-September/000785.html Tabs are replaced with spaces and trailing whitespace is removed. 2010-04-27 Andrew John Hughes ahug

[cp-patches] FYI: Add generic types to gnu.javax.print.ipp.IppUtilities

2010-04-27 Thread Andrew John Hughes
This patch adds generic types in IppUtilities.java, fixing nearly a hundred warnings. 2010-04-28 Andrew John Hughes ahug...@redhat.com * gnu/javax/print/ipp/IppUtilities.java: (INTEGER_CLASS_ARRAY): Use generic typing. (TEXT_CLASS_ARRAY): Likewise

[cp-patches] FYI: Fix remaining getCategory() return types

2010-04-27 Thread Andrew John Hughes
is returned instead. 2010-04-27 Andrew John Hughes ahug...@redhat.com * gnu/javax/print/ipp/IppRequest.java: (write(RequestedAttributes)): Fix for change in return value of RequestedAttributes.getValues(). * gnu/javax/print/ipp/attribute/DetailedStatusMessage.java

Re: [cp-patches] vm/reference code refinements

2010-04-12 Thread Andrew John Hughes
2010/4/12 Ivan Maidanski iv...@mail.ru: Hi! The proposed (attached) patch doesn't really contain bug fixes, it just refines the reference VM classes (like making the classes/methods package-private instead of public and prohibiting class instantiation). The ChangeLog entries:        *

[cp-patches] FYI: Update Classpath build system to handle latest autotools

2010-01-29 Thread Andrew John Hughes
This patch updates GNU Classpath so it will build against the newer autotools installed on current systems (including libtool-2.*). 2010-01-30 Andrew John Hughes ahug...@redhat.com * autogen.sh: Allow libtool 2.* through. * configure.ac: Updated via autoupdate

[cp-patches] FYI: PR41686 Implement KerberosTicket.getSessionKeyType()

2010-01-29 Thread Andrew John Hughes
This patch adds a missing method required by OpenJDK builds (see PR41686: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41686). It also adds two toString() methods for KerberosTicket and KeyImpl. ChangeLog: 2010-01-30 Andrew John Hughes ahug...@redhat.com PR classpath/41686

[cp-patches] FYI: Add missing JAPI results

2010-01-29 Thread Andrew John Hughes
This patch syncs Classpath's copy of the www.gnu.org/software/classpath website with changes made a while back to add newer JAPI results. Changelog: 2010-01-30 Andrew John Hughes ahug...@redhat.com * doc/www.gnu.org/home.wml: Add newer JAPI results. -- Andrew :) Free Java

[cp-patches] [builder] FYI: Update JAPI support for OpenJDK6+7

2009-07-30 Thread Andrew John Hughes
. ChangeLog: 2009-07-30 Andrew John Hughes gnu_and...@member.fsf.org * RunJapi: Change openjdk and openjdk6 to icedtea7 and icedtea6 respectively to represent the source of the build. Postfix openjdk with 7 for future proofing. Add a comparison between 6

Re: [cp-patches] Split gnu/javax/swing/text/html/parser/HTML_401F.java

2009-07-27 Thread Andrew John Hughes
2009/7/14 Audrius Meskauskas audri...@bluewin.ch: On Sun, Jul 12, 2009 at 10:27:07PM +0200, Gerald Pfeifer wrote: On Wed, 1 Jul 2009, Andrew Haley wrote: I haven't studied how exactly is --enable-java-maintainer-mode compiling the classes; if I just gcj -C HTML_401F.java on Fedora

Re: [cp-patches] StAX API change for final version

2009-07-07 Thread Andrew John Hughes
2009/7/7 Chris Burdess d...@bluezoo.org: Our current StAX API is based on an early version. This change brings it in line with the final API implemented in J2SE 6.0. 2009-07-07  Ludovic Claude  ludovic.cla...@laposte.net        PR java/40663        *

Re: [cp-patches] StAX API change for final version

2009-07-07 Thread Andrew John Hughes
2009/7/7 Chris Burdess d...@bluezoo.org: Andrew John Hughes wrote: 2009/7/7 Chris Burdess d...@bluezoo.org: Our current StAX API is based on an early version. This change brings it in line with the final API implemented in J2SE 6.0. 2009-07-07  Ludovic Claude  ludovic.cla...@laposte.net

[cp-patches] FYI: PR40630 Correctly handle end-of-file in java.util.Scanner

2009-07-07 Thread Andrew John Hughes
to create a Matcher, call toMatchResult and elicit a NullPointerException. ChangeLog: 2009-07-07 Andrew John Hughes ahug...@redhat.com PR classpath/40630 * java/util/Scanner.java: (myCoreNext(boolean, Pattern)): Set tmp2 to null if the string is empty (i.e. we

Re: [cp-patches] StAX API change for final version

2009-07-07 Thread Andrew John Hughes
2009/7/7 Chris Burdess d...@bluezoo.org: Andrew John Hughes wrote: On closer inspection, there may be an issue as Ludovic does not have a copyright assignment.  Both look more complicated at present than simple renaming. The first issue, #40653, involves only a trivial change (a few one

Re: [cp-patches] RFC: Fix type-punning issues with GCC 4.4

2009-07-03 Thread Andrew John Hughes
2009/6/19 Andrew John Hughes ahug...@redhat.com: GCC 4.4 produces more warnings relating to type-punning: http://gcc.gnu.org/gcc-4.4/porting_to.html which now causes Classpath builds with -Werror to fail. This patch fixes the issues by replacing the use of a shared pointer for the IPv4

[cp-patches] FYI: Fix PR39408 in gjavah

2009-03-25 Thread Andrew John Hughes
: 2009-03-26 Andrew John Hughes ahug...@redhat.com * tools/gnu/classpath/tools/javah/ClassWrapper.java: (linkSupers()): Make package-private. * tools/gnu/classpath/tools/javah/JniIncludePrinter.java: (writeFields(ClassWrapper, JniPrintStream)): Link in data

[cp-patches] FYI: Fix generic issues in gjavah

2009-03-20 Thread Andrew John Hughes
This patch cleans up the gjavah source code so it no longer produces a mass of warnings related to generics. We're a little restricted in what we can do by the external ASM library which is not yet using generics, either in GNU Classpath or upstream. ChangeLog: 2009-03-20 Andrew John Hughes

[cp-patches] FYI: Fix generic warnings

2009-03-09 Thread Andrew John Hughes
This patch fixes a few more of the warnings related to generic typing and unused variables. ChangeLog: 2009-03-09 Andrew John Hughes ahug...@redhat.com * gnu/javax/swing/text/html/css/Selector.java: Use CPStringBuilder. Use typed list of maps rather than an array

[cp-patches] FYI: [generics-cleanup] Disable warnings for CORBA classes

2009-02-13 Thread Andrew John Hughes
ecj complains about the use of Class instead of Class?, but we are forced to use the raw type to be compatible. This patch disables the warning. ChangeLog: 2009-02-14 Andrew John Hughes ahug...@redhat.com * org/omg/CORBA/LocalObject.java, * org/omg/CORBA/portable/Delegate.java

[cp-patches] FYI: PR38912 Respect stringInterning in gnu.xml.stream.XMLParser

2009-02-05 Thread Andrew John Hughes
The returned string should have been interned if stringInterning is true. This patch from Mark fixes this. No javax.xml Mauve regressions were apparent with this patch (though we may not have enough such tests) and it appears correct. ChangeLog: 2009-02-05 Mark Wielaard m...@klomp.org

[cp-patches] FYI: libgcj/38861 Support XULRunner 1.9.1

2009-02-05 Thread Andrew John Hughes
This patch from Andrew Haley allows gcjwebplugin to build against the latest XULRunner, 1.9.1. The plugin still builds and runs with XULRunner 1.9.0. ChangeLog: 2009-02-05 Andrew Haley a...@redhat.com PR libgcj/38861 * native/plugin/gcjwebplugin.cc: Cope with the changed

[cp-patches] FYI: Prepare for the 0.98 release

2009-02-05 Thread Andrew John Hughes
Update the NEWS list and bump the version number. 2009-02-05 Andrew John Hughes ahug...@redhat.com * NEWS: Updated. * configure.ac: Bump to 0.98 proper. -- Andrew :) Support Free Java! Contribute to GNU Classpath and the OpenJDK http://www.gnu.org/software/classpath

[cp-patches] FYI: Add VM updates in 0.98

2009-02-05 Thread Andrew John Hughes
This updates NEWS with the VM updates in 0.98. 2009-02-05 Andrew John Hughes ahug...@redhat.com * NEWS: Add VM updates. -- Andrew :) Support Free Java! Contribute to GNU Classpath and the OpenJDK http://www.gnu.org/software/classpath http://openjdk.java.net PGP Key: 94EFD9D8 (http

[cp-patches] FYI: GCC 4.3.3 build fix

2009-02-04 Thread Andrew John Hughes
This fixes a warning that causes a build failure when compiling with -Werror on GCC 4.3.3. ChangeLog: 2009-02-03 Andrew John Hughes ahug...@redhat.com * native/jni/native-lib/cpproc.c: (cpproc_forkAndExec): Handle return of chdir. -- Andrew :) Support Free Java

[cp-patches] FYI: Revert part of the last patch

2009-02-04 Thread Andrew John Hughes
I've reverted the return on chdir = -1. The warning is still fixed by assigning the result to a variable. We should come back to this after the release. ChangeLog: 2009-02-04 Andrew John Hughes ahug...@redhat.com * native/jni/native-lib/cpproc.c: (cpproc_forkAndExec): Don't

Re: [cp-patches] FYI: GCC 4.3.3 build fix

2009-02-04 Thread Andrew John Hughes
2009/2/4 Robert Lougher rob.loug...@gmail.com: Hi Andrew, 2009/2/4 Andrew John Hughes gnu_and...@member.fsf.org: This fixes a warning that causes a build failure when compiling with -Werror on GCC 4.3.3. ChangeLog: 2009-02-03 Andrew John Hughes ahug...@redhat.com * native/jni

[cp-patches] FYI: PR38417 PRNG generates predictable numbers

2009-02-03 Thread Andrew John Hughes
This fix from Mario should fix this security issue by changing the PRNGs in the crypto classes to use the VMSecureRandom support. ChangeLog: 2009-01-22 Mario Torre neug...@aicas.com PR classpath/38417: * gnu/java/security/jce/prng/SecureRandomAdapter.java:

[cp-patches] FYI: PR38417 Fix build issues

2009-02-03 Thread Andrew John Hughes
This fixes some build issues associated with Mario's patch. It was necessary to move java.security.VMSecureRandom to gnu.java.security.jce.prng.VMSecureRandom so it could be accessed. ChangeLog: 2009-02-03 Andrew John Hughes ahug...@redhat.com PR classpath/38417: * gnu/java

[cp-patches] [builder] FYI: Generate full libgcj JAPI results too

2009-01-08 Thread Andrew John Hughes
We also need to generate gnu.* and sun.* data for libgcj too to do the comparison... ChangeLog: 2009-01-08 Andrew John Hughes gnu_and...@member.fsf.org * RunJapi: Create a libgcj-full.japi.gz so the gnu and sun packages can be compared. -- Andrew :) Support Free Java

[cp-patches] [builder] FYI: Update RunJapi to do a comparison between Classpath in full and libgcj/jikesrvm

2009-01-07 Thread Andrew John Hughes
This patch creates a new JAPI file, classpath-full.japi.gz which contains all classes (i.e. including gnu and sun ones), which is then used to give a comparison between Classpath CVS and the derivatives, libgcj and jikesrvm. ChangeLog: 2009-01-07 Andrew John Hughes gnu_and...@member.fsf.org

[cp-patches] FYI: Distribute 2008 ChangeLog

2009-01-05 Thread Andrew John Hughes
Simple patch to add ChangeLog-2008 to the list of extra distribution files. ChangeLog: 2009-01-05 Andrew John Hughes gnu_and...@member.fsf.org * Makefile.am: Add ChangeLog-2008 to EXTRA_DIST. -- Andrew :) Support Free Java! Contribute to GNU Classpath and the OpenJDK http

[cp-patches] FYI: Fix integer formatting in MessageFormat

2009-01-02 Thread Andrew John Hughes
to changes in 1.4. This corrects it. ChangeLog: 2009-01-02 Andrew John Hughes gnu_and...@member.fsf.org * java/text/MessageFormat.java: (setLocale(Locale)): Integer format should use NumberFormat.getIntegerInstance. -- Andrew :) Support Free Java! Contribute to GNU

[cp-patches] FYI: Cleanup of java.text classes #01

2008-12-31 Thread Andrew John Hughes
This fixes a number of warnings in some java.text classes and adds a few minor optimisations (use of final fields, ArrayLists in place of Vectors where synchronisation is not needed). ChangeLog: 2008-12-31 Andrew John Hughes gnu_and...@member.fsf.org * java/text/MessageFormat.java

Re: [cp-patches] FYI: Fix regression in SimpleDateFormat

2008-12-31 Thread Andrew John Hughes
2008/12/31 Andrew Haley a...@redhat.com: Andrew John Hughes wrote: The standard characters set in SimpleDateFormat should match the length of the localised characters obtained from our locale data. ChangeLog: 2008-12-30 Andrew John Hughes gnu_and...@member.fsf.org * java/text

[cp-patches] FYI: Emulate Vector.setSize() in MessageFormat

2008-12-31 Thread Andrew John Hughes
until the specified size is achieved by adding null values to the end. ChangeLog: 2008-12-31 Andrew John Hughes gnu_and...@member.fsf.org * java/text/MessageFormat.java: (parse(String,ParsePosition)): Emulate behaviour of Vector's setSize() which was being implicitly relied

[cp-patches] FYI: Fix regression in SimpleDateFormat

2008-12-30 Thread Andrew John Hughes
The standard characters set in SimpleDateFormat should match the length of the localised characters obtained from our locale data. ChangeLog: 2008-12-30 Andrew John Hughes gnu_and...@member.fsf.org * java/text/SimpleDateFormat.java: (standardChars): Use standard characters

[cp-patches] FYI: Add missing 1.6 methods to String

2008-12-22 Thread Andrew John Hughes
This adds a few simple methods that were added to String in 1.6. ChangeLog: 2008-12-22 Andrew John Hughes gnu_and...@member.fsf.org * java/lang/String.java: (byte[],int,int,String): Call new Charset method. (stringToCharset(String)): Private method added

[cp-patches] FYI: Bug fix to last patch

2008-12-17 Thread Andrew John Hughes
This is a bug fix for my last patch; forgot to add the null terminator needed for C strings... 2008-12-18 Andrew John Hughes gnu_and...@member.fsf.org * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c: Include '\0' in the string. -- Andrew :) Support Free

  1   2   3   4   5   6   7   >