Closed
Description
Stefan Gybas opened SPR-8727 and commented
The method
<T> Class<? extends T> loadClass(String name, Class<T> clazz) throws ClassNotFoundException;
was added to org.quartz.spi.ClassLoadHelper with Quartz 2.1.0 (see http://svn.terracotta.org/fisheye/changelog/Quartz/?cs=1614). It should be implemented by org.springframework.scheduling.quartz.ResourceLoaderClassLoadHelper, for example like this:
@SuppressWarnings("unchecked")
public <T> Class<? extends T> loadClass(String name, Class<T> clazz)
throws ClassNotFoundException {
return loadClass(name);
}
This will make Spring 3.1 compatibe with Quartz 2.1 while still being compatible with Quartz 1.x and 2.0. Spring can even be compiled against Quartz 2.0 and Quartz 2.1 with Java 5 since there's no @Override
annotation.
Affects: 3.1 M2
Issue Links:
- Support Quartz 2.0.x [SPR-8275] #12923 Support Quartz 2.0.x
- Need support for Quartz 2.0 [SPR-8359] #13006 Need support for Quartz 2.0
1 votes, 3 watchers