question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

In ide, minecraft classes should be loaded with knot than java's default class loader

See original GitHub issue

See FabricMC/yarn#2057

(net.minecraft.world.gen.chunk.NoiseChunkGenerator and net.minecraft.world.gen.StructureWeightSampler are in unnamed module of loader 'app')

Afaik running in other circumstances, such as in gradle run task or in production all goes through fabric loader. This one doesn’t and apparently causes some trouble as it bypasses loaders’ access hacks.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:15 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
OroArmorcommented, Feb 17, 2021

Sure give me a bit

1reaction
OroArmorcommented, Feb 17, 2021

@oroarmor do you have the full stacktrace of that illegal access error?

No, it was someone else that encountered it. I just reported it

Read more comments on GitHub >

github_iconTop Results From Across the Web

classloader in java is a class itself then who will load the ...
Java ClassLoader are hierarchical and whenever a request is raised to load a class, it delegates it to its parent and in this...
Read more >
documentation:fabric_loom [Fabric Wiki]
Loom provides utilities to install Minecraft and mods in a development ... the main classes defaults to net.fabricmc.loader.launch.knot.
Read more >
ClassLoader in Java
-verbose:class: It is used to display the information about classes being loaded by JVM. It is useful when using class loader for loading...
Read more >
Maven Failsafe Plugin – Class Loading and Forking
The booter can then load up MyApp from the class loader; ... classes out of that class loader, instead of using the default...
Read more >
How to Use Java Classloaders
What Is a Java Classloader? Java classloaders dynamically load Java classes to the JVM during runtime. Enter java.lang.ClassLoader. Let's dive ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found