I'm having a little trouble w/ classlib build when invoking from an ant
task outside of trunk/
To demonstrate, go to enhanced/classlib and run the following ant script :
?xml version=1.0 encoding=UTF-8?
project name=test default=default basedir=.
target name=default
ant dir=trunk/
I had same problems several days ago, and I finally resolved it in same
way - move the local copy to c:\harmony. IIRC, some html files in some
sandbox directory has very long names.
Geir Magnusson Jr wrote:
It's hard to imagine I'm writing this in 2006, but it seems that our
paths in
Andrew Zhang wrote:
On 7/19/06, Richard Liang [EMAIL PROTECTED] wrote:
Tim Ellison wrote:
Richard Liang wrote:
Although the spec does not require the round-trip of applyPattern and
toPattern, we still want to get one *certain* pattern through
toPattern.
Now the problem is the returned
Andrew Zhang wrote:
On 7/19/06, Paulex Yang [EMAIL PROTECTED] wrote:
I tried the test, and it failed as you said with RI on my WinXP. And I
also tried to pass in a read/write FileChannel got from
RandomAccessFile, the test passes.
Paulex, the test fails on my machine!
Seems RI returns
On 7/20/06, Geir Magnusson Jr [EMAIL PROTECTED] wrote:
I'm having a little trouble w/ classlib build when invoking from an ant
task outside of trunk/
To demonstrate, go to enhanced/classlib and run the following ant script :
?xml version=1.0 encoding=UTF-8?
project name=test default=default
Sounds reasonable.
SY, Alexey
2006/7/20, Paulex Yang [EMAIL PROTECTED]:
Andrew Zhang wrote:
On 7/19/06, Richard Liang [EMAIL PROTECTED] wrote:
Tim Ellison wrote:
Richard Liang wrote:
Although the spec does not require the round-trip of applyPattern and
toPattern, we still want to
The issue mentioned below disapperead after the latest changes for class
library.
Nevertheless I'm not clear a clue for this build error. In any case thanks
for this fix.
Vladimir.
On 7/19/06, Vladimir Gorr [EMAIL PROTECTED] wrote:
Can anybody say about the build status on Windows we have
Where was the problem? Compiling?
SY, Alexey
2006/7/20, Geir Magnusson Jr [EMAIL PROTECTED]:
It's hard to imagine I'm writing this in 2006, but it seems that our
paths in classlib, plus a root directory that is some number of
directories from c:, can be so long that svn and other tools choke
FYI, from http://linuxboxadmin.com/articles/filefriction.php :
Windows file names can be up to 255 characters, but that includes the
full path.
A lot characters are wasted if the default storage location is used:
C:\Documents and Settings\USER\My Documents\.
Regards, David.
On 20.07.2006,
It also could be the problem of command line length while executing
compiler for example.
2006/7/20, David Tanzer [EMAIL PROTECTED]:
FYI, from http://linuxboxadmin.com/articles/filefriction.php :
Windows file names can be up to 255 characters, but that includes the
full path.
A lot characters
This was the build break I tried to own up to yesterday. It was caused
by my refactoring of exception function - to have one set not several.
(I missed the extern C clause and included it in some C++ code.)
-Mark.
On 20 July 2006 at 14:30, Vladimir Gorr [EMAIL PROTECTED] wrote:
The issue
Andrey Chernyshev wrote:
On 7/17/06, Oliver Deakin [EMAIL PROTECTED] wrote:
Andrey Chernyshev wrote:
SNIP
So, IMHO one of the first things that should be done after entering
DestroyJavaVM is to check for pending exceptions, and clear them
if they're going to interfere with the shutdown
You're right, that's a possibility too. But the command line can be
quite long
under windows [1] (depending on how you execute the program) so my guess
would be that the limitation is the file name length.
Regards, David.
[1] http://blogs.msdn.com/oldnewthing/archive/2003/12/10/56028.aspx
On
Yep, I think that we should start from the error message.
Geir?
2006/7/20, David Tanzer [EMAIL PROTECTED]:
You're right, that's a possibility too. But the command line can be
quite long
under windows [1] (depending on how you execute the program) so my guess
would be that the limitation is the
On 7/19/06, Paulex Yang [EMAIL PROTECTED] wrote:
I tried the test, and it failed as you said with RI on my WinXP. And I
also tried to pass in a read/write FileChannel got from
RandomAccessFile, the test passes. I consider this is RI's bug, because
no way to have such different behavior in this
Hi George,
Wow, they are fast guys! Thanks for the link. Do you know when do they
plan to release 5.0 officially?
Regards,
2006/7/19, George Harley [EMAIL PROTECTED]:
Hi Alexei,
I just downloaded the latest working build of TestNG 5.0 [1] and support
for the jvm attribute is in there. This
Richard Liang wrote:
George Harley wrote:
Richard Liang wrote:
George Harley wrote:
Hi,
If annotations were to be used to help us categorise tests in order
to simplify the definition of test configurations - what's included
and excluded etc - then a core set of annotations would need
Alexei Zakharov wrote:
Hi George,
Wow, they are fast guys! Thanks for the link. Do you know when do they
plan to release 5.0 officially?
Regards,
Hi Alexei,
Actually, I just saw this announcement in my news reader about 15
minutes ago ...
http://beust.com/weblog/archives/000400.html
Hello all.
Salikh Zakirov wrote:
far below are results of my experiments with Log4cxx's ResourceBundle.
(I've managed to find it in Log4cxx documentation after carefully
rereading your original post).
The good news is that it does localization (severely limited).
The prototype has following
2006/7/19, Geir Magnusson Jr [EMAIL PROTECTED]:
While it's not a critical thing, this seems like something we want to
put to bed. Tim tried taking a run at this for one of these last week,
and I'd like to try again.
Would some number of days of discussion (like 3) plus a vote be an
acceptable
Jimmy,
Please add readFile.delete() and writeFile.delete() in the end of test
or .deleteOnExit() in any place. Files created by createTempFile are
not cleaned up automatically.
On 7/19/06, Jimmy, Jing Lv [EMAIL PROTECTED] wrote:
Hi:
I find a conflict that RI does not behave as spec says
Hello,
I'm having trouble with an application. This problem concerns creating
java.net.Socket on host 0.0.0.0.
The test below illustrates this problem:
import java.net.*;
public class Test {
public static void main(String args[]) throws Throwable {
Hm... I commented on dev-list on this issue already in using classlib
launcher in DRLVM.
JNI specification explicitly states that:
-
After an exception has been raised, the native code must first clear the
exception before
On 20 July 2006 at 15:34, Victor A Martynov [EMAIL PROTECTED] wrote:
Hello,
I'm having trouble with an application. This problem concerns creating
java.net.Socket on host 0.0.0.0.
What platform? Works for me on Linux (debian testing).
-Mark.
The test below illustrates this problem:
Paulex Yang wrote:
I had same problems several days ago, and I finally resolved it in same
way - move the local copy to c:\harmony. IIRC, some html files in some
sandbox directory has very long names.
These were ser files in modules/security/src/test/something...
We should note this
Add this line to the test to clarify the situation:
System.out.println(ss.getInetAddress());
I think that for PC with multiple network adapters serversocket IP must be
specified manually.
On 7/20/06, Victor A Martynov [EMAIL PROTECTED] wrote:
Hello,
I'm having trouble
I wonder if it's fixed in Vista :)
On 7/20/06, Geir Magnusson Jr [EMAIL PROTECTED] wrote:
Paulex Yang wrote:
I had same problems several days ago, and I finally resolved it in same
way - move the local copy to c:\harmony. IIRC, some html files in some
sandbox directory has very long
Hello Mark,
I run the example on MS Windows XP, Harmony classlib+DRLVM dated 11 july
2006.
c:\testc:\Harmony\bin\ij -version
Apache Harmony DRLVM HEAD-4807 (2006-05-02), Windows/ia32/msvc 1310, debug
=
Warm Regards,
Victor Martynov,
Intel Middleware Product Division
On 7/20/06, Mark
Vladimir Gorr wrote:
On 7/20/06, Geir Magnusson Jr [EMAIL PROTECTED] wrote:
I'm having a little trouble w/ classlib build when invoking from an ant
task outside of trunk/
[SNIP]
The following fix eliminates your issue:
?xml version=1.0 encoding=UTF-8?
project name=test
The documentation of java.net.Socket says nothing about 0.0.0.0 address,
but documentation on java.net.DatagramSocket has a reference to it:
http://java.sun.com/j2se/1.4.2/docs/api/java/net/DatagramSocket.html
If the IP address is 0.0.0.0, the socket will be bound to the wildcard
address, an IP
Hello Mikhail,
Here are the results of running the modified test:
---
import java.net.*;
public class Test {
public static void main(String args[]) throws Throwable {
ServerSocket ss = new
Mikhail Fursov wrote:
Add this line to the test to clarify the situation:
System.out.println(ss.getInetAddress());
I think that for PC with multiple network adapters serversocket IP must be
specified manually.
I don't think so. 0.0.0.0 should mean all of them,
George,
I remember my past experience with BeanShell - I was trying to create
the custom BeanShell task for ant 1.6.1. I can't say I haven't
succeeded. But I remember this as a rather unpleasant experience. At
that time BeanShell appeared to me as a not very well tested
framework. Please don't
patch welcome ;)
geir
Pavel Pervov wrote:
Hm... I commented on dev-list on this issue already in using classlib
launcher in DRLVM.
JNI specification explicitly states that:
-
After an exception has been raised, the native
checking out of subversion!
geir
Alexey Petrenko wrote:
Where was the problem? Compiling?
SY, Alexey
2006/7/20, Geir Magnusson Jr [EMAIL PROTECTED]:
It's hard to imagine I'm writing this in 2006, but it seems that our
paths in classlib, plus a root directory that is some number of
Ivanov, Alexey A wrote:
Hi all.
BTW, my default locale is Russian
That's the reason. DecimalFormatTest is locale-dependent, but the test
logic doesn't take it into account. In Russian locale, comma is used as
decimal separator but not dot. And it is the reason why some tests fail.
I
Geir Magnusson Jr wrote:
Paulex Yang wrote:
I had same problems several days ago, and I finally resolved it in same
way - move the local copy to c:\harmony. IIRC, some html files in some
sandbox directory has very long names.
These were ser files in
Hello Mark,
I checked the behavior of the test on Linux. It seems that the problem
exists on MS Windows only:
--
[EMAIL PROTECTED]:~ uname -a
Linux server 2.6.5-7.145lxset1-smp #1
On 7/20/06, Mikhail Fursov [EMAIL PROTECTED] wrote:
The documentation of java.net.Socket says nothing about 0.0.0.0 address,
but documentation on java.net.DatagramSocket has a reference to it:
http://java.sun.com/j2se/1.4.2/docs/api/java/net/DatagramSocket.html
If the IP address is 0.0.0.0, the
On 7/20/06, Geir Magnusson Jr [EMAIL PROTECTED] wrote:
Vladimir Gorr wrote:
On 7/20/06, Geir Magnusson Jr [EMAIL PROTECTED] wrote:
I'm having a little trouble w/ classlib build when invoking from an ant
task outside of trunk/
[SNIP]
The following fix eliminates your issue:
?xml
We have a bug. 0.0.0.0 should be all adapters, and is legit.
Can you file a JIRA?
Victor A Martynov wrote:
Hello Mikhail,
Here are the results of running the modified test:
---
import java.net.*;
public class Test {
If you haven't guessed from my random checkins, questions, and
befuddlement, I'm finishing off a first cut at a federated build.
The plan is to cut a hdk and a jre snapshot. The HDK will contain the
jre, but I thought it would be more conventional for users to get a
plain jre and not have to
2006/7/20, Alexey Petrenko [EMAIL PROTECTED]:
That's a different types of sockets. You specify address to BIND for
DatagramSocket and address to CONNECT for Socket.
Address to bind can be chosen by underlying system.
But how do you suggest to choose address to connect? :)
I'll check the IP
On 7/20/06, Geir Magnusson Jr [EMAIL PROTECTED] wrote:
Mikhail Fursov wrote:
Add this line to the test to clarify the situation:
System.out.println(ss.getInetAddress());
I think that for PC with multiple network adapters serversocket IP must
be
specified manually.
Yes, you're right - any of them.
BTW I tried to build debug version of classlib to have HYSOCKDEBUG enabled
and have a problem with build (lack of experience)
I tried to add -DDEBUG flag to classlib\trunk\depends\build\defines.mak and
rerun ant build but nothing was rebuilded.
What is the right
Hi Mikhail,
I don't think this description of DatagramSocket constructor is
somehow applicable to the Victor's example. In this description we
deal with *local* address to bind DatagramSocket to (to receive
DatagramPackets). But in the example above 0.0.0.0 is used as a
*destination* address for
I agree Pavel - it should be fixed in the launcher. But, as I said in
[1], we should
give some consideration to the fact that the RI and IBM vms exit gracefully
under the same circumstances, and that perhaps we should also try to
fix this in the drlvm to match their behaviour.
I started to
Alexey Varlamov wrote:
Good news: with patches for HARMONY-677, I was able to run 1.5 classes
on DRLVM + classlib built with target=1.5.
But, I had some fun with the default javac (tried Sun jdk1.5.0_06 and
jrockit-jdk1.5.0-windows-ia32), which outwits itself in optimizing
String
Alexei Zakharov wrote:
George,
I remember my past experience with BeanShell - I was trying to create
the custom BeanShell task for ant 1.6.1. I can't say I haven't
succeeded. But I remember this as a rather unpleasant experience. At
that time BeanShell appeared to me as a not very well tested
Investigation shows that ChoiceFormatTest fails because of the same
reason as DecimalFormatTest. ChoiceFormat uses DecimalFormat to parse
template passed. And the template contains 1.0is 1+, so that
DecimalFormat stops parsing when it encounters '.' because dot is not
decimal separator in Russian
Hello buildmasters,
One note: ant fetch-depends seem not to work behind proxy - it fails
after timeout. Adding proxy settings to depends.properties didn't
help.
The problem solved after I've added
setproxy proxyhost=${http.proxyHost} proxyport=${http.proxyPort}/
in the beginning of
Andrew Zhang wrote:
Hi everyone,
I have one more question:
Which exception should be thrown whose error code is unused?
Let's consider native throwJavaNetSocketException quoted from nethelp.c:
void
throwJavaNetSocketException (JNIEnv * env, I_32 errorNumber)
{
jclass aClass;
Paulex Yang wrote:
I still confuse what we want to test, the logic or the data? I think
most (if not all) i18n related methods actually have same single
executable with multiple resource bundles, i.e., the single executable
should be locale-independent, the different return value is due to the
Geir Magnusson Jr wrote:
I've asked Sun about this. It would be nice if people could re-use
their root cert store.
What format does IBM and BEA use?
FWIW the IBM Java SDK passes through the Sun format JKS. Besides JKS
there is also the BouncyCastle format (BKS) and a GNU keystore format.
Just to say, good stuff -- this is on my out-of-control 'must reply to'
list.
Tim
Geir Magnusson Jr wrote:
I took what we had in the roadmap thread and put on the site in the
roadmap section.
I also cobbled together a first cut at a 1 year timeline (very simple -
classlib done by end of
Tim Ellison wrote:
Geir Magnusson Jr wrote:
I've asked Sun about this. It would be nice if people could re-use
their root cert store.
What format does IBM and BEA use?
FWIW the IBM Java SDK passes through the Sun format JKS.
Does passes through means it's able to use it?
Besides JKS
Earlier this morning, 2.7M emails were generated by a wayward commit (in
another project).
This put the ASF delivery system into a bit of a backlog, which is why
mail has been slow and weird today. Thanks for your patience.
It's catching up, but there are a few hours left before normalcy. This
I have a HDK and JRE for linux on
http://people.apache.org/~geir/harmony
(I'm still battling windows...)
The VM was built in release mode, and I have to say, it's not too shabby!
If no one has any objections or showstoppers, I'd like to post both
linux and win to our snapshot download
Geir Magnusson Jr wrote:
I have a HDK and JRE for linux on
http://people.apache.org/~geir/harmony
I get a 404.
--
Stefano.
-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail:
That's because I'm a moron and my userid is 'geirm'
http://people.apache.org/~geirm/harmony
I'm uploading windows versions now. Note they have no AWT/Swing support
right now.
geir
Stefano Mazzocchi wrote:
Geir Magnusson Jr wrote:
I have a HDK and JRE for linux on
Anton Luht wrote:
Jimmy,
Please add readFile.delete() and writeFile.delete() in the end of test
or .deleteOnExit() in any place. Files created by createTempFile are
not cleaned up automatically.
Ah yes, sorry for that, thanks!
So temp files may not controlled by OS itself even they are in
Dear all,
On behalf of ITC, I have submitted as H-935 a new implementation of
java.math combining previously donated implementations. It includes
what we think are the best features of H-380 (donated by Intel) and
the best features of H-199 (donated by ITC). We have also fixed some
bugs from
2006/7/21, Geir Magnusson Jr [EMAIL PROTECTED]:
Tim Ellison wrote:
Geir Magnusson Jr wrote:
I've asked Sun about this. It would be nice if people could re-use
their root cert store.
What format does IBM and BEA use?
FWIW the IBM Java SDK passes through the Sun format JKS.
Does passes
cool!
2006/7/21, Daniel Fridlender [EMAIL PROTECTED]:
Dear all,
On behalf of ITC, I have submitted as H-935 a new implementation of
java.math combining previously donated implementations. It includes
what we think are the best features of H-380 (donated by Intel) and
the best features of
Geir,
I have been working off and on with on putting together
a contribution for this purpose. It has all the things you
mentioned plus some more things. If you like, I would
be glad to put it together shortly and submit for The List's
inspection and approval. What do you say?
Dan Lydick
Well, go for it! See what I have in there now and see what you think...
geir
bootjvm wrote:
Geir,
I have been working off and on with on putting together
a contribution for this purpose. It has all the things you
mentioned plus some more things. If you like, I would
be glad to put it
Excellent. Maybe we can put this dual math thing to bed?
Daniel Fridlender wrote:
Dear all,
On behalf of ITC, I have submitted as H-935 a new implementation of
java.math combining previously donated implementations. It includes
what we think are the best features of H-380 (donated by
Mikhail Loenko wrote:
2006/7/21, Geir Magnusson Jr [EMAIL PROTECTED]:
Tim Ellison wrote:
Geir Magnusson Jr wrote:
I've asked Sun about this. It would be nice if people could re-use
their root cert store.
What format does IBM and BEA use?
FWIW the IBM Java SDK passes through
Hi Vladimir,
I noticed the same problem is existing in many places of NIO module.
How about writing a utility function for array index exception check? like:
void assertArrayIndex(Object[] array, int offset, int length){
if(offset 0 || length 0 || (long)offset + (long)length array.length
Seems, the same problem is existing not in NIO module only. In any case, it
will be useful to use one method instead of many copies of code. That's for
me, I just can't find the appropriate class for 'package' functions so fix
it inline.
Seems, the function like:
void assertArrayIndex(int
I think you may need to chmod the windows snapshots. All I get are forbidden
responses and the files aren't globally readable in SFTP.
-Nathan
-Original Message-
From: Geir Magnusson Jr [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 20, 2006 7:22 PM
To:
-Original Message-
From: Nathan Beyer [mailto:[EMAIL PROTECTED]
Sent: Friday, July 21, 2006 12:17 AM
To: harmony-dev@incubator.apache.org; [EMAIL PROTECTED]
Subject: RE: [general] hdk and jre for review...
I think you may need to chmod the windows snapshots. All I
get are
2006/7/21, Magnusson, Geir [EMAIL PROTECTED]:
-Original Message-
From: Nathan Beyer [mailto:[EMAIL PROTECTED]
Sent: Friday, July 21, 2006 12:17 AM
To: harmony-dev@incubator.apache.org; [EMAIL PROTECTED]
Subject: RE: [general] hdk and jre for review...
I think you may need to
Thanks - fixed. Please verify
I thought he meant the chmod-like setting *inside* the zip.
Geir
--
Geir Magnusson Jr
SSG/MPD
[EMAIL PROTECTED]
+1 203 665 6437
-Original Message-
From: Alexey Varlamov [mailto:[EMAIL PROTECTED]
Sent: Friday, July 21, 2006 12:28 AM
To:
-Original Message-
From: Magnusson, Geir [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 20, 2006 11:20 PM
To: harmony-dev@incubator.apache.org
Subject: RE: [general] hdk and jre for review...
-Original Message-
From: Nathan Beyer [mailto:[EMAIL PROTECTED]
Sent:
Verified.
--
Alexey
-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I fixed. Try now
--
Geir Magnusson Jr
SSG/MPD
[EMAIL PROTECTED]
+1 203 665 6437
-Original Message-
From: Nathan Beyer [mailto:[EMAIL PROTECTED]
Sent: Friday, July 21, 2006 12:35 AM
To: harmony-dev@incubator.apache.org
Subject: RE: [general] hdk and jre for review...
I can download it now and just about to do some smoke tests, but I noticed
that the windows JRE zip contains the entire HDK build and seems to be
exactly like the HDK zip.
-Nathan
-Original Message-
From: Magnusson, Geir [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 20, 2006 11:39 PM
I tried running Eclipse 3.2 on the Windows JRE build and it launches the
splash screen and the workspace selection dialog, but after you click ok, it
pukes and spits out the following to standard error.
ERROR: Destructive unwinding: C++ objects detected on stack!
droping 0x05BDF430
setting
Hi everybody,
How about placing these methods in utli.java in o.a.h.module.util package?
Best regards,
Andrew
On 7/21/06, Vladimir Ivanov [EMAIL PROTECTED] wrote:
Seems, the same problem is existing not in NIO module only. In any case,
it
will be useful to use one method instead of many
On 7/21/06, Vladimir Ivanov [EMAIL PROTECTED] wrote:
Seems, the same problem is existing not in NIO module only. In any case,
it
will be useful to use one method instead of many copies of code. That's
for
me, I just can't find the appropriate class for 'package' functions so fix
it inline.
On windows, I was able to launch Eclipse 3.1.1 sucessfully, edit and run HWA.
Did just one correction :)
Index: harmony-hdk-r424020\jdk\jre\bin\eclipse.bat
@@ -4,1 +4,1
- set
BUILD_HOME=C:\dev\apache\harmony\enhanced\trunk\working_vm\build\win_ia32_msvc_release\deploy\jre
+ set
On 7/21/06, Andrew Zhang [EMAIL PROTECTED] wrote:
Invoking assertArray(array.length, 0, -1) will throw NullPointerException
instead of IndexOutOfBoundException. It's not compatible with RI.
Do you think so?
No. We should check reference before using :) To corectly process a NPE we
should
83 matches
Mail list logo