Other Test your app with JDK9 early access [2]

jmon

Well-Known Member
Licensed User
Longtime User
Hello,

OpenJDK calls for users to test the current release of JDK 9 early access [2]:
http://mail.openjdk.java.net/pipermail/openjfx-dev/2017-January/020153.html

(note, use only jdk9 to test, this is not a final release!)

As you may know JDK 9 has hit the feature extension complete milestone
[1]. We still have a small number of weeks to fix P1-P3 bugs, but we
need to know about them in order to fix them. Our focus will be on bugs
that are new in JDK 9 (regressions).
I ask all JavaFX developers to please download JDK 9 early access [2]
and test your application. You can report any bugs via bugs.java.com
[3]. If you have any questions about whether a behavior is a bug or is
expected, please ask on this alias or on the jigsaw-dev alias [4].

Thank you.
-- Kevin

I guess that applies to us too :). Switching from Java 7 to Java 8 was such a performance gain, I hope Java 9 will be amazing too. I also hope they include the css transitions!

Less than 6 months until release date: http://www.java9countdown.xyz/

Good luck.
Jmon
 
Last edited:

EnriqueGonzalez

Well-Known Member
Licensed User
Longtime User
This is awesome!!

Yet, it is hard for us B4x developers, to explain a bug to someone, for 2 reasons:

1.- You would need to understand how you jar is compiled.
2.- The license of B4x prohibits the reverse engineering of the oficial libraries, that means that if an error occurs because of them, you could not know.
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
A quick test (on a Linux VM) didn't discover any issues.

SS-2017-01-16_09.08.57.png


Note that you can use this code to show the Java version:
B4X:
MainForm.Title = $"Java Version: ${GetSystemProperty("java.version", "")}"$
 
Upvote 0

jmon

Well-Known Member
Licensed User
Longtime User
I get an error when compiling on windows:
B4J version: 4.70
Parsing code. (0.53s)
Compiling code. (5.29s)
Compiling layouts code. (0.01s)
Organizing libraries. (0.00s)
Compiling generated Java code. Error
error: Source option 1.5 is no longer supported. Use 1.6 or later.

javac 9-ea
Seems to be the same error as this one:
https://github.com/jline/jline2/issues/220

This is just a basic app, with B4J 4.70, and only jCore (v4.70) and jFX (v4.70) loaded.
 
Upvote 0
Top