[classlib] trouble invoking build from 'afar'

2006-07-20 Thread Geir Magnusson Jr
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/

Re: [classlib] Warning - our long paths can be a problem for WinXP

2006-07-20 Thread Paulex Yang
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

Re: [testing] locale dependent tests

2006-07-20 Thread Paulex Yang
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

Re: [classlib][nio]the conflict of RI and spec?

2006-07-20 Thread Paulex Yang
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

Re: [classlib] trouble invoking build from 'afar'

2006-07-20 Thread Vladimir Gorr
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

Re: [testing] locale dependent tests

2006-07-20 Thread Alexey Petrenko
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

Re: [build] status

2006-07-20 Thread Vladimir Gorr
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

Re: [classlib] Warning - our long paths can be a problem for WinXP

2006-07-20 Thread Alexey Petrenko
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

Re: [classlib] Warning - our long paths can be a problem for WinXP

2006-07-20 Thread David Tanzer
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,

Re: [classlib] Warning - our long paths can be a problem for WinXP

2006-07-20 Thread Alexey Petrenko
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

Re: [build] status

2006-07-20 Thread Mark Hindess
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

Re: [drlvm] using the harmony launcher

2006-07-20 Thread Oliver Deakin
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

Re: [classlib] Warning - our long paths can be a problem for WinXP

2006-07-20 Thread David Tanzer
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

Re: [classlib] Warning - our long paths can be a problem for WinXP

2006-07-20 Thread Alexey Petrenko
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

Re: [classlib][nio]the conflict of RI and spec?

2006-07-20 Thread Mikhail Fursov
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

Re: [classlib] Testing conventions - a proposal

2006-07-20 Thread Alexei Zakharov
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

Re: [classlib] Testing conventions - a proposal

2006-07-20 Thread George Harley
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

Re: [classlib] Testing conventions - a proposal

2006-07-20 Thread George Harley
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

Re: [drlvm] proposals for VM internationalization

2006-07-20 Thread Dmitry Yershov
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

Re: [classlib] resolution of rmi/math/crypto duplication?

2006-07-20 Thread Mikhail Loenko
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

Re: [classlib][nio]the conflict of RI and spec?

2006-07-20 Thread Anton Luht
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

[classlib] Uncertain behavior of new Socket(0.0.0.0, 1099);

2006-07-20 Thread Victor A Martynov
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 {

Re: [jira] Closed: (HARMONY-927) DRLVM's DestroyVM needs to be more robust

2006-07-20 Thread Pavel Pervov
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

Re: [classlib] Uncertain behavior of new Socket(0.0.0.0, 1099);

2006-07-20 Thread Mark Hindess
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:

Re: [classlib] Warning - our long paths can be a problem for WinXP

2006-07-20 Thread Geir Magnusson Jr
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

Re: [classlib] Uncertain behavior of new Socket(0.0.0.0, 1099);

2006-07-20 Thread Mikhail Fursov
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

Re: [classlib] Warning - our long paths can be a problem for WinXP

2006-07-20 Thread Mikhail Fursov
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

Re: [classlib] Uncertain behavior of new Socket(0.0.0.0, 1099);

2006-07-20 Thread Victor A Martynov
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

Re: [classlib] trouble invoking build from 'afar'

2006-07-20 Thread Geir Magnusson Jr
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

Re: [classlib] Uncertain behavior of new Socket(0.0.0.0, 1099);

2006-07-20 Thread Mikhail Fursov
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

Re: [classlib] Uncertain behavior of new Socket(0.0.0.0, 1099);

2006-07-20 Thread Victor A Martynov
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

Re: [classlib] Uncertain behavior of new Socket(0.0.0.0, 1099);

2006-07-20 Thread Geir Magnusson Jr
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,

Re: [classlib] Testing conventions - a proposal

2006-07-20 Thread Alexei Zakharov
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

Re: [jira] Closed: (HARMONY-927) DRLVM's DestroyVM needs to be more robust

2006-07-20 Thread Geir Magnusson Jr
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

Re: [classlib] Warning - our long paths can be a problem for WinXP

2006-07-20 Thread Geir Magnusson Jr
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

Re: [continuum] BUILD FAILURE: Classlib/win.ia32 Build/Test

2006-07-20 Thread Paulex Yang
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

Re: [classlib] Warning - our long paths can be a problem for WinXP

2006-07-20 Thread Paulex Yang
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

Re: [classlib] Uncertain behavior of new Socket(0.0.0.0, 1099);

2006-07-20 Thread Victor A Martynov
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

Re: [classlib] Uncertain behavior of new Socket(0.0.0.0, 1099);

2006-07-20 Thread Andrew Zhang
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

Re: [classlib] trouble invoking build from 'afar'

2006-07-20 Thread Vladimir Gorr
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

Re: [classlib] Uncertain behavior of new Socket(0.0.0.0, 1099);

2006-07-20 Thread Geir Magnusson Jr
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 {

[general] centralization of the NOTICE, COPYRIGHT, etc files

2006-07-20 Thread Geir Magnusson Jr
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

Re: [classlib] Uncertain behavior of new Socket(0.0.0.0, 1099);

2006-07-20 Thread Alexey Petrenko
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

Re: [classlib] Uncertain behavior of new Socket(0.0.0.0, 1099);

2006-07-20 Thread Andrew Zhang
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.

Re: [classlib] Uncertain behavior of new Socket(0.0.0.0, 1099);

2006-07-20 Thread Mikhail Fursov
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

Re: [classlib] Uncertain behavior of new Socket(0.0.0.0, 1099);

2006-07-20 Thread Alexei Zakharov
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

Re: [jira] Closed: (HARMONY-927) DRLVM's DestroyVM needs to be more robust

2006-07-20 Thread Oliver Deakin
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

Re: [drlvm] Doing the minimum to support Java 5 classfiles

2006-07-20 Thread Tim Ellison
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

Re: [classlib] Testing conventions - a proposal

2006-07-20 Thread George Harley
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

RE: [continuum] BUILD FAILURE: Classlib/win.ia32 Build/Test

2006-07-20 Thread Ivanov, Alexey A
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

Re: [build] status

2006-07-20 Thread Anton Luht
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

Re: Solution on Harmony-815 (was Re: [jira] Commented: (HARMONY-815) [classlib][nio] Refine implConfigureBlocking(boolean) method of DatagramChannel and SocketChannel.)

2006-07-20 Thread Tim Ellison
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;

Re: [testing] locale dependent tests

2006-07-20 Thread Tim Ellison
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

Re: [classlib] choose one [x-net] || [security] for HARMONY-536 (JSSE provider)

2006-07-20 Thread Tim Ellison
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.

Re: [site] added roadmap/todo to the harmony site

2006-07-20 Thread Tim Ellison
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

Re: [classlib] choose one [x-net] || [security] for HARMONY-536 (JSSE provider)

2006-07-20 Thread Geir Magnusson Jr
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

[announce] Apache mail a bit behind, if you haven't noticed it..

2006-07-20 Thread Geir Magnusson Jr
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

[general] hdk and jre for review...

2006-07-20 Thread Geir Magnusson Jr
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

Re: [general] hdk and jre for review...

2006-07-20 Thread Stefano Mazzocchi
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:

Re: [general] hdk and jre for review...

2006-07-20 Thread Geir Magnusson Jr
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

Re: [classlib][nio]the conflict of RI and spec?

2006-07-20 Thread Jimmy, Jing Lv
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

[classlib][java.math] combination of math packages

2006-07-20 Thread Daniel Fridlender
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

Re: [classlib] choose one [x-net] || [security] for HARMONY-536 (JSSE provider)

2006-07-20 Thread Mikhail Loenko
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

Re: [classlib][java.math] combination of math packages

2006-07-20 Thread Mikhail Loenko
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

RE: [general] centralization of the NOTICE, COPYRIGHT, etc files

2006-07-20 Thread bootjvm
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

Re: [general] centralization of the NOTICE, COPYRIGHT, etc files

2006-07-20 Thread Geir Magnusson Jr
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

Re: [classlib][java.math] combination of math packages

2006-07-20 Thread Geir Magnusson Jr
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

Re: [classlib] choose one [x-net] || [security] for HARMONY-536 (JSSE provider)

2006-07-20 Thread Geir Magnusson Jr
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

Suggestion (was: Re: [jira] Closed: (HARMONY-932) [classlib][nio]java.nio.?hannel.DatagramChannel.read(ByteBuffer[] , int, Integer.MAX_VALUE) throws NotYetConnectedException while RI throws IndexOutOf

2006-07-20 Thread Andrew Zhang
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

Re: Suggestion (was: Re: [jira] Closed: (HARMONY-932) [classlib][nio]java.nio.?hannel.DatagramChannel.read(ByteBuffer[] , int, Integer.MAX_VALUE) throws NotYetConnectedException while RI throws IndexO

2006-07-20 Thread Vladimir Ivanov
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

RE: [general] hdk and jre for review...

2006-07-20 Thread Nathan Beyer
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:

RE: [general] hdk and jre for review...

2006-07-20 Thread Magnusson, Geir
-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

Re: [general] hdk and jre for review...

2006-07-20 Thread Alexey Varlamov
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

RE: [general] hdk and jre for review...

2006-07-20 Thread Magnusson, Geir
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:

RE: [general] hdk and jre for review...

2006-07-20 Thread Nathan Beyer
-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:

Re: [general] hdk and jre for review...

2006-07-20 Thread Alexey Varlamov
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]

RE: [general] hdk and jre for review...

2006-07-20 Thread Magnusson, Geir
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...

RE: [general] hdk and jre for review...

2006-07-20 Thread Nathan Beyer
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

RE: [general] hdk and jre for review...

2006-07-20 Thread Nathan Beyer
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

Re: Suggestion (was: Re: [jira] Closed: (HARMONY-932) [classlib][nio]java.nio.?hannel.DatagramChannel.read(ByteBuffer[] , int, Integer.MAX_VALUE) throws NotYetConnectedException while RI throws IndexO

2006-07-20 Thread Andrew Zhang
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

Re: Suggestion (was: Re: [jira] Closed: (HARMONY-932) [classlib][nio]java.nio.?hannel.DatagramChannel.read(ByteBuffer[] , int, Integer.MAX_VALUE) throws NotYetConnectedException while RI throws IndexO

2006-07-20 Thread Andrew Zhang
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.

Re: [general] hdk and jre for review...

2006-07-20 Thread Alexey Varlamov
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

Re: Suggestion (was: Re: [jira] Closed: (HARMONY-932) [classlib][nio]java.nio.?hannel.DatagramChannel.read(ByteBuffer[] , int, Integer.MAX_VALUE) throws NotYetConnectedException while RI throws IndexO

2006-07-20 Thread Vladimir Ivanov
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