How to modify the class file?
<p>I was working on the project in eclipse in which I have added this maven dependency for PDFBOX</p>

<pre><code>Maven dependency

    &lt;dependency&gt;
      &lt;groupId&gt;org.apache.pdfbox&lt;/groupId&gt;
      &lt;artifactId&gt;pdfbox&lt;/artifactId&gt;
      &lt;version&gt;1.6.0&lt;/version&gt;
    &lt;/dependency&gt;
</code></pre>

<p>And I was getting the error on some pdf file as: </p>

<pre><code>Parsing Error, Skipping Object
java.io.IOException: expected='endstream' actual='' org.apache.pdfbox.io.PushBackInputStream@1b8d77fe
    at org.apache.pdfbox.pdfparser.BaseParser.parseCOSStream(BaseParser.java:439)
    at org.apache.pdfbox.pdfparser.PDFParser.parseObject(PDFParser.java:552)
    at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:184)
    at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1088)
    at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1053)
    at org.apache.tika.parser.pdf.PDFParser.parse(PDFParser.java:74)
    at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:197)
    at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:197)
    at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:135)
    at org.apache.tika.Tika.parseToString(Tika.java:357)
    at edu.uci.ics.crawler4j.crawler.BinaryParser.parse(BinaryParser.java:37)
    at edu.uci.ics.crawler4j.crawler.WebCrawler.handleBinary(WebCrawler.java:223)
    at edu.uci.ics.crawler4j.crawler.WebCrawler.processPage(WebCrawler.java:460)
    at edu.uci.ics.crawler4j.crawler.WebCrawler.run(WebCrawler.java:129)
    at java.lang.Thread.run(Thread.java:662)
</code></pre>

<p>So when I google it, I found there was some bug in BaseParser.java file, So they have given the patch(<a href="https://issues.apache.org/jira/browse/PDFBOX-195" rel="nofollow">https://issues.apache.org/jira/browse/PDFBOX-195</a>) for this java file only.. So my question is how can I modify this java file only.. I can see the BaseParser.class file in eclipse as I have attached the source doc for that PDFBOX-Issue. Any suggestions will be appreciated.</p>
