libgdx / libgdx/packr

Reflection Issue When Packing Jar

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

Nobody has claimed this yet.

Dominant language
C++
Stars
2.6k
Forks
174
PR merge metrics
No merged PRs in 30d

Description

WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.

AdoptOpenJDK 15.0.2
Packr version: 4.0.0
Occurs when packaging Windows, Linux, or Mac.
Imports:
LibGdx 1.9.14 base packages.

I've been looking around - it seems that this can be fixed with adding a multi-build attribute to the .pom file.

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.

Research direction

Start by reproducing the warning while packaging the LibGdx base packages for Windows, Linux, and Mac with AdoptOpenJDK 15.0.2 and Packr 4.0.0. Inspect the .pom build configuration and evaluate the suggested multi-build attribute; done means the packaging warning or its performance impact is resolved across the reported platforms.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.