You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I list here some issues I've encountered trying to resolve classloading problems with swinglibrary-2.2.2.jar under Java 11...
While I'm not strictly trying to make this load as a java module, I am getting classloader errors that I'm having difficulty pinning down, thus I'm taking a close look at how all the bits fit together, and either I'm confused, or the parts I'm working with have issues.
Things I'm seeing:
Contains classes in the unnamed package, specifically: SwingLibrary.class and TestSwingLibrary.class
Jigsaw requires all java classes live in proper packages.
The above class file from the jar refers references org.robotframework.javalib.util.ArrayUtil which should live in the dependency javalib-core-2.0.3.jar. This dependency has the package org.robotframework.javalib.util, however ArrayUtil is absent from it.
I don't know if there's more discrepancies between source code and output. If however the source calls itself 2.2.2 and the binary calls itself 2.2.2, I'd expect them to represent the same thing.
Usually, I can use programmatic crowbars and sledgehammers to make arbitrary jars play nice with java modules/jigsaw, but what I'm encountering here are a mix of issues interfering with that goal, of a sort that I'd really rather not touch.
The text was updated successfully, but these errors were encountered:
I list here some issues I've encountered trying to resolve classloading problems with swinglibrary-2.2.2.jar under Java 11...
While I'm not strictly trying to make this load as a java module, I am getting classloader errors that I'm having difficulty pinning down, thus I'm taking a close look at how all the bits fit together, and either I'm confused, or the parts I'm working with have issues.
Things I'm seeing:
Contains classes in the unnamed package, specifically: SwingLibrary.class and TestSwingLibrary.class
Jigsaw requires all java classes live in proper packages.
The jar for swinglibrary-2.2.2 (from https://repo1.maven.org/maven2/org/robotframework/swinglibrary/2.2.2/swinglibrary-2.2.2.jar ) contains org/robotframework/swing/keyword/table/OptionalArgsForTableCellClicking.class This class file is not in the corresponding source zip (from https://codeload.github.com/robotframework/SwingLibrary/zip/refs/tags/2.2.2)
The above class file from the jar refers references org.robotframework.javalib.util.ArrayUtil which should live in the dependency javalib-core-2.0.3.jar. This dependency has the package org.robotframework.javalib.util, however ArrayUtil is absent from it.
I don't know if there's more discrepancies between source code and output. If however the source calls itself 2.2.2 and the binary calls itself 2.2.2, I'd expect them to represent the same thing.
Usually, I can use programmatic crowbars and sledgehammers to make arbitrary jars play nice with java modules/jigsaw, but what I'm encountering here are a mix of issues interfering with that goal, of a sort that I'd really rather not touch.
The text was updated successfully, but these errors were encountered: