Hi all,
I am proud to announce the release of Jato v0.0.1 buy more RAM-edition!
Jato is a JIT-only virtual machine for Java that can run some simple programs
under GNU/Linux on modern 32-bit x86 CPUs. A port to the x86-64 machine
architecture is currently being developed. Jato depends on GNU
when there's nothing to load
x86-64: fix call to fixup_vtable() from trampolines
Jim Huang (1):
vm: Update URL to Java online documentation
Pekka Enberg (146):
runtime: Implement Runtime.availableProcessors()
runtime: Implement Runtime.freeMemory() and Runtime.totalMemory
On Wed, Dec 8, 2010 at 1:53 AM, Dr Andrew John Hughes
gnu_and...@member.fsf.org wrote:
As soon as I am back I would like us to at least start moving to
mercurial on savannah if people don't mind.
Yes, I do mind.
We already discussed this some time back:
On Wed, Dec 8, 2010 at 1:53 AM, Dr Andrew John Hughes
gnu_and...@member.fsf.org wrote:
For those who didn't see Pekka's blog on planet.classpath.org you can
find it here:
http://penberg.posterous.com/whats-the-future-of-gnu-classpath
He makes some very good points. I agree with all of them.
On Wed, Dec 8, 2010 at 12:32 PM, Andrew Haley a...@redhat.com wrote:
Anyway, I don't mind that as long as someone else does it. (Clearly,
the issue of developers without commit access is a red herring, as
every developer should have commit access.)
But it's not a red herring! I don't expect
On Wed, Dec 8, 2010 at 12:32 PM, Andrew Haley a...@redhat.com wrote:
I hereby offer to review some patches. Please send pointers to the
list.
http://developer.classpath.org/pipermail/classpath-patches/2010-November/006511.html
On Wed, Dec 8, 2010 at 12:32 PM, Andrew Haley a...@redhat.com wrote:
But I'm afraid people are looking at the things they think might make
a difference, but won't make a difference. I read the list, and
haven't seen a huge number of unreviewed patches, but I admit I
haven't been paying close
Hi Andrew,
On Wed, Dec 8, 2010 at 1:06 PM, Andrew Haley a...@redhat.com wrote:
On 12/08/2010 10:56 AM, Pekka Enberg wrote:
On Wed, Dec 8, 2010 at 12:32 PM, Andrew Haley a...@redhat.com wrote:
Anyway, I don't mind that as long as someone else does it. (Clearly,
the issue of developers without
On Wed, Dec 8, 2010 at 1:13 PM, Andrew Haley a...@redhat.com wrote:
There's also 10-15 patches from Ivan sitting in the archives
Hmm, I had seen some discussion around those and thought they were being
addressed. Bring them on!
I'm not sure if this is all of it but it's a start anyway:
On Wed, Dec 8, 2010 at 1:13 PM, Andrew Haley a...@redhat.com wrote:
http://developer.classpath.org/pipermail/classpath-patches/2010-November/006512.html
What compatibility problem does this fix?
That the result is not what we get with OpenJDK. JamVM, for example,
(and I guess CACAO) has fixed
On Wed, Dec 8, 2010 at 1:41 PM, Andrew Haley a...@redhat.com wrote:
I'm not sure if this is all of it but it's a start anyway:
http://developer.classpath.org/pipermail/classpath-patches/2010-June/006411.html
Ah, yes, these were the patches that were sent hex encoded with a
MIME type of
On Wed, Dec 8, 2010 at 1:47 PM, Andrew Haley a...@redhat.com wrote:
That the result is not what we get with OpenJDK. JamVM, for example,
(and I guess CACAO) has fixed this in their tree as has GCJ. The test
case I used for this is ClassTest.testGetSimpleName() here:
On Wed, Dec 8, 2010 at 2:03 PM, Andrew Haley a...@redhat.com wrote:
No need to live with it, I'll fix it up and resend.
This is truly weird. The gcj patch says:
2008-05-22 Andrew Haley a...@redhat.com
PR libgcj/35020
* java/lang/Class.java (getSimpleName): Import from GNU
for getSimpleName().
Pekka
From 3637ab8ec4f866da6fadc092eab1f99ce4adb417 Mon Sep 17 00:00:00 2001
From: Pekka Enberg penb...@kernel.org
Date: Sun, 12 Dec 2010 10:52:27 +0200
Subject: [PATCH] mauve: Add test case for Class.getSimpleName()
Signed-off-by: Pekka Enberg penb
On Thu, Dec 16, 2010 at 12:36 PM, Andrew Haley a...@redhat.com wrote:
On 05/19/2010 09:13 PM, KessiMC wrote:
Hi everyone
Having finally become somewhat more confident in trying to cross-compile
GNU
Classpath, I dastardly failed on my most recent attempt with the following
error message:
invokedynamic so I think GNU Classpath probably needs to support it at
some point anyway.
Pekka
From 6dca9b60d6c2380164920e40302f08616a6874b6 Mon Sep 17 00:00:00 2001
From: Pekka Enberg penb...@kernel.org
Date: Thu, 3 Feb 2011 16:47:15 +0200
Subject: [PATCH] Invokedynamic API
Hi!
On Thu, 2011-02-03 at 16:47 +0200, Pekka Enberg wrote:
I'd like to check in these simple invokedynamic API stubs into CVS HEAD.
The APIs are not final but I think now is as good time as any to start
working on them especially as it needs work on the VM side. Furthermore,
there's already
81362427a842e815bfe354036cd4201ee781880a Mon Sep 17 00:00:00 2001
From: Pekka Enberg penb...@kernel.org
Date: Thu, 3 Feb 2011 16:29:15 +0200
Subject: [PATCH] Invokedynamic API stubs
This patch implements the work-in-progress invokedynamic API stubs described
here:
http://download.oracle.com/javase/7/docs/api/java/dyn/package
mentioned) and there is work actively
taking place.
Then there's always the (slim) possibility someone else can work on it :-)
On Mon, 2011-02-07 at 22:01 +0200, Pekka Enberg wrote:
That was my original thinking as well. Does the included patch look
better to you? Mark, what do you think about
start up under the VM (requires GNU Classpath CVS HEAD)
- Annotation support (Pekka Enberg, Nikhil Sarda)
- More missing JNI APIs implemented (Joonas Reynders, Nikhil Sarda)
- More missing reflection APIs implemented (Nikhil Sarda)
- Linux/x86-64 port fixes (Eduard - Gabriel Munteanu
Hi,
I'm trying to build GNU Classpath CVS HEAD on Mac OS X 10.6.7. I
followed these instructions to satisfy the autoconf 2.65 requirement:
http://www.mattvsworld.com/blog/2010/02/install-the-latest-autoconf-and-automake-on-mac-os-10-6/
However, when I try to run 'autogen.sh' I get the following
On Tue, Jul 5, 2011 at 12:53 PM, Mark Wielaard m...@klomp.org wrote:
Hi Pekka,
On Tue, 2011-07-05 at 12:28 +0300, Pekka Enberg wrote:
I'm trying to build GNU Classpath CVS HEAD on Mac OS X 10.6.7. I
followed these instructions to satisfy the autoconf 2.65 requirement:
http
Hi all,
I started hacking on invokedynamic again:
https://github.com/penberg/classpath/commit/21c457f4928678bb5709dfc5a992b80f0d02c4b8
https://github.com/penberg/jato/commits/indy
I'm planning to use ASM for generating bytecode for method handle
chains. Does that sound like a reasonable thing
Hi Mark,
On Thu, Sep 8, 2011 at 10:33 PM, Mark Wielaard m...@klomp.org wrote:
I don't know much about what is needed for invoke dynamic byte code
generation. Note that java/lang/reflect/Proxy.java for example also can
generate byte code, but just does it by hand. Is such an approach
possible?
Hi all,
I'm seeing this on Fedora 15:
[penberg@tux classpath.cvs]$ sh autogen.sh
configure.ac:505: warning: AC_LIB_PREPARE_PREFIX is m4_require'd but
not m4_defun'd
m4/iconv.m4:11: AM_ICONV_LINKFLAGS_BODY is expanded from...
m4/iconv.m4:22: AM_ICONV_LINK is expanded from...
m4/iconv.m4:77:
On Tue, 2011-09-27 at 15:31 +0300, Pekka Enberg wrote:
I'm seeing this on Fedora 15:
[penberg@tux classpath.cvs]$ sh autogen.sh
configure.ac:505: warning: AC_LIB_PREPARE_PREFIX is m4_require'd but
not m4_defun'd
m4/iconv.m4:11: AM_ICONV_LINKFLAGS_BODY is expanded from...
m4/iconv.m4:22
On Thu, Sep 29, 2011 at 2:54 PM, Mark Wielaard m...@klomp.org wrote:
It seems gnulib also provides lib-prefix.m4 in the havelib module. Maybe
we should just incorporate it from there and not depend on gettext-devel
to be installed (I am a bit fuzzy on why we have the
On Mon, Oct 10, 2011 at 12:04 PM, Mark Wielaard m...@klomp.org wrote:
Thanks to Pekka Enberg there are now experimental hg and git mirrors of
all the GNU Classpath and Mauve CVS repository modules on icedtea:
http://icedtea.classpath.org/mirror/hg/
http://icedtea.classpath.org/mirror/git
was failing with a SIGSEGV.
test/integration: Added some more bytecode tests.
test/integration: Added bytecode tests for istore, lstore, fstore and
dstore.
vm, gc: Improved error handling.
Pekka Enberg (219):
vm: Fix VM launcher help text
test/functional: Fix broken
On Wed, Feb 1, 2012 at 6:33 PM, Andrew Hughes ahug...@redhat.com wrote:
There are a lot of unreleased fixes in there, including these latest locale
improvements.
JRuby and Jython won't even start up with .98 so I'm definitely for .99 release!
Hello,
0.99 is almost out of the door so I'd like to begin the discussion on
version control migration. AFAICT, we've all agreed that we'll dump
CVS but left the decision open to which tool we'll migrate.
What I'd personally like to see is that once 0.99 is out, we shut down
CVS, convert the git
On Mon, Mar 12, 2012 at 10:00 PM, Andrew Hughes ahug...@redhat.com wrote:
Well, you probably know from
http://developer.classpath.org/pipermail/classpath/2012-March/003180.html
that I'm in favour of a move to git sooner rather than later.
How about we give it a week from now (say Monday
Hi,
I went through japitools results that compared GNU Classpath to Oracle
JDK and noticed that the following APIs are missing:
Java 1.5
- Lots of java.net APIs
- Pack200 format support
Java 1.6
- JDBC 4.0 API
Java 1.7
- NIO2 API
- Invokedynamic API
Anything else that I didn't spot?
On Tue, Mar 20, 2012 at 12:28 AM, Andrew Hughes ahug...@redhat.com wrote:
As the deadline has now passed, I've populated the git repository on Savannah:
http://git.savannah.gnu.org/cgit/classpath.git
This is now the active development repository and the old CVS repository is
obsolete.
Yay!
On Fri, Mar 16, 2012 at 9:50 PM, Dr Andrew John Hughes
ahug...@redhat.com wrote:
We are proud to announce the release of GNU Classpath 0.99.
The web site doesn't mention the new release yet. How can we update it?
On Thu, Mar 29, 2012 at 6:40 PM, Andrew Haley a...@redhat.com wrote:
zebedee:classpath $ git push ssh://git.savannah.gnu.org/cgit/classpath.git/
fatal: '/cgit/classpath.git' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
Any idea what git wants to do the
On Thu, Mar 29, 2012 at 12:47 PM, Andrew Haley a...@redhat.com wrote:
There's a very odd comment in this file: it clearly refers to some
method in another file. But what was it for, anyway? Surely the
name of a method and its signature is contained in the code. I'd just
delete it.
/*
*
Hi Pavel,
I noticed two issues with your current Mauve classinfo test cases with
GNU Classpath.
- I need the attached patch to make the Object classinfo tests run
with JamVM/GNU Classpath; otherwise I see syntax errors while Mauve
is trying to compile the test classes.
- The tests
Hello,
GNU Classpath build fails as follows with stock Fedora 17 libtools:
[penberg@golgotha classpath]$ sh autogen.sh
configure.ac:505: warning: AC_LIB_PREPARE_PREFIX is m4_require'd but
not m4_defun'd
m4/iconv.m4:11: AM_ICONV_LINKFLAGS_BODY is expanded from...
m4/iconv.m4:22: AM_ICONV_LINK is
Hello,
On Mon, Mar 11, 2013 at 3:20 PM, Andrew Hughes gnu.and...@redhat.com wrote:
I wasn't aware we did.
What version of libtool does F17 have? I build with 2.4.2 at present.
Oh dear. I was missing gettext-devel package again! How can we add
some magic to autogen.sh to be more friendly to
Hi Brian,
On Mon, Mar 11, 2013 at 4:41 PM, Brian Jones cbjon...@gmail.com wrote:
Add a configure check for whatever the dependency is...
I'm having difficult time figuring out what to check for... It seems
that gettext-devel package provides AC_LIB_PREPARE_PREFIX via
On Tue, Mar 12, 2013 at 12:47 PM, Andrew Hughes gnu.and...@redhat.com wrote:
Looking at rpm -ql gettext-devel on my RHEL system, it seems to add a slew
of m4 files to /usr/share/aclocal. Maybe if -e /usr/share/aclocal/gettext.m4
in autogen.sh would be sufficient?
The attached patch works for
On Mon, Apr 8, 2013 at 2:47 PM, Alexander Samilovskih
alexsamilovs...@gmail.com wrote:
Trying to build
./autogen.sh
configure.ac:505: warning: AC_LIB_PREPARE_PREFIX is m4_require'd but not
[snip]
-
Google said that problem related to gettext, but i have it installed
El jueves, 4 de septiembre de 2014, Pekka Enberg penb...@kernel.org escribió:
No, it's really not unfair at all. You are basically saying Andrew is
doing a crappy job as a maintainer
On Thu, Sep 4, 2014 at 10:29 PM, Guillermo Rodriguez Garcia
guille.rodrig...@gmail.com wrote:
No, I am
On Thu, Sep 4, 2014 at 11:15 PM, Andrew Haley a...@redhat.com wrote:
Everyone: let's have a proper discussion. Is there something we can
do with GNU Classpath that takes it further forward. And, if so,
what? What would our goals be?
I think Guillermo is right that we need to update the GNU
roland.br...@ergon.ch
Bugzilla-URL: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44411
Signed-off-by: Pekka Enberg penb...@kernel.org
---
native/jni/java-lang/java_lang_VMSystem.c | 26 +-
vm/reference/java/lang/VMSystem.java |5 +
2 files changed, 26 insertions
Wielaard m...@klomp.org
Cc: Roland Brand roland.br...@ergon.ch
Bugzilla-URL: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44411
Signed-off-by: Pekka Enberg penb...@kernel.org
---
v1 - v2: Use strerror() to pass human readable error message to FatalError()
as suggested by Andrew Hughes
On 26.10.2010 23.00, Pekka Enberg 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 not getting merged
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 Brand, it's his first patch and both myself and Mark
agree it's trivial
This patch renames currentTimeMillis to currentTimeMicros in
java_lang_VMSystem.c to reflect what the function returns.
Cc: Andrew Hughes gnu_and...@members.fsf.org
Cc: Ivan Maidanski iv...@mail.ru
Signed-off-by: Pekka Enberg penb...@kernel.org
---
native/jni/java-lang/java_lang_VMSystem.c
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
---
vm/reference/java/lang/VMClass.java | 34 +-
1
: Ivan Maidanski iv...@mail.ru
Signed-off-by: Pekka Enberg penb...@kernel.org
---
native/jni/java-lang/java_lang_VMSystem.c |4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/native/jni/java-lang/java_lang_VMSystem.c
b/native/jni/java-lang/java_lang_VMSystem.c
index 44f789f
On Sun, 21 Nov 2010, Ivan Maidanski wrote:
Some issues to be corrected in you patch:
1. currentTimeMillis() should be renamed to currentTimeMicros() as it returns
microseconds (not milliseconds).
2. clock_gettime(CLOCK_MONOTONIC) may fail on some machines (even if
_POSIX_MONOTONIC_CLOCK has
[ Sorry for the delay. ]
On Sat, 27 Nov 2010, Ivan Maidanski wrote:
Sorry for the provided test below - it doesn't test the things that are fixed
by the attached patch. In fact, the test is for a bug that has been already
fixed since Classpath v0.93 (by not relying on setMaximumIntegerDigits
/classpath-patches/2010-June/006410.html
[ There's still constructor throwing IllegalArgumentException where
NPE happens with Oracle JDK. ]
The patch looks good to me apart from the line_separator static
modifier removal so FWIW,
Reviewed-by: Pekka Enberg penb...@kernel.org
Hi Ivan,
2010/12/6 Ivan Maidanski iv...@mail.ru:
Sorry for the provided test below - it doesn't test the things that
are fixed by the attached patch. In fact, the test is for a bug that has been
already fixed since Classpath v0.93 (by not relying on
setMaximumIntegerDigits
implementation).
2010/12/6 Ivan Maidanski iv...@mail.ru:
I'm bit surprised, though, that we'd want behavior that doesn't
match
Sun JRE. To me, any API behavior (even if it's a bug) that has lived
long enough in Sun JRE is what Classpath ought to aim at.
Compatibility is not just following the specification
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
that would be broken under GNU Classpath.
Not
On Tue, Dec 7, 2010 at 3:25 PM, Dr Andrew John Hughes
ahug...@redhat.com wrote:
I meant applications relying on the current behavior of OpenJDK so
it's probably not worth it to make the behavior correct in either of
the projects. But sure, I do think your patch is an improvement as-is
so I'm
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
---
vm/reference/java/lang/VMClass.java | 29 +++--
1 files
This patch fixes Class getDeclaredField, getDeclaredMethod, getField, and
getMethod API to throw NullPointerException if given name is null.
Signed-off-by: Pekka Enberg penb...@kernel.org
---
java/lang/Class.java | 12
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git
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 is null.
Thanks, but two things:
a. What
to apply.
2010-12-13 Pekka Enberg penb...@kernel.org
* java/lang/Class.java:
(getDeclaredField): Throw NullPointerException instead of
NoSuchFieldException if name is null.
(getField): Likewise.
(getDeclaredMethod): Throw NullPointerException instead
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 the patch and resend.
Please just post
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 |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
diff
.
+
2011-01-21 Pekka Enberg penb...@kernel.org
* java/lang/Class.java:
diff --git a/java/util/regex/Pattern.java b/java/util/regex/Pattern.java
index 7d1fc84..2aae9bb 100644
--- a/java/util/regex/Pattern.java
+++ b/java/util/regex/Pattern.java
@@ -1,5 +1,6 @@
/* Pattern.java -- Compiled
On Sun, 2011-01-23 at 00:36 +, Dr Andrew John Hughes wrote:
public PrintStream (OutputStream out, boolean auto_flush, String encoding)
throws UnsupportedEncodingException
{
super (out);
+if (out == null || encoding == null)
+ throw new NullPointerException();
went wrong e.g. The
specified output stream was null..
I've included an updated patch below.
Pekka
From 264f44315ba45e1ecd95b5d6aee0ec8b7ce22db0 Mon Sep 17 00:00:00 2001
From: Pekka Enberg penb...@kernel.org
Date: Sat, 22 Jan 2011 18:19:08 +0200
Subject: [PATCH] Fix
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 +
java/util
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 Ivan Maidanski iv...@mail.ru
* java
.
Here's a test case I came up with. Ivan, anything else I should test
for?
Pekka
// Tags: JDK1.5
// Copyright (C) 2011 Pekka Enberg
// This file is part of Mauve.
// Mauve is free software; you can redistribute it and/or modify
// it under the terms of the GNU General
) 2011 Pekka Enberg
// This file is part of Mauve.
// Mauve is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2, or (at your option)
// any later version.
// Mauve
/ChangeLog
@@ -1,3 +1,8 @@
+2010-07-02 Ivan Maidanski iv...@mail.ru
+
+ * java/util/regex/Pattern.java:
+ (quote): Implement new 1.5 Java API method.
+
2011-01-21 Pekka Enberg penb...@kernel.org
* java/lang/Class.java:
diff --git a/java/util/regex/Pattern.java b/java/util
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:
Hi,
It's ok but:
1. I'd better rewrote
On Wed, 2011-01-26 at 23:33 +0300, Ivan Maidanski wrote:
Please add a test for a string containing \E, e.g, abc\\E123\E
Here's a new version of the test case.
Pekka
// Tags: JDK1.5
// Copyright (C) 2011 Pekka Enberg
// This file is part of Mauve.
// Mauve is free
On Fri, 2011-01-28 at 00:31 +, Dr Andrew John Hughes wrote:
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
On Thu, 2011-01-27 at 23:28 +0300, Ivan Maidanski wrote:
2. I hope (when you were composing this test case) that you produced
the result value for abc\\E123\E manually by reading the spec, not
by executing quote() and copy-pasting its result to this test case
code ;)
I copy-pasted the result
)
at java.util.Formatter.format(Formatter.java:1442)
at java.lang.String.format(String.java:1984)
at java.lang.String.format(String.java:1990)
at StringTest.main(StringTest.java:3)
This patch fixes the issue by switching to Integer.parseInt() in
java.util.Formatter.parseInt().
Signed-off-by: Pekka Enberg penb
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: Pekka Enberg penb...@kernel.org
---
ChangeLog |6 ++
java/util/HashMap.java |5
This patch is needed to run Jython 2.5.2 RC 4 under JamVM and GNU Classpath CVS
HEAD. It turns out Jythin bootstrap is bit hairy and assumes HashMap.put()
checks for hashCode equality before invoking Object.equals().
Signed-off-by: Pekka Enberg penb...@kernel.org
---
ChangeLog
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());
Signed-off-by: Pekka Enberg penb...@kernel.org
---
ChangeLog
(JEditorPane.java:715)
at org.jpc.j2se.JPCApplication.clinit(JPCApplication.java:55)
at java.lang.VMClass.forName(Native Method)
...2 more
Signed-off-by: Pekka Enberg penb...@kernel.org
---
javax/swing/text/html/StyleSheet.java |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git
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 since the fix was pretty simple and I was able
to work out why the
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 and commit straight away. If not,
prefix the
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:
(Java_java_nio_VMDirectByteBuffer_allocate): Check for negative
Signed-off-by: Pekka Enberg penb...@kernel.org
---
java/util/regex/Matcher.java | 23 +++
1 files changed, 23 insertions(+), 0 deletions(-)
diff --git a/java/util/regex/Matcher.java b/java/util/regex/Matcher.java
index 2d058fb..8d033d5 100644
--- a/java/util/regex
.html
mjw the patch to support the -i option should be incorporated soon and
we'll be able to add the creation of the index to the glibj.zip by default.
mjw soon just happens the be 5 years...
Signed-off-by: Pekka Enberg penb...@kernel.org
---
lib/Makefile.am |2 +-
1 files changed, 1
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-INF
$(JAR) i glibj.zip
else
-by: Pekka Enberg penb...@kernel.org
---
native/jni/java-lang/java_lang_VMSystem.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/native/jni/java-lang/java_lang_VMSystem.c
b/native/jni/java-lang/java_lang_VMSystem.c
index 047c2b3..5c4a65b 100644
--- a/native/jni/java-lang
-by: Pekka Enberg penb...@kernel.org
---
v1 - v2: Use HAVE_CLOCK_GETTIME
configure.ac |4 +++-
native/jni/java-lang/java_lang_VMSystem.c |2 +-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index f9105e9..a106e11 100644
This patch converts AnnotationInvoncationHandler to use parametrized types for
Class, Map, and Iterator which kills few compilation warnings during build.
Signed-off-by: Pekka Enberg penb...@kernel.org
---
ChangeLog | 10 ++
.../annotation
On Wed, Oct 12, 2011 at 1:28 AM, Dr Andrew John Hughes
ahug...@redhat.com wrote:
We can't do this. This class is part of the VM interface and the VM
interface is meant to work with 1.5.
Would it be OK to use @SuppressWarnings here? I'd like to make builds
less verbose.
On Wed, Oct 12, 2011
obviously broken for HashMap.put() with a null key.
Signed-off-by: Pekka Enberg penb...@kernel.org
---
java/util/HashMap.java |5 -
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/java/util/HashMap.java b/java/util/HashMap.java
index 9d64fec..4e92731 100644
--- a/java/util
On Mon, Oct 24, 2011 at 11:24 AM, Mark Wielaard m...@klomp.org wrote:
On Mon, 2011-10-24 at 10:11 +0300, Pekka Enberg wrote:
Looking at the code, it's obviously broken for HashMap.put() with a null key.
Urgh yes.
@@ -345,7 +345,10 @@ public class HashMapK, V extends AbstractMapK, V
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.
Signed-off-by: Pekka Enberg penb...@kernel.org
---
java/io/IOError.java | 54
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.
Signed-off-by: Pekka Enberg penb...@kernel.org
---
java/io/IOError.java | 54
This patch implements java/io/Console and adds a console() method to
java/lang/System. The implementation is lame but it works reasonably well.
2012-01-05 Pekka Enberg penb...@kernel.org
* java/io/Console:
Add new class.
* java/lang/System.java:
(console): Add
This patch implements java/io/Console and adds a console() method to
java/lang/System. The implementation is lame but it works reasonably well.
2012-01-06 Pekka Enberg penb...@kernel.org
* include/Makefile.am:
Add java_io_VMConsole.h.
* java/io/Console:
Add
Signed-off-by: Pekka Enberg penb...@kernel.org
---
java/lang/reflect/Member.java |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/java/lang/reflect/Member.java b/java/lang/reflect/Member.java
index fed962c..945fbf6 100644
--- a/java/lang/reflect/Member.java
+++ b/java
Signed-off-by: Pekka Enberg penb...@kernel.org
---
java/lang/ClassNotFoundException.java|6 +-
java/lang/IllegalAccessException.java|6 +-
java/lang/InstantiationException.java|6 +-
java/lang/NoSuchFieldException.java |6 +-
java
1 - 100 of 152 matches
Mail list logo