poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49378] New: org\apache\poi\poifs\crypt\Decryptor.java using Java 6.0 ...
Date Thu, 03 Jun 2010 15:40:37 GMT
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


Mime
View raw message