Comments (6)
According to https://stackoverflow.com/posts/12447162/revisions, a class loaded by two different class loaders will have two different Class<T>
instances. Since Class
doesn't implement equals
and hashCode
, it's not a suitable key for a map when multiple class loaders are involved,
Interestingly enough, this only happens when I use the generated IntelliJ runs, not ./gradlew runClient
.
from fabric-loader.
Nice catch! I'm aware of most of the repercussions of multiple classloaders, but couldn't quite identify where things went wrong.
This was already on its way to be fixed in 0.4.0, but with the analysis one could probably get this fixed in 0.3.x...
from fabric-loader.
This was already on its way to be fixed in 0.4.0, but with the analysis one could probably get this fixed in 0.3.x...
Is 0.4.0 just around the corner? If not, I could make the PR to fix in 0.3.x this weekend if you like.
from fabric-loader.
This issue should be reopened since my fix was bad.
from fabric-loader.
I'm not giving it another shot at a fix in 0.3.x. It's fixed properly in 0.4.x, backporting the proper fix is way too much effort.
from fabric-loader.
I just meant leave the issue open until 0.4.x release, as an indicator it's a known issue.
from fabric-loader.
Related Issues (20)
- I'm having a crash issues with 1.21 HOT 1
- Uncaught exception in thread "main"
- Droplets measurement making datapack incompatible HOT 3
- Backend library: LWJGL version does not always match vanilla output HOT 5
- Depedency overrides do not override existing depedency constratains.
- Fabric Enderman/entity crash HOT 1
- FabricLoader#getGameDir can return invalid path when using dedicated server HOT 2
- FABRIC CRASH
- Uncaught exception in thread "main" HOT 1
- Crash problem: Ticking player
- fabric crashes when opening with error code: 1 HOT 1
- Errors in Minecraft Fabric 1.21
- Debugging option to list mods with an access widener for items
- No-launcher: JOptSimple: Found multiple arguments HOT 1
- [Feature] FMJ Spec API
- Fabric Loader V 0.16.0 does not appear to accept `name=` for `@ModifyVariable` nor `@Local` HOT 2
- Fabric Loader tries to read a .pom file as a zip file HOT 2
- I play server on version 1.21 but after playing for a while I left the text network protocol errorserver with text HOT 2
- server mixin loaded on physical client HOT 1
- Help my game looks like this and my mods not working HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fabric-loader.