Skip to content

Commit 4ad0c33

Browse files
wangyumdongjoon-hyun
authored andcommitted
[SPARK-28221][BUILD] Upgrade janino to 3.0.13
## What changes were proposed in this pull request? Mainly change logs: ### Version 3.0.13: - Support for JDK 9/10 in Full Compiler - The syntax elements that can have modifiers now all have sets of "is...()" methods that check for each modifier. Some also have methods "getAccess()" and/or "getAnnotations()". - Implement "type annotations" (JLS8 9.7.4) - Implemented parsing (but not compilation) of "modular compilation units" (JLS11 7.3). - Replaced all "assert...Uncookable(..., Pattern messageRegex)" and "assert...Uncookable(..., String messageInfix)" method pairs with a single "assert...Uncookable(..., String messageRegex)" method. Minor refactoring: Allowed modifiers are now checked in the Parser, not in Java.*. This saves a lot of THROWS clauses. - Parse Type inference syntax: Type inference for generic instance creation implemented, test cases added. - Parse MethodReference, ClassInstanceCreationReference and ArrayCreationReference ### Version 3.0.12 - Fixed: Operator "&" not defined on types "java.lang.Long" and "int" - Major bug in JavaSourceClassLoader: When loading the second and following classes, CUs were compiled again, leading to an inconsistent class hierarchy. - Fixed: Java 9 added "Override public final CharBuffer CharBuffer.rewind() { ..." -- leads easily to a java.lang.NoSuchMethodError - Changed all occurences of the words "Java bytecode" to "JVM bytecode" to make clearer that the generated bytecode is for the JVMS and not suitable for, e.g. DALVIK. http://janino-compiler.github.io/janino/changelog.html ## How was this patch tested? Existing test Closes apache#25021 from wangyum/SPARK-28221. Authored-by: Yuming Wang <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
1 parent 51379b7 commit 4ad0c33

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

dev/deps/spark-deps-hadoop-2.7

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ commons-beanutils-1.9.3.jar
3030
commons-cli-1.2.jar
3131
commons-codec-1.10.jar
3232
commons-collections-3.2.2.jar
33-
commons-compiler-3.0.11.jar
33+
commons-compiler-3.0.13.jar
3434
commons-compress-1.8.1.jar
3535
commons-configuration-1.6.jar
3636
commons-crypto-1.0.0.jar
@@ -95,7 +95,7 @@ jackson-module-paranamer-2.9.9.jar
9595
jackson-module-scala_2.12-2.9.9.jar
9696
jackson-xc-1.9.13.jar
9797
jakarta.xml.bind-api-2.3.2.jar
98-
janino-3.0.11.jar
98+
janino-3.0.13.jar
9999
javassist-3.18.1-GA.jar
100100
javax.annotation-api-1.2.jar
101101
javax.inject-1.jar

dev/deps/spark-deps-hadoop-3.2

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ commons-beanutils-1.9.3.jar
2828
commons-cli-1.2.jar
2929
commons-codec-1.10.jar
3030
commons-collections-3.2.2.jar
31-
commons-compiler-3.0.11.jar
31+
commons-compiler-3.0.13.jar
3232
commons-compress-1.8.1.jar
3333
commons-configuration2-2.1.1.jar
3434
commons-crypto-1.0.0.jar
@@ -97,7 +97,7 @@ jackson-module-jaxb-annotations-2.9.9.jar
9797
jackson-module-paranamer-2.9.9.jar
9898
jackson-module-scala_2.12-2.9.9.jar
9999
jakarta.xml.bind-api-2.3.2.jar
100-
janino-3.0.11.jar
100+
janino-3.0.13.jar
101101
javassist-3.18.1-GA.jar
102102
javax.annotation-api-1.2.jar
103103
javax.inject-1.jar

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@
180180
<!-- org.apache.commons/commons-lang3/-->
181181
<commons-lang3.version>3.8.1</commons-lang3.version>
182182
<datanucleus-core.version>3.2.10</datanucleus-core.version>
183-
<janino.version>3.0.11</janino.version>
183+
<janino.version>3.0.13</janino.version>
184184
<jersey.version>2.22.2</jersey.version>
185185
<joda.version>2.9.3</joda.version>
186186
<jodd.version>3.5.2</jodd.version>

0 commit comments

Comments
 (0)