Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-1768

cannot build last source code

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8.3, 2.0.0
    • 1.8.3, 2.0.0
    • Signing
    • None
    • Win8.1, Eclipse

    Description

      When i run pdfbox ant build.xml I have this issue :

      [javac] D:_sources\eclipse_legalbox\pdfbox\pdfbox\src\main\java\org\apache\pdfbox\pdmodel\encryption\PDEncryptionManager.java:46: warning: [deprecation] PDStandardEncryption in org.apache.pdfbox.pdmodel.encryption has been deprecated
      [javac] registerSecurityHandler( PDStandardEncryption.FILTER_NAME, PDStandardEncryption.class );
      [javac] ^
      [javac] D:_sources\eclipse_legalbox\pdfbox\pdfbox\src\main\java\org\apache\pdfbox\pdmodel\encryption\PublicKeySecurityHandler.java:391: error: incompatible types
      [javac] ASN1Primitive derobject = asn1inputstream.readObject();
      [javac] ^
      [javac] required: ASN1Primitive
      [javac] found: DERObject
      [javac] D:_sources\eclipse_legalbox\pdfbox\pdfbox\src\main\java\org\apache\pdfbox\pdmodel\encryption\PublicKeySecurityHandler.java:407: error: cannot find symbol
      [javac] return contentinfo.toASN1Primitive();
      [javac] ^
      [javac] symbol: method toASN1Primitive()
      [javac] location: variable contentinfo of type ContentInfo

      Attachments

        Activity

          People

            lehmi Andreas Lehmkühler
            david.keller David KELLER
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: