gradle/gradle-jdocbook — pull request #13 by jeffdc (2012-08-27 19:40:05+00:00)
Title: Fix for Issue #7

Fixed crash where wrong ctor was sometimes called. Appears to be platform and JVM dependent.
Crash was consistent on Linux with Java7. The problem is that the FormatOption class has 2 single param ctors. Line 92 of Book.groovy calls the modifed method with null for the name param. This then in turn calls new FormatOption(null), which on Linux/Java7 calls the FormatOption(FormatOption parent) ctor not the FormatOption(String name) ctor as apparently happens on other platforms and on Linux with Java6.