janino-3.1.18 #81
stefan-zobel
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
JANINO-3.1.18
The first release of the 3.1.x maintenance line (see "Release lines" in Compatibility). The compiler is unchanged: the generated class files are the same as with 3.1.17, byte for byte.
Fixed
ExpressionEvaluator.guessParameterNames()andScriptEvaluator.guessParameterNames()didnot find the names in the initializers of local variables and fields and in array initializers,
e.g.
xinint y = x; return y;anda,binnew int[] { a, b }. They find them now.AbstractTraverser, which does not descend into such initializers either, is public API and stays unchanged in the 3.1.x line.Other changes
JAR); the browser uses the fonts of the system instead.
DownstreamApiTestuses both exactly as the projects do.Compatibility notes
including Janino's own sources and the code that Apache Spark generates for TPC-DS queries.
guessParameterNames()now also returns a name that occurs only in an initializer; if such a name denotes afield of the superclass of the script, it is guessed to be a parameter, like the same name in a statement.
with the Janino version that the projects declare.
Assets
The artifacts on Maven Central are signed with the PGP key
D7FA DB51 D921 93FC A6BA 204D C0D2 FF51 226A 8B8B. Thisrelease additionally contains the same files as the previous releases:
janino,commons-compiler,commons-compiler-jdk(each with sources and Javadoc),commons-compiler-tests, and the POMs, includingjanino-parent. Verify the downloads with:This discussion was created from the release janino-3.1.18.
All reactions