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

Migrating from Java 8 to 11 #102

Description

@GHPS

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/

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions