See <https://builds.apache.org/job/PDFBox-ant/921/changes>
Changes: [tchojecki] PDFBOX-1587: Update the dependency on Bouncy Castle to 1.48 ------------------------------------------ Started by an SCM change Building remotely on solaris1 in workspace <https://builds.apache.org/job/PDFBox-ant/ws/> Updating http://svn.apache.org/repos/asf/pdfbox/trunk U pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/PublicKeySecurityHandler.java U pdfbox/pom.xml At revision 1477779 [pdfbox] $ /home/hudson/tools/ant/apache-ant-1.7.0/bin/ant -file build.xml dist Buildfile: build.xml pdfbox.clean: [delete] Deleting directory /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/target [delete] Deleting directory /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/bin get.externallibs.pdfbox: testexist: downloadfile: testexist: downloadfile: testexist: downloadfile: testexist: downloadfile: testexist: downloadfile: get.externallibs.fontbox: testexist: downloadfile: testexist: downloadfile: fontbox.init: fontbox.compile: fontbox.package: get.externallibs.jempbox: testexist: downloadfile: testexist: downloadfile: jempbox.init: jempbox.compile: jempbox.package: pdfbox.init: [mkdir] Created dir: /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/target/classes [mkdir] Created dir: /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/bin [mkdir] Created dir: /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/target/test-output [mkdir] Created dir: /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/target/test-output/rendering [mkdir] Created dir: /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/target/test-output-ext [mkdir] Created dir: /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/target/test-output-ext/rendering find.adobefiles: get.adobefiles: testexist: downloadfile: [unjar] Expanding: /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/download/pcfi-2010.08.09.jar into /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/target/classes/org/apache/pdfbox/resources/afm [unjar] Expanding: /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/download/pcfi-2010.08.09.jar into /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/target/classes/org/apache/pdfbox/resources pdfbox.compile: [javac] Compiling 507 source files to /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/target/classes [javac] /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/src/main/java/org/apache/pdfbox/exceptions/COSVisitorException.java:25: warning: [deprecation] org.apache.pdfbox.exceptions.WrappedException in org.apache.pdfbox.exceptions has been deprecated [javac] public class COSVisitorException extends WrappedException [javac] ^ [javac] /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/src/main/java/org/apache/pdfbox/encryption/DocumentEncryption.java:43: warning: [deprecation] org.apache.pdfbox.pdmodel.encryption.PDStandardEncryption in org.apache.pdfbox.pdmodel.encryption has been deprecated [javac] import org.apache.pdfbox.pdmodel.encryption.PDStandardEncryption; [javac] ^ [javac] /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/PublicKeySecurityHandler.java:40: cannot find symbol [javac] symbol : class ASN1Primitive [javac] location: package org.bouncycastle.asn1 [javac] import org.bouncycastle.asn1.ASN1Primitive; [javac] ^ [javac] /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/PublicKeySecurityHandler.java:379: cannot find symbol [javac] symbol : class ASN1Primitive [javac] location: class org.apache.pdfbox.pdmodel.encryption.PublicKeySecurityHandler [javac] private ASN1Primitive createDERForRecipient(byte[] in, X509Certificate cert) [javac] ^ [javac] /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/documentnavigation/outline/PDOutlineNode.java:84: warning: [deprecation] getDictionaryObject(java.lang.String,java.lang.String) in org.apache.pdfbox.cos.COSDictionary has been deprecated [javac] COSDictionary parent = (COSDictionary)node.getDictionaryObject( "Parent", "P" ); [javac] ^ [javac] /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/documentnavigation/outline/PDOutlineNode.java:87: warning: [deprecation] getDictionaryObject(java.lang.String,java.lang.String) in org.apache.pdfbox.cos.COSDictionary has been deprecated [javac] if( parent.getDictionaryObject( "Parent", "P" ) == null ) [javac] ^ [javac] /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/src/main/java/org/apache/pdfbox/encryption/DocumentEncryption.java:61: warning: [deprecation] org.apache.pdfbox.encryption.PDFEncryption in org.apache.pdfbox.encryption has been deprecated [javac] private PDFEncryption encryption = new PDFEncryption(); [javac] ^ [javac] /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/src/main/java/org/apache/pdfbox/encryption/DocumentEncryption.java:103: warning: [deprecation] getOwnerPasswordForEncryption() in org.apache.pdfbox.pdmodel.PDDocument has been deprecated [javac] String ownerPassword = pdDocument.getOwnerPasswordForEncryption(); [javac] ^ [javac] /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/src/main/java/org/apache/pdfbox/encryption/DocumentEncryption.java:104: warning: [deprecation] getUserPasswordForEncryption() in org.apache.pdfbox.pdmodel.PDDocument has been deprecated [javac] String userPassword = pdDocument.getUserPasswordForEncryption(); [javac] ^ [javac] /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/src/main/java/org/apache/pdfbox/encryption/DocumentEncryption.java:113: warning: [deprecation] org.apache.pdfbox.pdmodel.encryption.PDStandardEncryption in org.apache.pdfbox.pdmodel.encryption has been deprecated [javac] PDStandardEncryption encParameters = (PDStandardEncryption)pdDocument.getEncryptionDictionary(); [javac] ^ [javac] /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/src/main/java/org/apache/pdfbox/encryption/DocumentEncryption.java:113: warning: [deprecation] org.apache.pdfbox.pdmodel.encryption.PDStandardEncryption in org.apache.pdfbox.pdmodel.encryption has been deprecated [javac] PDStandardEncryption encParameters = (PDStandardEncryption)pdDocument.getEncryptionDictionary(); [javac] ^ [javac] /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/src/main/java/org/apache/pdfbox/encryption/DocumentEncryption.java:146: warning: [deprecation] org.apache.pdfbox.encryption.PDFEncryption in org.apache.pdfbox.encryption has been deprecated [javac] encryption = new PDFEncryption(); [javac] ^ [javac] /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/src/main/java/org/apache/pdfbox/encryption/DocumentEncryption.java:184: warning: [deprecation] org.apache.pdfbox.pdmodel.encryption.PDStandardEncryption in org.apache.pdfbox.pdmodel.encryption has been deprecated [javac] PDStandardEncryption encParameters = (PDStandardEncryption)pdDocument.getEncryptionDictionary(); [javac] ^ [javac] /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/src/main/java/org/apache/pdfbox/encryption/DocumentEncryption.java:184: warning: [deprecation] org.apache.pdfbox.pdmodel.encryption.PDStandardEncryption in org.apache.pdfbox.pdmodel.encryption has been deprecated [javac] PDStandardEncryption encParameters = (PDStandardEncryption)pdDocument.getEncryptionDictionary(); [javac] ^ [javac] /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/PDEncryptionManager.java:46: warning: [deprecation] org.apache.pdfbox.pdmodel.encryption.PDStandardEncryption in org.apache.pdfbox.pdmodel.encryption has been deprecated [javac] registerSecurityHandler( PDStandardEncryption.FILTER_NAME, PDStandardEncryption.class ); [javac] ^ [javac] /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/PDEncryptionManager.java:46: warning: [deprecation] org.apache.pdfbox.pdmodel.encryption.PDStandardEncryption in org.apache.pdfbox.pdmodel.encryption has been deprecated [javac] registerSecurityHandler( PDStandardEncryption.FILTER_NAME, PDStandardEncryption.class ); [javac] ^ [javac] /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/PublicKeySecurityHandler.java:312: cannot find symbol [javac] symbol : class ASN1Primitive [javac] location: class org.apache.pdfbox.pdmodel.encryption.PublicKeySecurityHandler [javac] ASN1Primitive obj = createDERForRecipient(pkcs7input, certificate); [javac] ^ [javac] /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/PublicKeySecurityHandler.java:390: cannot find symbol [javac] symbol : class ASN1Primitive [javac] location: class org.apache.pdfbox.pdmodel.encryption.PublicKeySecurityHandler [javac] ASN1Primitive derobject = asn1inputstream.readObject(); [javac] ^ [javac] /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/PublicKeySecurityHandler.java:406: cannot find symbol [javac] symbol : method toASN1Primitive() [javac] location: class org.bouncycastle.asn1.cms.ContentInfo [javac] return contentinfo.toASN1Primitive(); [javac] ^ [javac] /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/annotation/PDAnnotationPopup.java:105: warning: [deprecation] getDictionaryObject(java.lang.String,java.lang.String) in org.apache.pdfbox.cos.COSDictionary has been deprecated [javac] PDAnnotation.createAnnotation( getDictionary().getDictionaryObject( "Parent", "P" ) ); [javac] ^ [javac] /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/documentnavigation/destination/PDPageDestination.java:136: warning: [deprecation] getDictionaryObject(java.lang.String,java.lang.String) in org.apache.pdfbox.cos.COSDictionary has been deprecated [javac] while (((COSDictionary) parent).getDictionaryObject("Parent", "P") != null) { [javac] ^ [javac] /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/documentnavigation/destination/PDPageDestination.java:137: warning: [deprecation] getDictionaryObject(java.lang.String,java.lang.String) in org.apache.pdfbox.cos.COSDictionary has been deprecated [javac] parent = ((COSDictionary) parent).getDictionaryObject( "Parent", "P" ); [javac] ^ [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 5 errors [javac] 17 warnings BUILD FAILED /zonestorage/hudson_solaris/home/hudson/hudson-slave/workspace/PDFBox-ant/trunk/pdfbox/build.xml:189: Compile failed; see the compiler error output for details. Total time: 18 seconds Build step 'Invoke Ant' marked build as failure