Problems with JDK9
|
10-15-2017, 03:48 AM
(This post was last modified: 11-27-2017 11:56 AM by jworkorg.)
Post: #1
|
|||
|
|||
Problems with JDK9
JDK9 (Java9) is now official, but DMelt has multiple issues running on the Java9 platform, since JDK9 has a number of features that the lack of backward compatibility with older Java versions. Here is a list of known of problems with JDK9:
1) Jython cannot import Java classes when using "*" in the import statements. You have to type explicitly which class should be imported. For example: Code: from java.awt import * will not work. You should replace the star with the class names. This is related to the known issue of relocation standard Java libraries (and using a new formats). This lack of backward compatibility of Java9 is discussed in http://bugs.jython.org/issue2362 2) All exports to VectorGraphics images are broken in JDK9, i.e. you cannot export canvases to images to SVF, PDF, EPS using Java9. This issue is discussed in https://stackoverflow.com/questions/4674...-java-code 3) Multiple (and totally unnecessary) warning when running DMelt (and Jython 2.7.1) Code: WARNING: Illegal reflective access by org.python.core.PySystemState (file:/home/sergei/work/dmelt/jehep/lib/jython/jython.jar) to method java.io.Console.encoding() 4) GroovyConsole failed to start on Ubuntu desktops due to GTK Code: groovy-2.6.0-alpha-2/bin/groovyConsole |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 4 Guest(s)