You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Jin Shen (Jira)" <ji...@apache.org> on 2022/01/12 03:52:00 UTC

[jira] [Updated] (SPARK-37872) [SQL] Some classes are move from org.codehaus.janino:janino to org.codehaus.janino:common-compiler after version 3.1.0

     [ https://issues.apache.org/jira/browse/SPARK-37872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jin Shen updated SPARK-37872:
-----------------------------
    Description: 
Here is the code:

 

[https://github.com/apache/spark/blob/master/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/codegen/CodeGenerator.scala#L32]

 

ByteArrayClassLoader and InternalCompilerException are moved to org.codehaus.janino:common-compiler

 

[https://github.com/janino-compiler/janino/blob/3.1.6/commons-compiler/src/main/java/org/codehaus/commons/compiler/util/reflect/ByteArrayClassLoader.java]

 

[https://github.com/janino-compiler/janino/blob/3.1.6/commons-compiler/src/main/java/org/codehaus/commons/compiler/InternalCompilerException.java]

 

The last working version of janino is 3.0.16 but it has security vulnerability issues.

Can we make change to this and upgrade to new version of janino and common-compiler?

  was:
Here is the code:

 

[https://github.com/apache/spark/blob/master/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/codegen/CodeGenerator.scala#L32]

 

ByteArrayClassLoader and InternalCompilerException are moved to org.codehaus.janino:common-compiler

 

[https://github.com/janino-compiler/janino/blob/3.1.6/commons-compiler/src/main/java/org/codehaus/commons/compiler/util/reflect/ByteArrayClassLoader.java]

 

[https://github.com/janino-compiler/janino/blob/3.1.6/commons-compiler/src/main/java/org/codehaus/commons/compiler/InternalCompilerException.java]

 

The last working version of janino is 3.0.8 but it has security vulnerability issues.

Can we make change to this and upgrade to new version of janino and common-compiler?


> [SQL] Some classes are move from org.codehaus.janino:janino to org.codehaus.janino:common-compiler after version 3.1.0 
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-37872
>                 URL: https://issues.apache.org/jira/browse/SPARK-37872
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.4.5
>            Reporter: Jin Shen
>            Priority: Major
>
> Here is the code:
>  
> [https://github.com/apache/spark/blob/master/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/codegen/CodeGenerator.scala#L32]
>  
> ByteArrayClassLoader and InternalCompilerException are moved to org.codehaus.janino:common-compiler
>  
> [https://github.com/janino-compiler/janino/blob/3.1.6/commons-compiler/src/main/java/org/codehaus/commons/compiler/util/reflect/ByteArrayClassLoader.java]
>  
> [https://github.com/janino-compiler/janino/blob/3.1.6/commons-compiler/src/main/java/org/codehaus/commons/compiler/InternalCompilerException.java]
>  
> The last working version of janino is 3.0.16 but it has security vulnerability issues.
> Can we make change to this and upgrade to new version of janino and common-compiler?



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org