Skip to content
This repository has been archived by the owner on Sep 19, 2021. It is now read-only.

Migrating from Java 8 to 11 #102

Open
GHPS opened this issue Mar 14, 2019 · 2 comments
Open

Migrating from Java 8 to 11 #102

GHPS opened this issue Mar 14, 2019 · 2 comments

Comments

@GHPS
Copy link

GHPS commented Mar 14, 2019

PixelController runs fine under Java version 8 (java8). Since the
official date for End-of-Life is getting closer (in parts already past) it's
not a bad idea to update to Java 11. Starting PixelController with Java 11
one unfortunately gets the error message

[0,576s][info][class,load] java.util.IdentityHashMap$KeySet source: jrt:/java.base
java.lang.ClassCastException: java.base/jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to java.base/java.net.URLClassLoader at org.appstart.Starter.main(Starter.java:74)

Not only for a Python programmer this is rather cryptic - even from a Java
perspective the problem seems to be quite hard to fix [1]. While many
projects stick to Java 8 in face of upgrade problems [2] the question
nevertheless arises:

Has anyone succeed in converting PixelController to Java 11?

1: https://community.oracle.com/thread/4011800
2: https://www.theregister.co.uk/2019/03/07/java_developers_version_8/

@neophob
Copy link
Owner

neophob commented Mar 14, 2019

note: i dont maintain this project anymore but happy to merge prs.

@GHPS
Copy link
Author

GHPS commented Mar 16, 2019

note: i dont maintain this project anymore but happy to merge prs.

Great - the latest commits (b39c05d and 94b02e5) were made to
the 'master' branch but not to 'develop'. Moreover 'develop'
contains the latest release version '2.1.0-RC1' which contains
features not implemented in 'master'. Now - almost 5 years after
the release - RC1 can safely be renamed to '2.1.0'.

Therefore I suggest merging the latest 'develop' branch into
'master' and call it version '2.1.1' since some minor issues
have been fixed.

This would make the future development of PixelController much
easier.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants