JabRef / jabref

Graphical Java application for managing BibTeX and biblatex (.bib) databases
https://devdocs.jabref.org
MIT License
3.65k stars 2.59k forks source link

Issues depending on external libraries #5226

Open stefan-kolb opened 5 years ago

stefan-kolb commented 5 years ago

From #3421

Morerover, the following needs to be fixed at some point but we cannot do much at the moment:

Siedlerchr commented 2 years ago

Method too large error: if I understand this correct from the badass jlink docs, all non modular jars are merged together in a single module and thus require no entry in the java list of modules that is this method, that is throwing the method too large error.

The badass-jlink plugin takes a more pragmatic approach by combining all non-modular dependencies into a single jar. This way, only the resulting merged module needs a module descriptor.

https://badass-jlink-plugin.beryx.org/releases/latest/

koppor commented 2 years ago

Method too large error:

I was in the jlink code - I think, we need to work on that method. I think, we want to learn how to generate bytecode, don't we?

grafik

Siedlerchr commented 2 years ago

Handbook: https://asm.ow2.io/asm4-guide.pdf

We would need to generate smaller methods and add references to these smaller methods then to the main module descriptor method

Siedlerchr commented 1 year ago

Method too large was fixed by us and is now integrated in JDK 21.0.1 as well https://www.oracle.com/java/technologies/javase/21-0-1-relnotes.html