[maven-release-plugin] prepare for next development iteration
[maven-release-plugin] prepare release clojure-1.10.0-alpha1
[maven-release-plugin] prepare for next development iteration
CLJ-2313: fix string capture in readLine
Signed-off-by: Rich Hickey <richhickey@gmail.com>
[maven-release-plugin] prepare release clojure-1.10.0-alpha2
[maven-release-plugin] prepare for next development iteration
[maven-release-plugin] prepare release clojure-1.10.0-alpha3
[maven-release-plugin] prepare for next development iteration
[maven-release-plugin] prepare release clojure-1.10.0-alpha4
[maven-release-plugin] prepare for next development iteration
CLJ-2354 tunnel nil through tap>
Signed-off-by: Rich Hickey <richhickey@gmail.com>
vendor asm to sha 88a0aa8a79df7370cd178281bdf690ac2361c19a
the following script vendors asm + GeneratorAdapter.java and its deps in $CLOJURE/src/main/java under the package clojure.asm #!/bin/bash # author Ghadi Shayban <gshayban@gmail.com> set -e ASMURI=https://gitlab.ow2.org/asm/asm.git if [ -z ${1+x} ] then echo error: provide an asm git sha / ref echo recent asm tags: git ls-remote --refs --tags $ASMURI \ | cut -f 3 -d / | tac | head -n 10 exit 1 fi ASMROOT=asmvendor CLJASM=src/jvm/clojure/asm echo shallow clone git clone --quiet --no-checkout --depth 30 $ASMURI $ASMROOT pushd $ASMROOT > /dev/null GITREF=$(git rev-parse $1) git checkout --quiet $GITREF popd > /dev/null echo removing existing clojure.asm git rm -r --ignore-unmatch $CLJASM > /dev/null mkdir -p $CLJASM $CLJASM/commons echo copying vendored files cp $ASMROOT/asm/src/main/java/org/objectweb/asm/*.java $CLJASM for cls in GeneratorAdapter Method LocalVariablesSorter TableSwitchGenerator; do cp \ $ASMROOT/asm-commons/src/main/java/org/objectweb/asm/commons/${cls}.java \ $CLJASM/commons done echo rewriting package names find $CLJASM -name '*.java' -print0 | xargs -0 sed -iBAK 's/org.objectweb.asm/clojure.asm/g' find $CLJASM -name '*BAK' -delete echo git commit git add $CLJASM cat - "${BASH_SOURCE[0]}" > COMMIT_MSG <<EOM vendor asm to sha $GITREF the following script vendors asm + GeneratorAdapter.java and its deps in \$CLOJURE/src/main/java under the package clojure.asm EOM git commit \ -F COMMIT_MSG \ --author='Ghadi Shayban <gshayban@gmail.com>' \ > /dev/null \ && rm COMMIT_MSG rm -rf $ASMROOT Signed-off-by: Stuart Halloway <stu@cognitect.com>
Signed-off-by: Stuart Halloway <stu@cognitect.com>
bump javac output to 1.8 classfiles
Signed-off-by: Stuart Halloway <stu@cognitect.com>
Compiler+genclass: emit jdk8 classfiles
Enabling JDK7+ bytecode requires stack map frames to be emitted. ASM generates these automatically when given a flag. To enable faster single pass verification, java uses stack map frames, which record stack contents at just before the first instruction at a target branch. The verifier easily tracks stack content within a basic blocks. ASM requires that you override getCommonSuperClass(t1, t2) as its default implementation does classloading and does not work for Clojure. If you have code like so: (or (seq coll) ()) :foo immediately before :foo control flow merges with two different types on the stack depending on the result of the or branch. ASM calls getCommonSuperClass() to record into the stack map frame. Luckily, because Clojure emits checkcasts conservatively before subsequent calls, we do not have to provide maximally specific answers to getCommonSuperClass(), instead we can return Object every time. We may want to revisit this when LWorld value types happen, or when generic specialization is available. Signed-off-by: Stuart Halloway <stu@cognitect.com>
CLJ-2363 Update JDK-specific code in core
Signed-off-by: Stuart Halloway <stu@cognitect.com>
CLJ-2284: enable calls to static interface methods
Signed-off-by: Stuart Halloway <stu@cognitect.com>
CLJ-2362 withMeta() should return identical object if new meta is ide…
…ntical to existing meta Signed-off-by: Stuart Halloway <stu@cognitect.com>
CLJ-2330 brittle serialization test
Signed-off-by: Stuart Halloway <stu@cognitect.com>
Signed-off-by: Stuart Halloway <stu@cognitect.com>
CLJ-2089 check first element added in sorted colls with default compa…
…rator Signed-off-by: Stuart Halloway <stu@cognitect.com>
- report zero-arg static invoke as a method arity error instead of a field error when a method with some other exists - report needed arity when a method is not found Signed-off-by: Stuart Halloway <stu@cognitect.com>
Signed-off-by: Stuart Halloway <stu@cognitect.com>
[maven-release-plugin] prepare release clojure-1.10.0-alpha5
[maven-release-plugin] prepare for next development iteration
CLJ-2367 Incorporate ASM merge request 189 and add case tests
Signed-off-by: Stuart Halloway <stu@cognitect.com>
[maven-release-plugin] prepare release clojure-1.10.0-alpha6
[maven-release-plugin] prepare for next development iteration
CLJ-2373 Improvements to exception message printing
Signed-off-by: Stuart Halloway <stu@cognitect.com>
CLJ-1279 Report correct arity count for function arity errors inside …
…macros Signed-off-by: Stuart Halloway <stu@cognitect.com>
CLJ-2386 omit ex-info construction stack frames
Signed-off-by: Stuart Halloway <stu@cognitect.com>
CLJ-2394 Warn in pst that stack trace for syntax error failed before …
…execution Signed-off-by: Stuart Halloway <stu@cognitect.com>
update spec.alpha to 0.2.176 and core.specs.alpha to 0.2.44
Signed-off-by: Stuart Halloway <stu@cognitect.com>
CLJ-2396 Omit in clause when printing spec errs if default explain pr…
…inter Signed-off-by: Stuart Halloway <stu@cognitect.com>
[maven-release-plugin] prepare release clojure-1.10.0-alpha7
[maven-release-plugin] prepare for next development iteration
make the reader return the same empty map when it reads an emtpy map
Signed-off-by: Stuart Halloway <stu@cognitect.com>
CLJ-1403: ns-resolve returns nil if class is not found
Signed-off-by: Stuart Halloway <stu@cognitect.com>
CLJ-1435 Extend numerator and denominator to also cover integer types
Signed-off-by: Stuart Halloway <stu@cognitect.com>
PersistentArrayMap's assoc doesn't respect HASHTABLE_THRESHOLD
Signed-off-by: Stuart Halloway <stu@cognitect.com>
Signed-off-by: Stuart Halloway <stu@cognitect.com>
Mention cljc when require fails
Signed-off-by: Stuart Halloway <stu@cognitect.com>
Enhance implementation of unchecked-* functions
See CLJ-1832 Signed-off-by: Stuart Halloway <stu@cognitect.com>