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.

Allow passing a ClassLoader to ResourceService and WebjarService

See original GitHub issue

See #2834 for motivation. StaticFile.fromResource now has a ClassLoader parameter, but ResourceService always uses the default value. Same goes for WebjarService.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
nigredo-toricommented, Apr 29, 2020

@ashwinbhaskar, confirmed, the tests aren’t run. I suppose, this is https://github.com/etorreborre/specs2/issues/757, since the default Scala version is 2.13.1. Changing WebjarServiceSpec from object to class fixes this.

1reaction
rossabakercommented, Apr 28, 2020

If it’s binary compatible, please target series/0.21. If it’s not, master. If in doubt, try series/0.21, and we can change the base to master if that’s wrong.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ClassLoader (Java Platform SE 8 ) - Oracle Help Center
A class loader is an object that is responsible for loading classes. ... and its checkCreateClassLoader method doesn't allow creation of a new...
Read more >
How do I create a parent-last / child-first ClassLoader in Java ...
Therefore I want to allow me to Override, the parent classloader "jars" with my own: If a class I call is found in...
Read more >
Java ClassLoader | DigitalOcean
When JVM requests for a class, it invokes loadClass() function of the ClassLoader by passing the fully classified name of the Class.
Read more >
Class Loaders in Java - Baeldung
Class loaders are responsible for loading Java classes dynamically to the JVM (Java Virtual Machine) during runtime.
Read more >
The basics of Java class loaders - InfoWorld
Class loaders are one of the cornerstones of the Java virtual machine (JVM) architecture. They enable the JVM to load classes without knowing...
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