Fix start error for asciidoctorj tool on OpenJDK 10
MODIFY
asciidoctorj-distribution/build.gradle
asciidoctorj-distribution/build.gradle
@@ -39,7 +39,7 @@ startScripts {
mainClassName = 'org.asciidoctor.cli.AsciidoctorInvoker'
defaultJvmOpts = [
'-client', '-Xmn128m', '-Xms256m', '-Xmx256m',
- '-Xverify:none', '-XX:+UseFastAccessorMethods', '-XX:+TieredCompilation', '-XX:TieredStopAtLevel=1', '-XX:+DisableExplicitGC',
+ '-Xverify:none', '-XX:+TieredCompilation', '-XX:TieredStopAtLevel=1', '-XX:+DisableExplicitGC',
'-Djruby.compile.mode=OFF', '-Djruby.compat.version=RUBY2_0'
]
classpath = configurations.getByName('compile').asFileTree

Fix start error for asciidoctorj tool on OpenJDK 10