Allow passing a ClassLoader to ResourceService and WebjarService
See original GitHub issueSee #2834 for motivation. StaticFile.fromResource
now has a ClassLoader
parameter, but ResourceService
always uses the default value. Same goes for WebjarService
.
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (5 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@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
fromobject
toclass
fixes this.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.