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:
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
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
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
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.
[ 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
[ 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
[ 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
java.net.InetAddress.getAllByName(null) throws UnknownHostException instead of
valid InetAddress
Key: HARMONY-56
URL: http://issues.apache.org/jira/browse/HARMONY-56
Project:
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
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,
[
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
[
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:
[ 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
[ 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
[
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
[ 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:
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
[ 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
[ 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
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
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
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
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
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
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
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
[
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.
java.text.MessageFormat.toPattern() causes IndexOutOfBoundsException in
StringBuffer.setLength method
--
Key: HARMONY-59
URL: http://issues.apache.org/jira/browse/HARMONY-59
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
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
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
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
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
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
35 matches
Mail list logo