Jigsaw unfriendly + source/class file mismatch

Open
#157 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
java
Domain
build-system

Research direction

Start by comparing the contents of swinglibrary-2.2.2.jar with the 2.2.2 source zip, then inspect the dependency javalib-core-2.0.3.jar. Check the unnamed-package classes, OptionalArgsForTableCellClicking.class, and the referenced ArrayUtil class. Done means the source, binary, and dependency artifacts are consistent, or the remaining discrepancies are documented with a clear resolution.

Written by the indexing model from the issue text.

Description

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:

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.

Dominant language
Java
Stars
117
Forks
69
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from MarketSquare/SwingLibrary

All issues in MarketSquare/SwingLibrary

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.