From 66d969b453307b05569880fbbb8ba1af57fab3d3 Mon Sep 17 00:00:00 2001 From: Trustin Lee Date: Tue, 20 May 2014 22:37:55 +0900 Subject: [PATCH] Fix a build problem with JDK 8 Motivation: Build fails with JDK 8 because npn-boot does not work with JDK 8 Modifications: Do not specify bootclasspath when on JDK 8 Result: Build is green again. --- example/pom.xml | 1 + pom.xml | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/example/pom.xml b/example/pom.xml index c44e9e3b15..833ebbe7de 100644 --- a/example/pom.xml +++ b/example/pom.xml @@ -142,6 +142,7 @@ ${java.home}/bin/java ${argLine.common} + ${argLine.bootcp} ${argLine.leak} ${argLine.coverage} -classpath %classpath diff --git a/pom.xml b/pom.xml index 761cfbad7b..14cd9f4464 100644 --- a/pom.xml +++ b/pom.xml @@ -100,14 +100,16 @@ - jdk8 [1.8,) + false + + -D_ @@ -314,7 +316,6 @@ 1.1.7.v20140316 ${settings.localRepository}/org/mortbay/jetty/npn/npn-boot/${jetty.npn.version}/npn-boot-${jetty.npn.version}.jar - -Xbootclasspath/p:${jetty.npn.path} -server -dsa -da -ea:io.netty... -XX:+AggressiveOpts @@ -325,6 +326,7 @@ -XX:+HeapDumpOnOutOfMemoryError -verbose:gc + -Xbootclasspath/p:${jetty.npn.path} -D_ -D_ @@ -736,7 +738,7 @@ **/TestUtil* random - ${argLine.common} ${argLine.leak} ${argLine.coverage} + ${argLine.common} ${argLine.bootcp} ${argLine.leak} ${argLine.coverage}