Re: [jira] Created: (HARMONY-62) java.text.BreakIterator.getSentenceInstance().next() treats '\n' as the end of the sentence

2006-02-21 Thread Richard Liang
Dear Tatyana, As you may know, our (Harmony) implementation just wraps ICU4J's BreakIterator. And the rules of ICU4J's BreakIterator is compliant with Unicode TR29 which is different with the rules of RI. This is a common issue for most of the classes in text. If we want implementation to

Re: classlib build status emails?

2006-02-21 Thread Geir Magnusson Jr
Mark Hindess wrote: On 21/02/06, Geir Magnusson Jr [EMAIL PROTECTED] wrote: Mark Hindess wrote: Hi, Is there any interest in having build status emails sent to this list? I'm building classlib trunk with continuum and it would be simple for me to have messages like the following sent to the

Re: [jira] Created: (HARMONY-62) java.text.BreakIterator.getSentenceInstance().next() treats '\n' as the end of the sentence

2006-02-21 Thread Art - Arthit Suriyawongkul
As you may know, our (Harmony) implementation just wraps ICU4J's BreakIterator. And the rules of ICU4J's BreakIterator is compliant with Unicode TR29 which is different with the rules of RI. This is a common issue for most of the classes in text. If we want implementation to have the same

Re: [jira] Commented: (HARMONY-68) java.nio.charset.Charset.isSupported(String charsetName) does not throw IllegalCharsetNameException for spoiled standard sharset name

2006-02-21 Thread Tim Ellison
That seems like a reasonable interpretation, but who knows what the spec writer really meant?! and the result is the same, we will continue to match the reference implementation behavior by returning false. Thanks Tim Karan Malhi wrote: Hi Tim, I would add something to this discussion. My

Harmony tools and utilities

2006-02-21 Thread Stepan Mishura
Hi all, Are we interesting in providing a competitive set of tools and utilities for Harmony implementation? (for tools list see: http://java.sun.com/j2se/1.5.0/docs/tooldocs/index.html ) Are we going to provide the same set, subset or superset? Or it is too early to discuss tools list? As we

[Fwd: Re: [classlib] build / test system]

2006-02-21 Thread David Tanzer
Sorry, was meant for the list... Forwarded Message From: David Tanzer [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [classlib] build / test system Date: Tue, 21 Feb 2006 11:36:23 +0100 It has it's own repository format, and at the moment our repository is quite

Re: local test server (Was: Re: [jira] Commented: (HARMONY-71) java.net.URLConnection.setUseCaches throws unspecified IllegalAccessError)

2006-02-21 Thread Tim Ellison
Stepan Mishura wrote: I glanced through a local server code from HARMONY-57 contribution without looking into implementation details and ... this made me think. I catch hold of the following: 1) The server contains some testing code that looks not good for me Care to explain? 2) It is not

Re: [classlib] using cpp

2006-02-21 Thread Paulex Yang
Instead of introducing this strict language rule, I suggest to consider this restriction case by case with some principles. One of the principles should be that our codes can be easily ported to as many platforms as possible. Obviously ANSI C has more compatibility on multi platforms and is

[jira] Assigned: (HARMONY-90) StringBuffer.setLength(int) doesn't throw IndexOutOfBoundsException if the argument is negative

2006-02-21 Thread Tim Ellison (JIRA)
[ http://issues.apache.org/jira/browse/HARMONY-90?page=all ] Tim Ellison reassigned HARMONY-90: -- Assign To: Tim Ellison StringBuffer.setLength(int) doesn't throw IndexOutOfBoundsException if the argument is negative

Re: classlib build status emails?

2006-02-21 Thread Mark Hindess
On 21/02/06, Geir Magnusson Jr [EMAIL PROTECTED] wrote: Mark Hindess wrote: On 21/02/06, Geir Magnusson Jr [EMAIL PROTECTED] wrote: Mark Hindess wrote: Hi, Is there any interest in having build status emails sent to this list? I'm building classlib trunk with continuum and it would

Re: Using APR for Harmony's native link to the OS?

2006-02-21 Thread Paulex Yang
Another advantages of portlib is that its function implementation can be easily replaced without recompiling the entire JVM, copied its document from [1] below: quote The port library is implemented as a table of function pointers. One advantage of a function pointer based table is the

[jira] Assigned: (HARMONY-93) some methods in java.util.Collections don't throw NPE when the parameter is null

2006-02-21 Thread Tim Ellison (JIRA)
[ http://issues.apache.org/jira/browse/HARMONY-93?page=all ] Tim Ellison reassigned HARMONY-93: -- Assign To: Tim Ellison some methods in java.util.Collections don't throw NPE when the parameter is null

[jira] Resolved: (HARMONY-93) some methods in java.util.Collections don't throw NPE when the parameter is null

2006-02-21 Thread Tim Ellison (JIRA)
[ http://issues.apache.org/jira/browse/HARMONY-93?page=all ] Tim Ellison resolved HARMONY-93: Resolution: Fixed Svetlana, Fixed in LUNI module java.util.Collections at repo revision 379447. Please check this fully resolves your problem. some

Re: Harmony tools and utilities

2006-02-21 Thread Archie Cobbs
Stepan Mishura wrote: Tool name Status Priority javadoc missing high javah missing medium keytool missing medium policytool missing low klist missingN/A FYI, jchevm contains a javah program

classlib ant clean is incomplete

2006-02-21 Thread Mark Hindess
I'm a unix hacker used to working at the command line. (But that wasn't supposed to be a confession and I'm sure some of this will be visible to IDE users.) When preparing patches, for example for the the native-src, I might run: cd native-src ant clean svn stat to see what files I've

Re: [classlib] using cpp

2006-02-21 Thread Tim Ellison
yes, let me refine my position. I don't object to using the C++ language where it makes sense, e.g. to simplify things. IMHO the jaasnix native code's usage is somewhat gratuitous, and results in a larger binary for no great benefit. If people want to use vanilla C++ features then sure, but we

Re: newbie to project-where to start from

2006-02-21 Thread Tim Ellison
James, Feel free to take a look at all the math areas of JSE in Harmony -- try running some code (do you have any math apps that you use?) or try measuring some performance numbers. Performance enhancement patches will be most welcome. Regards, Tim James Pluck wrote: On 2/20/06, Vladimir Gorr

[jira] Assigned: (HARMONY-108) removing unused targets/variables from linux makefiles

2006-02-21 Thread Tim Ellison (JIRA)
[ http://issues.apache.org/jira/browse/HARMONY-108?page=all ] Tim Ellison reassigned HARMONY-108: --- Assign To: Tim Ellison removing unused targets/variables from linux makefiles -- Key:

[jira] Resolved: (HARMONY-108) removing unused targets/variables from linux makefiles

2006-02-21 Thread Tim Ellison (JIRA)
[ http://issues.apache.org/jira/browse/HARMONY-108?page=all ] Tim Ellison resolved HARMONY-108: - Resolution: Fixed Mark, Patch looks good. Committed in repo revision 379465. Please check that it has been applied as you expected. removing

[jira] Assigned: (HARMONY-109) reducing the verbose auto-generated variable names in linux makefiles

2006-02-21 Thread Tim Ellison (JIRA)
[ http://issues.apache.org/jira/browse/HARMONY-109?page=all ] Tim Ellison reassigned HARMONY-109: --- Assign To: Tim Ellison reducing the verbose auto-generated variable names in linux makefiles

[jira] Assigned: (HARMONY-110) fixing the clean targets in linux makefiles

2006-02-21 Thread Tim Ellison (JIRA)
[ http://issues.apache.org/jira/browse/HARMONY-110?page=all ] Tim Ellison reassigned HARMONY-110: --- Assign To: Tim Ellison fixing the clean targets in linux makefiles --- Key: HARMONY-110

java.lang.String.replaceFirst from IBM VM throws NPE

2006-02-21 Thread Alexey Petrenko
We got problem with Harmony on IBM VM on Windows. java.lang.String.replaceFirst throws NPE. Here is the testcase: public class Test { public static void main(String args[]) { String xx = test; xx = xx.replaceFirst(t,z); } } Here is the stack trace:

Re: [classlib] using cpp

2006-02-21 Thread Alexey Petrenko
Yep, agreed. 2006/2/21, Tim Ellison [EMAIL PROTECTED]: yes, let me refine my position. I don't object to using the C++ language where it makes sense, e.g. to simplify things. IMHO the jaasnix native code's usage is somewhat gratuitous, and results in a larger binary for no great benefit.

Re: classlib build status emails?

2006-02-21 Thread Stuart Ballard
Stuart Ballard stuart.a.ballard at gmail.com writes: If you can give me an url that will always point to the latest jar file(s), I can set up nightly japi results and mail diffs to this list. Geir gave me a pointer to the latest snapshots, so the japi results are now online:

Re: [jira] Created: (HARMONY-110) fixing the clean targets in linux makefiles

2006-02-21 Thread Tim Ellison
Thanks for the clean-ups Mark -- can't wait for the Windows equivalents ;-) Regards, Tim Mark Hindess (JIRA) wrote: fixing the clean targets in linux makefiles --- Key: HARMONY-110 URL:

Re: Classpath on Cygwin: failed to open native library error

2006-02-21 Thread snowdosker
Hello, Archie Today I've made changes to eliminate the requirement that _JC_FULL_ALIGNMENT be at most sizeof(_jc_word), so this will fix the assertion in heap.c. Just compared my local version with svn repository at Harmony project.. Don't see any changes. Do you commit this changes in JCVM

[jira] Commented: (HARMONY-108) removing unused targets/variables from linux makefiles

2006-02-21 Thread Mark Hindess (JIRA)
[ http://issues.apache.org/jira/browse/HARMONY-108?page=comments#action_12367208 ] Mark Hindess commented on HARMONY-108: -- Looks as I expected. Thanks Tim. removing unused targets/variables from linux makefiles

[jira] Commented: (HARMONY-110) fixing the clean targets in linux makefiles

2006-02-21 Thread Mark Hindess (JIRA)
[ http://issues.apache.org/jira/browse/HARMONY-110?page=comments#action_12367209 ] Mark Hindess commented on HARMONY-110: -- Looks as I expected. Thanks Tim. fixing the clean targets in linux makefiles ---

[jira] Commented: (HARMONY-109) reducing the verbose auto-generated variable names in linux makefiles

2006-02-21 Thread Mark Hindess (JIRA)
[ http://issues.apache.org/jira/browse/HARMONY-109?page=comments#action_12367210 ] Mark Hindess commented on HARMONY-109: -- Looks as I expected. Thanks Tim. reducing the verbose auto-generated variable names in linux makefiles

Re: classlib ant clean is incomplete

2006-02-21 Thread Tim Ellison
Mark Hindess wrote: I'm a unix hacker used to working at the command line. (But that wasn't supposed to be a confession and I'm sure some of this will be visible to IDE users.) When preparing patches, for example for the the native-src, I might run: cd native-src ant clean svn

Re: [jira] Created: (HARMONY-110) fixing the clean targets in linux makefiles

2006-02-21 Thread Mark Hindess
On 21/02/06, Tim Ellison [EMAIL PROTECTED] wrote: Thanks for the clean-ups Mark -- can't wait for the Windows equivalents ;-) I was planning a few more incremental changes on the linux ones then, assuming people were happy with them, repeat the changes on the windows makefiles in one patch.

Re: Classpath on Cygwin: failed to open native library error

2006-02-21 Thread Archie Cobbs
snowdosker wrote: Today I've made changes to eliminate the requirement that _JC_FULL_ALIGNMENT be at most sizeof(_jc_word), so this will fix the assertion in heap.c. Just compared my local version with svn repository at Harmony project.. Don't see any changes. Do you commit this changes in

Re: java.lang.String.replaceFirst from IBM VM throws NPE

2006-02-21 Thread Oliver Deakin
Hi Alexey, ok, Ive recreated your problem using the latest snapshot and VME. Essentially the code at modules/kernel/src/main/java/java/lang/String.java is the same as that in the VME kernel.jar. Looking in there (these calls can also be seen if the test is run within a debugger), we see that

[jira] Commented: (HARMONY-101) NPE in java.util.regex.Pattern.compile()

2006-02-21 Thread Tim Ellison (JIRA)
[ http://issues.apache.org/jira/browse/HARMONY-101?page=comments#action_12367228 ] Tim Ellison commented on HARMONY-101: - Svetlana, Until the HARMONY-39 contribution is accepted you won't have much joy with the regex code, since there are only

Re: classlib build status emails?

2006-02-21 Thread Tim Ellison
These are very cool -- thanks Stuart. We need to figure out a way that we can run the japitools on a regular basis to track progress. It is also a great way to indicate where people can help round-out a particular package for example. How should I interpret a line whose percentage figures

Re: java.lang.String.replaceFirst from IBM VM throws NPE

2006-02-21 Thread Alexey Petrenko
2006/2/21, Oliver Deakin [EMAIL PROTECTED]: As a sideline, I think we should be able to move String.java out of kernel entirely anyway. We already have an implementation at modules/kernel/src/main/java/java/lang/String.java, and the only VM specific code in String is the intern() method. This

Bug-to-bug compatibility - first issue

2006-02-21 Thread Vladimir Strigun
We had discussion about bug-to-bug compatibility and it was decided to solve problems at the moment when they appear. So I have the 1st problem (below you can find the steps for reproducing it): 1. Compile any java class and put it to jre/bin folder (I used Hello.class) 2. run java Hello

Re: Bug-to-bug compatibility - first issue

2006-02-21 Thread Alexey Petrenko
IBM VM? If so it's probably not an issue for Harmony but for IBM :) 2006/2/21, Vladimir Strigun [EMAIL PROTECTED]: We had discussion about bug-to-bug compatibility and it was decided to solve problems at the moment when they appear. So I have the 1st problem (below you can find the steps for

Re: Bug-to-bug compatibility - first issue

2006-02-21 Thread Vladimir Strigun
This issue can be fixed either in Harmony classlib or kernel classes in VM. Thanks, Vladimir Strigun, Intel Middleware Products Division On 2/21/06, Alexey Petrenko [EMAIL PROTECTED] wrote: IBM VM? If so it's probably not an issue for Harmony but for IBM :) 2006/2/21, Vladimir Strigun

Re: newbie to project-where to start from

2006-02-21 Thread James Pluck
On 2/22/06, Tim Ellison [EMAIL PROTECTED] wrote: James, Feel free to take a look at all the math areas of JSE in Harmony -- try running some code (do you have any math apps that you use?) or try measuring some performance numbers. Performance enhancement patches will be most welcome. Good

Re: Platform dependent code placement (was: Re: repo layout again)

2006-02-21 Thread Nikolay Kuznetsov
Hello, team, I've tried to simplify construction below, which is sample of Andrey's ant script, and end up with following regular expression which matches string containing particular OS identifier or strings w/o any OS identifiers:

Re: Bug-to-bug compatibility - first issue

2006-02-21 Thread Arzhan Kinzhalin
URLClassLoader can't load this class because searchURLs parameter in findClassImpl does not contain current directory and includes only p:/. So, IMO problem is inside VM kernel classes. What do you think we should do with this issue? It actually has corresponding bug report [1] which

Re: Bug-to-bug compatibility - first issue

2006-02-21 Thread Alexey Petrenko
2006/2/21, Vladimir Strigun [EMAIL PROTECTED]: This issue can be fixed either in Harmony classlib or kernel classes in VM. Yes, you are right. -- Alexey A. Petrenko Intel Middleware Products Division

[jira] Created: (HARMONY-112) native-src/build.xml should have clean-overlay-oss target

2006-02-21 Thread Mark Hindess (JIRA)
native-src/build.xml should have clean-overlay-oss target - Key: HARMONY-112 URL: http://issues.apache.org/jira/browse/HARMONY-112 Project: Harmony Type: Improvement Components: Classlib Reporter: Mark

[jira] Updated: (HARMONY-112) native-src/build.xml should have clean-overlay-oss target

2006-02-21 Thread Mark Hindess (JIRA)
[ http://issues.apache.org/jira/browse/HARMONY-112?page=all ] Mark Hindess updated HARMONY-112: - Attachment: improved.native.clean.diff Patch to add clean-overlay-oss target. native-src/build.xml should have clean-overlay-oss target

auth natives (was: Re: svn commit: r378390 - in /incubator/harmony/enhanced/classlib/trunk/native-src/win.IA32/auth: ./ auth_copyright.c authwin32.c authwin32.h hyauth.def hyauth.rc makefile)

2006-02-21 Thread Tim Ellison
FYI: I have added the C versions of the auth natives into the build. They are building as hyayth.dll | libhyauth.so into jre/bin. However, I *haven't* removed the jaaswin.dll | libjaasnix.so code (and these are still being loaded by NTSystem.java | UnixSystem.java) until I've tested the new

[jira] Created: (HARMONY-113) java.nio.charset.Charset should regard empty charset name properly as Illegal CharsetName

2006-02-21 Thread Richard Liang (JIRA)
java.nio.charset.Charset should regard empty charset name properly as Illegal CharsetName - Key: HARMONY-113 URL: http://issues.apache.org/jira/browse/HARMONY-113 Project: Harmony

[jira] Updated: (HARMONY-113) java.nio.charset.Charset should regard empty charset name properly as Illegal CharsetName

2006-02-21 Thread Richard Liang (JIRA)
[ http://issues.apache.org/jira/browse/HARMONY-113?page=all ] Richard Liang updated HARMONY-113: -- Attachment: charset_patch.txt Please try my patch. Thanks a lot. java.nio.charset.Charset should regard empty charset name properly as Illegal

Re: local test server (Was: Re: [jira] Commented: (HARMONY-71) java.net.URLConnection.setUseCaches throws unspecified IllegalAccessError)

2006-02-21 Thread Richard Liang
Dears, Agree that server (maybe not local) is required for some sophisticated test cases. To make thing simply, we may provide more detail guide (step-by-step) on how to setup/configure a typical testing server. Or shall we setup a test server and allow user to share our testing server?

[jira] Created: (HARMONY-114) [jchevm] rough draft of files that glue Harmony Class Lib to JCHEVM native methods

2006-02-21 Thread weldon washburn (JIRA)
[jchevm] rough draft of files that glue Harmony Class Lib to JCHEVM native methods -- Key: HARMONY-114 URL: http://issues.apache.org/jira/browse/HARMONY-114 Project: Harmony Type:

[jchevm] rough draft of Harmony Class Lib to gnu native method glue

2006-02-21 Thread Weldon Washburn
Archie, Tim, I tried to attach a zip file but harmony-dev rejected it. I also tried to post the zip file to harmony/jira. It did not work. I will mail the zip file to you out of band while I try to figure out how to upload the zip file. Sent separately is a zip file containing a first cut at

Re: Bug-to-bug compatibility - first issue

2006-02-21 Thread Paulex Yang
I agree with you that it is natural to copy RI behavior in this case, and I even don't think this is a bug, in the same reason with one of the bugs' evaluation [1], quoteAn empty path component is always (in both Unix/Posix-like and Windows systems) treated as ./quote Arzhan Kinzhalin

Re: Harmony tools and utilities

2006-02-21 Thread Geir Magnusson Jr
Stepan Mishura wrote: Hi all, Are we interesting in providing a competitive set of tools and utilities for Harmony implementation? Of course. (for tools list see: http://java.sun.com/j2se/1.5.0/docs/tooldocs/index.html ) Are we going to provide the same set, subset or superset? Or it is

Re: local test server (Was: Re: [jira] Commented: (HARMONY-71) java.net.URLConnection.setUseCaches throws unspecified IllegalAccessError)

2006-02-21 Thread Geir Magnusson Jr
Richard Liang wrote: Dears, Agree that server (maybe not local) is required for some sophisticated test cases. To make thing simply, we may provide more detail guide (step-by-step) on how to setup/configure a typical testing server. Or shall we setup a test server and allow user to share

Re: Bug-to-bug compatibility - first issue

2006-02-21 Thread Mikhail Loenko
I'd suggest splitting the issue into two different ones: The first one is interpreting the command line. I completely agree that we should do it similar to RI. The second one is as Vladimir said that behavior is caused by something in URLClassloader or kernel classes. Vladimir, if you could

Re: Bug-to-bug compatibility - first issue

2006-02-21 Thread Geir Magnusson Jr
I think this would be IBM's problem. Alexey Petrenko wrote: IBM VM? If so it's probably not an issue for Harmony but for IBM :) 2006/2/21, Vladimir Strigun [EMAIL PROTECTED]: We had discussion about bug-to-bug compatibility and it was decided to solve problems at the moment when they appear.

Re: Bug-to-bug compatibility - first issue

2006-02-21 Thread Geir Magnusson Jr
There's an interesting issue - we probably need to find out under what license the source found in sun bug reports is available under :) geir Arzhan Kinzhalin wrote: URLClassLoader can't load this class because searchURLs parameter in findClassImpl does not contain current directory and

Re: java.lang.String.replaceFirst from IBM VM throws NPE

2006-02-21 Thread Geir Magnusson Jr
Oliver Deakin wrote: Hi Alexey, ok, Ive recreated your problem using the latest snapshot and VME. Essentially the code at modules/kernel/src/main/java/java/lang/String.java is the same as that in the VME kernel.jar. Looking in there (these calls can also be seen if the test is run within

Re: local test server (Was: Re: [jira] Commented: (HARMONY-71) java.net.URLConnection.setUseCaches throws unspecified IllegalAccessError)

2006-02-21 Thread Stepan Mishura
On 2/21/06, Tim Ellison [EMAIL PROTECTED] wrote: Stepan Mishura wrote: I glanced through a local server code from HARMONY-57 contribution without looking into implementation details and ... this made me think. I catch hold of the following: 1) The server contains some testing code that

[jira] Created: (HARMONY-115) set appropriate svn:ignore properties

2006-02-21 Thread Mark Hindess (JIRA)
set appropriate svn:ignore properties - Key: HARMONY-115 URL: http://issues.apache.org/jira/browse/HARMONY-115 Project: Harmony Type: Improvement Components: Classlib Reporter: Mark Hindess Priority: Trivial We

[jira] Updated: (HARMONY-115) set appropriate svn:ignore properties

2006-02-21 Thread Mark Hindess (JIRA)
[ http://issues.apache.org/jira/browse/HARMONY-115?page=all ] Mark Hindess updated HARMONY-115: - Attachment: svn.ig.tar.gz Sadly patch doesn't support setting svn properties. The attached tar.gz contains svn.ignore files and trivial script to apply

Re: classlib ant clean is incomplete

2006-02-21 Thread Mark Hindess
On 21/02/06, Tim Ellison [EMAIL PROTECTED] wrote: Mark Hindess wrote: However, I think it's actually a good idea to do more to distinguish the files that come from the two zip files anyway - for instance so that people don't edit them and have changes clobbered by the next make. So I