You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2010/06/03 17:40:37 UTC

DO NOT REPLY [Bug 49378] New: org\apache\poi\poifs\crypt\Decryptor.java using Java 6.0 ...

https://issues.apache.org/bugzilla/show_bug.cgi?id=49378

           Summary: org\apache\poi\poifs\crypt\Decryptor.java using Java
                    6.0 ...
           Product: POI
           Version: 3.7-dev
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: POI Overall
        AssignedTo: dev@poi.apache.org
        ReportedBy: will@coleda.com


Build failure from r951037

    [javac] D:\POI
Build\src\java\org\apache\poi\poifs\crypt\Decryptor.java:107: cannot find
symbol
    [javac] symbol  : method copyOf(byte[],int)
    [javac] location: class java.util.Arrays
    [javac] return Arrays.copyOf(x3, requiredKeyLength);
    [javac] ^
    [javac] D:\POI
Build\src\java\org\apache\poi\poifs\crypt\Decryptor.java:120: cannot find
symbol
    [javac] symbol  : method copyOf(byte[],int)
    [javac] location: class java.util.Arrays
    [javac] byte[] verifierHash =
Arrays.copyOf(cipher.doFinal(info.getVerifier().getVerifierHash()),
calcVerifierHash.length);
    [javac] ^
    [javac] 2 errors

This .copyOf() method was added in 6, so we have to remove it to stay 5.x
compliant.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 49378] org\apache\poi\poifs\crypt\Decryptor.java using Java 6.0 ...

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49378

Nick Burch <ni...@alfresco.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Nick Burch <ni...@alfresco.com> 2010-06-03 12:14:07 EDT ---
Fixed in r951048.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org