Details
-
Bug
-
Resolution: Done
-
Critical
-
6.3.3
-
RC1
-
CR2
-
Description
JbpmPreprocessingUnit.readFile() closes Scanner instance by using Apache commons method IOUtils.closeQuietly(). This method takes objects that implement Closable interface. In JDK 1.6 Scanner didn't implement this interface, so calling readFile causes exception java.lang.IncompatibleClassChangeError: Class java.util.Scanner does not implement the requested interface java.io.Closeable.
I will make a PR for this.
Attachments
Issue Links
- relates to
-
JBPM-5315 JbpmPreprocessingUnit.readFile() method throws java.lang.IncompatibleClassChangeError on JDK 1.6
- Open