Re: Contribution of beans, math and regex libraries

2006-01-31 Thread Mikhail Loenko
I hit something similar a few days ago (NoSuchAlgorithmException even though BC was providing it) and it got fixed by unsigning the provider jar. Maybe there is a bootstrapping problem verifying the signed BC provider jar ? I'm not sure if there is an open JIRA issue on this. The problem is:

Re: Contribution of beans, math and regex libraries

2006-01-31 Thread Stepan Mishura
Certainly the Bouncy Castle jar contains an implementation of the SHA algorithm. Assuming that you have an uncorrupted BC provider jar in HARMONY_JRE/lib/ext, does this failure get fixed by unsigning the BC jar ? Well, there is a cyclic dependency here: to verify a signed jar we need already

[classlib] running security2 tests

2006-01-31 Thread Tim Ellison
Can somebody tell me how to run the security2 tests on the Harmony code? I can checkout the entire library, and with a JDK on the path, I can build it all together. Then if I go into the security2/make dir the ant target to run the tests (called tests.run) compiles the test suite code too, so I

writing full javadoc, or not (was: Re: javadoc vs. doxygen)

2006-01-31 Thread Tim Ellison
Geir Magnusson Jr wrote: Like it or not, Sun's javadoc is the spec. We can get involved in the EG and help fix the javadoc of course, and we can add additional commentary about the our interpretation and implementation to improve it, but we need to ensure that we take reasonable steps to

Re: Contribution of beans, math and regex libraries

2006-01-31 Thread Tim Ellison
Stepan Mishura wrote: BTW, all tests from security2 passed because ant script used to run tests explicitly adds the required provider to the bootclasspath. I'm desperately trying not to say I told you so -- d'oh ;-) Tim -- Tim Ellison ([EMAIL PROTECTED]) IBM Java technology centre, UK.

[jira] Assigned: (HARMONY-55) remove PerformanceTest from hierarchy of unit tests in security2

2006-01-31 Thread Tim Ellison (JIRA)
[ http://issues.apache.org/jira/browse/HARMONY-55?page=all ] Tim Ellison reassigned HARMONY-55: -- Assign To: Tim Ellison remove PerformanceTest from hierarchy of unit tests in security2

[jira] Resolved: (HARMONY-55) remove PerformanceTest from hierarchy of unit tests in security2

2006-01-31 Thread Tim Ellison (JIRA)
[ http://issues.apache.org/jira/browse/HARMONY-55?page=all ] Tim Ellison resolved HARMONY-55: Resolution: Fixed Mikhail, Patch applied to SECURITY2 module at repo revision 373789. Please check that it fully resolves this issue. remove

[jira] Assigned: (HARMONY-52) java.io.ByteArrayOutputStream.toString(String) throws IllegalCharsetNameException instead of UnsupportedEncodingException

2006-01-31 Thread Tim Ellison (JIRA)
[ http://issues.apache.org/jira/browse/HARMONY-52?page=all ] Tim Ellison reassigned HARMONY-52: -- Assign To: Tim Ellison java.io.ByteArrayOutputStream.toString(String) throws IllegalCharsetNameException instead of UnsupportedEncodingException

[jira] Created: (HARMONY-56) java.net.InetAddress.getAllByName(null) throws UnknownHostException instead of valid InetAddress

2006-01-31 Thread Svetlana Samoilenko (JIRA)
java.net.InetAddress.getAllByName(null) throws UnknownHostException instead of valid InetAddress Key: HARMONY-56 URL: http://issues.apache.org/jira/browse/HARMONY-56 Project:

Re: [classlib] running security2 tests

2006-01-31 Thread Stepan Mishura
Hi Tim I compiled tests with Eclipse JDT compiler . But for building and running 'security2' tests additional configuration steps are required because we didn't especially design security2/make ant script to run with Harmony classlib build. I understand that this causes difficulties. May be it

Re: [testing] code for exotic configurations

2006-01-31 Thread Mikhail Loenko
Hello We deep into discussion of what the test types are, which is useful and interesting but we a little bit went away from the original problem statement. I'd like to try to put the original problem in different words because it seems to be some misunderstanding here. So, we have some code,

[jira] Commented: (HARMONY-52) java.io.ByteArrayOutputStream.toString(String) throws IllegalCharsetNameException instead of UnsupportedEncodingException

2006-01-31 Thread Tim Ellison (JIRA)
[ http://issues.apache.org/jira/browse/HARMONY-52?page=comments#action_12364559 ] Tim Ellison commented on HARMONY-52: This bug is in the String implementation in the KERNEL module. As you may know, the KERNEL module is VM-specific, which means that

[jira] Commented: (HARMONY-55) remove PerformanceTest from hierarchy of unit tests in security2

2006-01-31 Thread Mikhail Loenko (JIRA)
[ http://issues.apache.org/jira/browse/HARMONY-55?page=comments#action_12364563 ] Mikhail Loenko commented on HARMONY-55: --- Tests from the security2 passed They do not call 'logln' and do not extend 'PerformanceTest' This class can be now removed:

[jira] Updated: (HARMONY-52) java.io.ByteArrayOutputStream.toString(String) throws IllegalCharsetNameException instead of UnsupportedEncodingException

2006-01-31 Thread Tim Ellison (JIRA)
[ http://issues.apache.org/jira/browse/HARMONY-52?page=all ] Tim Ellison updated HARMONY-52: --- Attachment: StringTest.java Attaching JUnit testcase so I don't loose it. java.io.ByteArrayOutputStream.toString(String) throws IllegalCharsetNameException

[jira] Closed: (HARMONY-55) remove PerformanceTest from hierarchy of unit tests in security2

2006-01-31 Thread Tim Ellison (JIRA)
[ http://issues.apache.org/jira/browse/HARMONY-55?page=all ] Tim Ellison closed HARMONY-55: -- Thanks Mikhail. I've removed PerformanceTest.java in repo revision 373799. remove PerformanceTest from hierarchy of unit tests in security2

[jira] Commented: (HARMONY-30) java.text.BreakIterator.next () returns incorrect value

2006-01-31 Thread tatyana doubtsova (JIRA)
[ http://issues.apache.org/jira/browse/HARMONY-30?page=comments#action_12364606 ] tatyana doubtsova commented on HARMONY-30: -- Tim, I rebuilt classlib, using check-out on 2006-01-30. The issue is resolved. Output of Test.java is: java version

[jira] Closed: (HARMONY-30) java.text.BreakIterator.next () returns incorrect value

2006-01-31 Thread Tim Ellison (JIRA)
[ http://issues.apache.org/jira/browse/HARMONY-30?page=all ] Tim Ellison closed HARMONY-30: -- Verified by Tatyana. java.text.BreakIterator.next () returns incorrect value Key:

[jira] Created: (HARMONY-57) Contribution of unit test code for a number of components

2006-01-31 Thread George Harley (JIRA)
Contribution of unit test code for a number of components - Key: HARMONY-57 URL: http://issues.apache.org/jira/browse/HARMONY-57 Project: Harmony Type: Test Components: Contributions Environment: All

[jira] Updated: (HARMONY-57) Contribution of unit test code for a number of components

2006-01-31 Thread George Harley (JIRA)
[ http://issues.apache.org/jira/browse/HARMONY-57?page=all ] George Harley updated HARMONY-57: - Attachment: Harmony-Unit-Tests.zip The contribution zip. Contribution of unit test code for a number of components

[jira] Assigned: (HARMONY-56) java.net.InetAddress.getAllByName(null) throws UnknownHostException instead of valid InetAddress

2006-01-31 Thread Tim Ellison (JIRA)
[ http://issues.apache.org/jira/browse/HARMONY-56?page=all ] Tim Ellison reassigned HARMONY-56: -- Assign To: Tim Ellison java.net.InetAddress.getAllByName(null) throws UnknownHostException instead of valid InetAddress

Re: [classlib] running security2 tests

2006-01-31 Thread Geir Magnusson Jr
Tim Ellison wrote: Can somebody tell me how to run the security2 tests on the Harmony code? $ cd modules/security2/make $ set CLASSPATH=%CLASSPATH%;junit.jar;bcprov.jar $ ant tests.run Yes, the classpath thing is awful. I had it working w/ automated download of deps but the problem was

Re: JCHEVM built on GCC/Cygwin

2006-01-31 Thread Enrico Migliore
Hi Geir, Now lets get JCHEVM to also use the Harmony Classlib :) It will be great for A/B testing. It's a task that Archie and I would like to accomplish in the near future, when time permits. Enrico

Re: writing full javadoc, or not

2006-01-31 Thread Geir Magnusson Jr
Tim Ellison wrote: Geir Magnusson Jr wrote: Like it or not, Sun's javadoc is the spec. We can get involved in the EG and help fix the javadoc of course, and we can add additional commentary about the our interpretation and implementation to improve it, but we need to ensure that we take

[tools] Javadoc! Javadoc! Javadoc! (the tool, not the debate...)

2006-01-31 Thread Geir Magnusson Jr
Ok - this isn't about the finer points of confusion surrounding documentation We need a javadoc tool for Harmony. The current conversation is a diversion from this, which I recall was the original motivation behind the current generation of this discussion. So, anyone interested? We

[jira] Created: (HARMONY-58) Problems trying to run the security2 test suite

2006-01-31 Thread Tim Ellison (JIRA)
Problems trying to run the security2 test suite --- Key: HARMONY-58 URL: http://issues.apache.org/jira/browse/HARMONY-58 Project: Harmony Type: Test Components: Classlib Environment: x86, WinXP, repo revision 373866

Re: [classlib] running security2 tests

2006-01-31 Thread Tim Ellison
Still not quite there yet, but getting closer. I've created HARMONY-58 describing my woes. If anyone has any further insight I'd appreciate it, in the meantime I'll keep hacking. Regards, Tim Geir Magnusson Jr wrote: Tim Ellison wrote: Can somebody tell me how to run the security2 tests

Re: writing full javadoc, or not

2006-01-31 Thread Tim Ellison
Geir Magnusson Jr wrote: Tim Ellison wrote: snip Would it help to avoid your confusion if there was a disclaimer in the generated HTML along the lines that 'this is not a JSE spec'? Sure - and I think that a link to the spec would help too. I'm fine with that. snip You know what Sunny

[jira] Commented: (HARMONY-58) Problems trying to run the security2 test suite

2006-01-31 Thread Geir Magnusson Jr (JIRA)
[ http://issues.apache.org/jira/browse/HARMONY-58?page=comments#action_12364725 ] Geir Magnusson Jr commented on HARMONY-58: -- How long do you wait? There are some tests that *peg* my processor - they just seems to be computationally intensive.

[jira] Created: (HARMONY-59) java.text.MessageFormat.toPattern() causes IndexOutOfBoundsException in StringBuffer.setLength method

2006-01-31 Thread tatyana doubtsova (JIRA)
java.text.MessageFormat.toPattern() causes IndexOutOfBoundsException in StringBuffer.setLength method -- Key: HARMONY-59 URL: http://issues.apache.org/jira/browse/HARMONY-59

[jira] Created: (HARMONY-60) java.net.URL.getHost() must return the IPv6 address enclosed in square brackets

2006-01-31 Thread Svetlana Samoilenko (JIRA)
java.net.URL.getHost() must return the IPv6 address enclosed in square brackets --- Key: HARMONY-60 URL: http://issues.apache.org/jira/browse/HARMONY-60 Project: Harmony Type: Bug

[jira] Created: (HARMONY-61) java.net.InetAddress.getByAddress(null) throws NPE insread of UnknownHostException

2006-01-31 Thread Svetlana Samoilenko (JIRA)
java.net.InetAddress.getByAddress(null) throws NPE insread of UnknownHostException -- Key: HARMONY-61 URL: http://issues.apache.org/jira/browse/HARMONY-61 Project: Harmony Type: Bug

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

2006-01-31 Thread tatyana doubtsova (JIRA)
java.text.BreakIterator.getSentenceInstance().next() treats '\n' as the end of the sentence --- Key: HARMONY-62 URL: http://issues.apache.org/jira/browse/HARMONY-62 Project: Harmony

Re: writing full javadoc, or not

2006-01-31 Thread Mikhail Loenko
It is not clear yet who is going to read that Harmony javadoc? If it is IDE users only then maybe it is better to write a plug-in that would show hints from official spec site for java.* methods? Thanks, Mikhail On 2/1/06, Tim Ellison [EMAIL PROTECTED] wrote: Geir Magnusson Jr wrote: Tim

[jira] Created: (HARMONY-63) java.text.MessageFormat.parse(String): incorrect size of Object array parsed from the string

2006-01-31 Thread tatyana doubtsova (JIRA)
java.text.MessageFormat.parse(String): incorrect size of Object array parsed from the string Key: HARMONY-63 URL: http://issues.apache.org/jira/browse/HARMONY-63 Project: Harmony

Re: writing full javadoc, or not

2006-01-31 Thread Vladimir Gorr
I agree with Mikhail it doesn't sense to write own documentation for Harmony. If we implement the J2SE in according to 1.5 specifications it'd be not bad to link to the official documentation to avoid any errors and misunderstandings. For this purpose new doclet can be implemented as it was done