Coder Social home page Coder Social logo

Comments (6)

apottere avatar apottere commented on May 26, 2024 1

@eli-darkly that fixed it, thank you!

from java-server-sdk.

eli-darkly avatar eli-darkly commented on May 26, 2024

Thanks for pointing this out. Either due to having changed which shading plugin we were using, or due to a change in the behavior of that plugin at some point, it started not just shading the classes in the jar but also transforming the string parameter in a call to Class.forName(). It's a bit odd for it to do so for a class name that is clearly not one of the classes being shaded— I would think that that would make the tool's default behavior unusable for code that had to check for the presence of any external framework at all— but it should be possible to override this.

from java-server-sdk.

apottere avatar apottere commented on May 26, 2024

Yeah, I was surprised to see that was getting shaded as well - hopefully it's an easy fix in the shader config. Thanks for taking a look!

from java-server-sdk.

eli-darkly avatar eli-darkly commented on May 26, 2024

Please let us know once you've had a chance to retest with the 4.8.1 release.

from java-server-sdk.

eli-darkly avatar eli-darkly commented on May 26, 2024

Annoyingly, this was not an easy fix in the Shadow plugin config. We're still trying to figure out why it behaves this way; in the meantime, we've implemented a workaround in the code that is pretty silly-looking, but does work.

from java-server-sdk.

apottere avatar apottere commented on May 26, 2024

Haha yeah, I was looking at the workaround yesterday. If its silly and it works, ¯\_(ツ)_/¯

from java-server-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.