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: [email protected]
ReportedBy: [email protected]
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: [email protected]
For additional commands, e-mail: [email protected]