Skip to content

Commit

Permalink
Re-enable bootclasspath optimization.
Browse files Browse the repository at this point in the history
  • Loading branch information
technomancy committed Feb 11, 2019
1 parent 8a981b9 commit c0eb388
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## 2.9.0 / 2019-02-10

* Re-enable bootclasspath optimization by default. (Phil Hagelberg)
* Sort namespace order consistently during AOT. (Logan Girard)
* Use Clojure 1.10.0 for plugins and new templates projects. (Alex Miller, Phil Hagelberg)

Expand Down
2 changes: 1 addition & 1 deletion bin/lein
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ if [ -r "$BIN_DIR/../src/leiningen/version.clj" ]; then
else # Not running from a checkout
add_path CLASSPATH "$LEIN_JAR"

if [ "$LEIN_USE_BOOTCLASSPATH" != "" ]; then
if [ "$LEIN_USE_BOOTCLASSPATH" != "no" ]; then
LEIN_JVM_OPTS="-Xbootclasspath/a:$LEIN_JAR $LEIN_JVM_OPTS"
fi

Expand Down
2 changes: 1 addition & 1 deletion bin/lein-pkg
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ if ! { [ "$1" = "compile" ] &&
grep -qsE 'defproject leiningen[[:space:]]+"[[:digit:].]+"' \
project.clj ;}; then
CLASSPATH="$CLASSPATH":"$LEIN_JAR"
if [ "$LEIN_USE_BOOTCLASSPATH" != "" ]; then
if [ "$LEIN_USE_BOOTCLASSPATH" != "no" ]; then
LEIN_JVM_OPTS="-Xbootclasspath/a:$LEIN_JAR $LEIN_JVM_OPTS"
fi
fi
Expand Down
2 changes: 1 addition & 1 deletion bin/lein-sdkman
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ grep -E -q '^\s*:eval-in\s+:classloader\s*$' project.clj 2> /dev/null && \

add_path CLASSPATH "$LEIN_JAR"

if [ "$LEIN_USE_BOOTCLASSPATH" != "" ]; then
if [ "$LEIN_USE_BOOTCLASSPATH" != "no" ]; then
LEIN_JVM_OPTS="-Xbootclasspath/a:$LEIN_JAR $LEIN_JVM_OPTS"
fi

Expand Down

0 comments on commit c0eb388

Please sign in to comment.