Testing DataMalt 2.3 using JDK 12 Early-Access Builds
|
12-13-2018, 11:01 PM
(This post was last modified: 12-13-2018 11:11 PM by admin.)
Post: #2
|
|||
|
|||
RE: Testing DataMalt 2.3 using JDK 12 Early-Access Builds
Hi,
Indeed, it works with all these warnings. But I remind that some Jython web scripts require adjustment of the "import" statements, since Jython 2.7 cannot use wild cards (i.e. "*") for importing Java packages starting (starting from the JDK version 9). For example, this script with the explicit import statement works OK for all Java versions: Code: from jhplot import HPlot3D,H2D,F2D But the Jython code shown below fails (due to the regular expression in the import statement "java.util import *"): Code: from jhplot import HPlot3D,H2D,F2D The output of the code above[/quote][/code]: Quote:Traceback (most recent call last): , File test.py, line 16, in <module> , The Jython package inside DataMelt should be updated when Jython will be certified for JDK9-JDK12. As far as I know, this works on Jython is ongoing. Tania |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Testing DataMalt 2.3 using JDK 12 Early-Access Builds - jworkorg - 12-13-2018, 10:47 AM
RE: Testing DataMalt 2.3 using JDK 12 Early-Access Builds - admin - 12-13-2018 11:01 PM
|
User(s) browsing this thread: 2 Guest(s)