Actions
Bug #6088
closedThe use of depricated methods
Start date:
06/22/2015
Due date:
% Done:
100%
Estimated time:
Detected in build:
svn
Platform:
Published in build:
2.2.7
Description
The method toUrl
is depricated.
final URL url;
try {
url = file.toURL();
} catch (MalformedURLException e1) {
Logger.error(e1.getMessage());
return testBase;
}
final URL[] urls = new URL[]{url};
final ClassLoader loader = new URLClassLoader(urls);
Updated by Andrei Tatarnikov over 9 years ago
I created a utility class doing a similar job (loading a model):
I suggest that we create a similar method for loading extensions.
Updated by Andrei Tatarnikov over 9 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Fixed the warning - r3946. But refactoring would be highly desirable.
Updated by Alexander Kamkin over 9 years ago
- Status changed from Resolved to Closed
- Published in build set to 2.2.7
Actions