Feedback needed for planning for end of support of Java 8

30 views
Skip to first unread message

Jarek Sacha

unread,
Sep 30, 2018, 2:20:20 PM9/30/18
to scalaf...@googlegroups.com, scala...@googlegroups.com
Oracle will end support Java 8 soon. The "Commercial User End of Public Updates" for Java 8 is set for January 2019: 
Oracle support for Java 9 and Java 10 is also ending. Java 11 is designated as the current Long Time Support (LTS) release.

Currently, the main development branch for ScalaFX primarily supports Java 8/JavaFX 8. The ScalaFX 8 binaries mostly work on newer versions of JavaFX (9, 10, 11), except a few cases, so there was not much pressure to directly support newer versions of JavaFX. Also, when Java 9 was released Scala and SBT were slow to support it; ScalaFX was stuck on Java 8.

Right now Scala and SBT work fine with latest Java releases. Starting with Java 11, JavaFX is removed from Java distribution and available as a external dependency (as any other Java/Scala library).

Looks to me like the right thing to do is to move, in the near future, the main development branch to primarily support JavaFX 11, and stop direct support of JavaFX 8 in the new development. Probably there will be one more release of ScalaFX 8 (R15), before switching main branch to ScalaFX 11. Currently, some of the unit test fail for JavaFX 9/10/11. Initial support for JavaFX 9/10 is on branch SFX-10 + [PR #279](https://github.com/scalafx/scalafx/pull/279). We will be ready to switch to JavaFX 11 once test pass and SBT configuration is updated to handle external JavaFX 11 dependency.

Basically, the idea is to move the main development from ScalaFX 8 to ScalaFX 11 relatively soon, and moving forward, release new build for Java 11 only. If we keep the compiler target binary compatibility at Java 1.8, they still may work on Java 8, 9, and 10.

Do you still use Java 8?
Let me know what you think.

Jarek




Tom Lamers

unread,
Oct 22, 2018, 8:14:30 AM10/22/18
to ScalaFX Developers
Hello Jarek,

i use scalafx in my sapphire projects.  With your latest release i deprecated java 8 for java 11.

Main Development on ScalaFX 11:

+1

greetings, Tom

Jarek Sacha

unread,
Apr 28, 2019, 9:25:51 PM4/28/19
to scala...@googlegroups.com

ScalaFX repo now switched to follow latest JavaFX releases, and updated to be compatible with JavaFX 12. To facilitate that repo branches were renamed:

master         ->  SFX-8
stable         ->  SFX-8-stable
SFX-11         ->  master
SFX-11-stable  ->  stable

If your local branches are not in sync with the origin you may consider deleting local branch and check them out from origin again. Note: do not delete local branches if you have un-pushed changes.

The master and stable branches will now follow current releases of JavaFX.

Jarek


--
You received this message because you are subscribed to the Google Groups "ScalaFX Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scalafx-dev...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages