[cp-testresults] FAIL: regressions for mauve-jamvm on Fri May 9 14:07:17 UTC 2008

2008-05-09 Thread cpdev
Baseline from: Mon Mar 10 21:16:45 UTC 2008

Regressions:
FAIL: gnu.java.security.jce.TestOfHttps
FAIL: java.io.Serializable.BreakMeTestSer
FAIL: java.lang.Long.Tests15
FAIL: java.lang.Thread.sleep
FAIL: java.text.ChoiceFormat.format
FAIL: java.text.ChoiceFormat.parse
FAIL: java.text.MessageFormat.format
FAIL: java.text.SimpleDateFormat.Localization
FAIL: javax.net.ssl.SSLEngine.TestHandshake

Improvements:
PASS: gnu.javax.swing.text.html.parser.support.Parser.ParserEntityResolverTest
PASS: java.io.File.security
PASS: java.lang.StringBuffer.PR34840

New fails:

Totals:
PASS: 2928
XPASS: 0
FAIL: 202
XFAIL: 0


___
Classpath-testresults mailing list
Classpath-testresults@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath-testresults


[cp-testresults] FAIL: regressions for mauve-cacao on Fri May 9 14:31:50 UTC 2008

2008-05-09 Thread cpdev
Baseline from: Fri Mar 21 13:27:31 UTC 2008

Regressions:
FAIL: gnu.java.security.util.TestOfIntegerUtil
FAIL: java.awt.Graphics.TestPaintGraphics
FAIL: java.lang.Long.Tests15
FAIL: java.net.HttpURLConnection.timeout
FAIL: java.text.ChoiceFormat.format
FAIL: java.text.ChoiceFormat.parse
FAIL: java.text.MessageFormat.format
FAIL: java.text.SimpleDateFormat.Localization

Improvements:
PASS: gnu.javax.swing.text.html.parser.support.Parser.ParserEntityResolverTest
PASS: java.io.File.security
PASS: java.text.SimpleDateFormat.regress

New fails:

Totals:
PASS: 2950
XPASS: 0
FAIL: 200
XFAIL: 0


___
Classpath-testresults mailing list
Classpath-testresults@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath-testresults


[cp-testresults] FAIL: regressions for mauve-gij on Fri May 9 16:49:54 UTC 2008

2008-05-09 Thread cpdev
Baseline from: Fri May  9 06:21:13 UTC 2008

Regressions:
FAIL: javax.net.ssl.SSLEngine.TestHandshake

Totals:
PASS: 2898
XPASS: 0
FAIL: 251
XFAIL: 0


___
Classpath-testresults mailing list
Classpath-testresults@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath-testresults


[cp-testresults] FAIL: regressions for mauve-kaffe on Fri May 9 18:15:29 UTC 2008

2008-05-09 Thread cpdev
Baseline from: Sun May  4 04:35:12 UTC 2008

Regressions:
FAIL: java.text.ChoiceFormat.format
FAIL: java.text.ChoiceFormat.parse
FAIL: java.text.MessageFormat.format

Improvements:
PASS: gnu.javax.swing.text.html.parser.support.Parser.ParserEntityResolverTest

Totals:
PASS: 2921
XPASS: 0
FAIL: 208
XFAIL: 0


___
Classpath-testresults mailing list
Classpath-testresults@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath-testresults


[cp-testresults] FAIL: regressions for mauve-cacao on Sat May 10 00:52:25 UTC 2008

2008-05-09 Thread cpdev
Baseline from: Fri Mar 21 13:27:31 UTC 2008

Regressions:
FAIL: gnu.java.security.util.TestOfIntegerUtil
FAIL: java.lang.Long.Tests15
FAIL: java.net.HttpURLConnection.timeout
FAIL: java.net.Socket.jdk14
FAIL: java.text.ChoiceFormat.format
FAIL: java.text.ChoiceFormat.parse
FAIL: java.text.MessageFormat.format
FAIL: java.text.SimpleDateFormat.Localization

Improvements:
PASS: gnu.javax.swing.text.html.parser.support.Parser.ParserEntityResolverTest
PASS: java.io.File.security
PASS: java.text.SimpleDateFormat.regress

New fails:

Totals:
PASS: 2950
XPASS: 0
FAIL: 200
XFAIL: 0


___
Classpath-testresults mailing list
Classpath-testresults@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath-testresults


[cp-testresults] FAIL: regressions for mauve-kaffe on Sat May 10 04:31:53 UTC 2008

2008-05-09 Thread cpdev
Baseline from: Sun May  4 04:35:12 UTC 2008

Regressions:
FAIL: java.text.ChoiceFormat.format
FAIL: java.text.ChoiceFormat.parse
FAIL: java.text.MessageFormat.format
FAIL: javax.net.ssl.SSLEngine.TestHandshake

Improvements:
PASS: gnu.javax.swing.text.html.parser.support.Parser.ParserEntityResolverTest

Totals:
PASS: 2920
XPASS: 0
FAIL: 209
XFAIL: 0


___
Classpath-testresults mailing list
Classpath-testresults@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath-testresults


Re: How to build Classpath without Classpath

2008-05-09 Thread Robert Schuster
Hi,
I am maintaining the Java/Classpath stuff in OpenEmbedded and have
implemented a self-hosting toolchain like this:

jikes 1.21 - classpath 0.93 - cacao 0.98 or jamvm 1.5.0 - ecj-initial -
classpath 0.9x (x = 5) - cacao 0.98+hg20071001 (or newer) -
ecj(-bootstrap)

ecj-initial is just ecj but taught to use classpath 0.93 as its class.
The set of Java classes from ECJ that are really compiled is the same as
found in the Debian package ecj-bootstrap.

ecj-bootstrap is the Java compiler that uses classpath 0.9x and cacao
0.98+hg20071001+. It is called -bootstrap because it only has the basic
'javac' features, no ant integration and whatnot. Again the same classes
as Debian's ecj-bootstrap.

This compiler is used to compile all the Java packages, while
ecj-initial only serves the bootstrapping purposes.

Regards
Robert




signature.asc
Description: OpenPGP digital signature


Re: How to build Classpath without Classpath

2008-05-09 Thread Andrew John Hughes
2008/5/9 Robert Schuster [EMAIL PROTECTED]:
 Hi,
  I am maintaining the Java/Classpath stuff in OpenEmbedded and have
  implemented a self-hosting toolchain like this:

  jikes 1.21 - classpath 0.93 - cacao 0.98 or jamvm 1.5.0 - ecj-initial -
  classpath 0.9x (x = 5) - cacao 0.98+hg20071001 (or newer) -
  ecj(-bootstrap)

  ecj-initial is just ecj but taught to use classpath 0.93 as its class.
  The set of Java classes from ECJ that are really compiled is the same as
  found in the Debian package ecj-bootstrap.

  ecj-bootstrap is the Java compiler that uses classpath 0.9x and cacao
  0.98+hg20071001+. It is called -bootstrap because it only has the basic
  'javac' features, no ant integration and whatnot. Again the same classes
  as Debian's ecj-bootstrap.

  This compiler is used to compile all the Java packages, while
  ecj-initial only serves the bootstrapping purposes.

  Regards
  Robert




Thanks Robert.  Just to clarify, and as twisti implied,

 ecj-binary - gcj-4.3 -  classpath 0.9x (x = 5) - cacao
0.98+hg20071001 (or newer) -  ecj(-bootstrap)

is another option.  gcj is the only solution I've seen so far that
can give you a Java environment from nothing more than an ecj jar file.

ecj-binary is obtained by a script in the contrib directory of gcc.
-- 
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://subkeys.pgp.net)
Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8



Re: SPEC jvm 2008 successes?

2008-05-09 Thread Andrew John Hughes
2008/5/9 Ian Rogers [EMAIL PROTECTED]:
 Hi,

  I was wondering what success people have had running SPEC jvm 2008 [1]. My
 experiences are here [2] and I'd like to get further. If anyone succeeds I'd
 be interested to know.

  Thanks,
  Ian

  [1] http://www.spec.org/jvm2008/
  [2] http://jira.codehaus.org/browse/RVM-480
  --
  Third International Workshop on Implementation, Compilation, Optimization
 of Object-Oriented Languages, Programs and Systems (ICOOOLPS 2008)
  Submissions/Notification/Conference: May 12th/May 19th/July 7th
  Paphos (Cyprus) http://icoolps.loria.fr



If you look at my comments on the bug, you'll see this comes down to a
problem with our
ImageIO JPEG write support (done via GdkPixbuf) and a lack of metadata.

http://jfreechart.svn.sourceforge.net/viewvc/jfreechart/trunk/source/org/jfree/chart/encoders/SunJPEGEncoderAdapter.java?revision=286view=markup
-- 
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://subkeys.pgp.net)
Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8



Trying to build classpath under AIX

2008-05-09 Thread Thorbjørn Ravn Andersen

Hi.

I am trying to build jamvm+GNU Classpath under AIX 5.2 which 
unfortunately does only have Java 1.4, and I got stuck on building 
Classpath which requires Java 1.5


I tried playing around with the latest stable ecj.jar (and --disable-jni 
which I do not need) to get compilation going with that, but apparently 
it is not enough specifying the ecj.jar location.  A shell script must 
be written and my plain attempt just to script a call to java -jar 
ecj.jar did not work out well.   It misdetects which arguments the 
compiler supports- Perhaps it is an exit code thing.


What is the recommended approach to get over this.  I just need a 
headless version.


Best regards,
--
 Thorbjørn






Re: Trying to build classpath under AIX

2008-05-09 Thread Robert Lougher
Hi,

See the earlier posts about building Classpath without Classpath.

I use jikes, a native Java compiler to build an earlier non-generics
version of Classpath (you need to do this as jikes is not 1.5
compatible).  I then use this with JamVM to run ecj.  As ecj is 1.5
compatible, this can be used to build the latest version of Classpath.

With JamVM 1.5.1, compatible non-generics versions of Classpath are
0.92 or 0.93 (earlier versions of Classpath won't work).  Both of
these can be used to run ecj.

I use a simple script to run ecj:

#!/bin/sh
exec /usr/local/jamvm/bin/jamvm -Xmx512m -Xms256m \
-cp path to ecj.jar \
org.eclipse.jdt.internal.compiler.batch.Main \
$@

Rob.

On 5/9/08, Thorbjørn Ravn Andersen [EMAIL PROTECTED] wrote:
 Hi.

 I am trying to build jamvm+GNU Classpath under AIX 5.2 which unfortunately
 does only have Java 1.4, and I got stuck on building Classpath which
 requires Java 1.5

 I tried playing around with the latest stable ecj.jar (and --disable-jni
 which I do not need) to get compilation going with that, but apparently it
 is not enough specifying the ecj.jar location.  A shell script must be
 written and my plain attempt just to script a call to java -jar ecj.jar
 did not work out well.   It misdetects which arguments the compiler
 supports- Perhaps it is an exit code thing.

 What is the recommended approach to get over this.  I just need a headless
 version.

 Best regards,
 --
  Thorbjørn








Re: How to build Classpath without Classpath

2008-05-09 Thread Gustavo Guillermo Perez
El Viernes, 9 de Mayo de 2008, escribió:
 Thanks Robert.  Just to clarify, and as twisti implied,

  ecj-binary - gcj-4.3 -  classpath 0.9x (x = 5) - cacao
 0.98+hg20071001 (or newer) -  ecj(-bootstrap)
Yes very well, I having nightmares cause I can't have a binary build of gcc 
4.3 or 4.4 without errors on uClibc, I guess cross compiling is a solution 
but gcc 4.2.X and gcc 4.1.X works natively. Having java on embedded systems 
is more painful than last year.
 is another option.  gcj is the only solution I've seen so far that
 can give you a Java environment from nothing more than an ecj jar file.

 ecj-binary is obtained by a script in the contrib directory of gcc.
I'll gonna try this on my glibc env, so putting this on my uclibc env.

Great tip!.


-- 
Gustavo Guillermo Pérez
Compunauta uLinux
www.compunauta.com



Re: How to build Classpath without Classpath

2008-05-09 Thread Tom Tromey
 Gustavo == Gustavo Guillermo Perez [EMAIL PROTECTED] writes:

 ecj-binary - gcj-4.3 -  classpath 0.9x (x = 5) - cacao
 0.98+hg20071001 (or newer) -  ecj(-bootstrap)

Gustavo Yes very well, I having nightmares cause I can't have a
Gustavo binary build of gcc 4.3 or 4.4 without errors on uClibc, I
Gustavo guess cross compiling is a solution but gcc 4.2.X and gcc
Gustavo 4.1.X works natively. Having java on embedded systems is more
Gustavo painful than last year.

It seems to me that it should be possible to compile Classpath on
*any* machine with a working java environment, then copy the classes
around.

I haven't looked at the cacao or jamvm build systems in a while, but
supporting something like this would make it simpler to do ports.
For instance, we could just have a glibj.zip download somewhere --
bootstrap problem solved.

Tom



Re: How to build Classpath without Classpath

2008-05-09 Thread Mark Wielaard
Hi Tom,

On Fri, 2008-05-09 at 11:46 -0600, Tom Tromey wrote:
 For instance, we could just have a glibj.zip download somewhere --
 bootstrap problem solved.

Looking for http://builder.classpath.org/dist/ ?

README:

These are development snapshots of current CVS sources and class
files. They are meant for helping out with development and
bootstrapping. These builds can be completely broken. Please do
use the releases found at ftp://ftp.gnu.org/gnu/classpath/
whenever possible.

Cheers,

Mark




Re: How to build Classpath without Classpath

2008-05-09 Thread Gustavo Guillermo Perez
El Viernes, 9 de Mayo de 2008, escribió:
 Hi Tom,

 On Fri, 2008-05-09 at 11:46 -0600, Tom Tromey wrote:
  For instance, we could just have a glibj.zip download somewhere --
  bootstrap problem solved.
Hey I can do that, but what about rhe lib folder of gnu classpath
libraries are not binary compatible from glibc to uClibc

libgjsmalsa.lalibgtkpeer.so.0  libjavalang.la   
libjavalang.so.0  libjavanio.lalibjavautil.so.0
libgjsmalsa.solibgtkpeer.so.0.0.0  libjavalangreflect.la
libjavalang.so.0.0.0  libjavanio.solibjavautil.so.0.0.0
libgjsmalsa.so.0  libjavaio.la libjavalangreflect.so
libjavanet.la libjavanio.so.0  libjawtgnu.la
libgjsmalsa.so.0.0.0  libjavaio.so libjavalangreflect.so.0  
libjavanet.so libjavanio.so.0.0.0  libjawtgnu.so
libgtkpeer.la libjavaio.so.0   libjavalangreflect.so.0.0.0  
libjavanet.so.0   libjavautil.la   libjawtgnu.so.0
libgtkpeer.so libjavaio.so.0.0.0   libjavalang.so   
libjavanet.so.0.0.0   libjavautil.so   libjawtgnu.so.0.0.0

 Looking for http://builder.classpath.org/dist/ ?

 README:

 These are development snapshots of current CVS sources and class
 files. They are meant for helping out with development and
 bootstrapping. These builds can be completely broken. Please do
 use the releases found at ftp://ftp.gnu.org/gnu/classpath/
 whenever possible.

 Cheers,
Who saids the problem is to use a release or snapshot?, the problem is for non 
standars platforms, where you don't have a jvm and you can't run Sun's JVM.
The problem persist anyway. glibj.zip is the produc of building classpath.
:)
 Mark



-- 
Gustavo Guillermo Pérez
Compunauta uLinux
www.compunauta.com



Re: How to build Classpath without Classpath

2008-05-09 Thread Tom Tromey
 Gustavo == Gustavo Guillermo Perez [EMAIL PROTECTED] writes:

Gustavo Hey I can do that, but what about rhe lib folder of gnu classpath
Gustavo libraries are not binary compatible from glibc to uClibc

Yeah, the idea is to compile the class files only, then build the rest
on the new platform.

This may require build hackery.  And, it may require a bit of extra
hackery in the initial build, depending on what classes the desired VM
overrides, etc.

Anyway, whatever is required, it sounds simpler to me than the long
processes outlined upthread.  And, on the plus side, if the needed
Classpath build tweaks are done cleanly, we can check them in for
future users.

Tom



Running AWT/SWING apps on embedded system

2008-05-09 Thread ffileppo
Hi all,

I would like to run some sample AWT/SWING java code compiled with gcj on my 
embedded linux box (an arm-based board with a LCD screen).

I'm quite confused about what graphical libraries are needed to fill the gap 
between AWT/SWING and the linux framebuffer device.

I'd really appreaciate your help.

Thanks,

Francesco




[commit-cp] classpath ChangeLog gnu/java/util/regex/RE.java...

2008-05-09 Thread Andrew John Hughes
CVSROOT:/sources/classpath
Module name:classpath
Changes by: Andrew John Hughes gnu_andrew 08/05/09 23:05:06

Modified files:
.  : ChangeLog 
gnu/java/util/regex: RE.java REMatchEnumeration.java 
 RETokenLookBehind.java 

Log message:
2008-05-10  Andrew John Hughes  [EMAIL PROTECTED]

* gnu/java/util/regex/RE.java:
Switch to use generic ArrayLists.
* gnu/java/util/regex/REMatchEnumeration.java:
Make the enumeration implementation generic.
* gnu/java/util/regex/RETokenLookBehind.java:
Remove unused variables.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpathr1=1.9607r2=1.9608
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/util/regex/RE.java?cvsroot=classpathr1=1.7r2=1.8
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/util/regex/REMatchEnumeration.java?cvsroot=classpathr1=1.2r2=1.3
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/util/regex/RETokenLookBehind.java?cvsroot=classpathr1=1.2r2=1.3




[commit-cp] classpath ChangeLog vm/reference/gnu/java/lang/...

2008-05-09 Thread Andrew John Hughes
CVSROOT:/sources/classpath
Module name:classpath
Changes by: Andrew John Hughes gnu_andrew 08/05/09 23:30:42

Modified files:
.  : ChangeLog 
vm/reference/gnu/java/lang: VMCPStringBuilder.java 
vm/reference/gnu/java/lang/management: VMMemoryMXBeanImpl.java 
vm/reference/java/net: VMNetworkInterface.java 

Log message:
2008-05-10  Andrew John Hughes  [EMAIL PROTECTED]

* vm/reference/gnu/java/lang/VMCPStringBuilder.java,
* vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java,
* vm/reference/java/net/VMNetworkInterface.java:
Remove use of 1.5 language constructs.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpathr1=1.9608r2=1.9609
http://cvs.savannah.gnu.org/viewcvs/classpath/vm/reference/gnu/java/lang/VMCPStringBuilder.java?cvsroot=classpathr1=1.1r2=1.2
http://cvs.savannah.gnu.org/viewcvs/classpath/vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java?cvsroot=classpathr1=1.4r2=1.5
http://cvs.savannah.gnu.org/viewcvs/classpath/vm/reference/java/net/VMNetworkInterface.java?cvsroot=classpathr1=1.7r2=1.8