harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Astapchuk (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-1678) [DRLVM] junit test o.a.h.crypto.tests.javax.crypto.EncryptedPrivateKeyInfoTest fails
Date Sun, 08 Oct 2006 11:32:28 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-1678?page=all ]

Alex Astapchuk updated HARMONY-1678:
------------------------------------

    Attachment: harmony_1678_1724_fix.patch

The fix is attached. 

The problem was that .jet-generated code did not save a variable (the endOffset in the test)
into memory.

The fix also covers HARMONY-1724.

Not sure, which tests to run to verify the fix: I tried to run 'build.sh test' and got number
of failures even w/o my fix.

Anyway, the attached JETKiller passes, the test from HARMONY-1724 passes and I also checked
Win32 & Lin32 builds.



> [DRLVM] junit test o.a.h.crypto.tests.javax.crypto.EncryptedPrivateKeyInfoTest fails
> ------------------------------------------------------------------------------------
>
>                 Key: HARMONY-1678
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1678
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Windows XP IA32
>            Reporter: Anton Luht
>            Priority: Minor
>         Attachments: harmony_1678_1724_fix.patch, JETKiller.java, Test.java
>
>
> Build:
> svn = r452457, (Oct  3 2006), Windows/ia32/msvc 1310, debug build
> 4 test cases fail in Unit test 
> EncryptedPrivateKeyInfoTest 
> Unfortunately I can't tell why they fail because they do something too complicated for
me :)
> Please see a standalone test attached - in RI it prints nothing while on Harmony it prints
> AES, nulljava.security.spec.InvalidKeySpecException: Decrypted data does not rep
> resent valid PKCS#8 PrivateKeyInfo
> DES, nulljava.security.spec.InvalidKeySpecException: Decrypted data does not rep
> resent valid PKCS#8 PrivateKeyInfo
> RC4, nulljava.security.spec.InvalidKeySpecException: Decrypted data does not rep
> resent valid PKCS#8 PrivateKeyInfo
> 1.2.840.113549.1.12.1.3, nulljava.security.spec.InvalidKeySpecException: Decrypt
> ed data does not represent valid PKCS#8 PrivateKeyInfo

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message