fabric-loader icon indicating copy to clipboard operation
fabric-loader copied to clipboard

Loader should not load server embedded libraries with knot classloader

Open liach opened this issue 5 years ago • 2 comments

Currently loader refuses to load client-side libraries in standalone jars with knot, yet it loads server-embedded libraries with knot. I suggest loading them in the same fashion, presumably start loading client libraries (easier) with knot or stop loading server libraries with knot (hard and bug-prone)

liach avatar Apr 27 '20 18:04 liach

Not really possible and feasible; vanilla intends them to be loaded in the same class loader, and fabric should probably do the same.

liach avatar Jun 24 '21 04:06 liach

Now 21w39a splits vanilla server and its dependencies. It may be a good time to revisit this concept.

liach avatar Sep 29 '21 20:09 liach

I believe this issue was solved with the classloader rework. You can now mixin/transform most client and server libraries.

modmuss50 avatar Feb 05 '23 21:02 modmuss50