1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-28 03:15:33 +02:00

Use Class.forName().

This commit is contained in:
Alain Magloire 2003-01-29 15:02:59 +00:00
parent 36d2f67998
commit ec79111551

View file

@ -132,7 +132,7 @@ public class ErrorParserManager extends OutputStream {
while (tok.hasMoreElements()) {
String clName = tok.nextToken();
try {
IErrorParser parser = (IErrorParser) getClass().forName(clName).newInstance();
IErrorParser parser = (IErrorParser) Class.forName(clName).newInstance();
fErrorParsers.add(parser);
}
catch (ClassNotFoundException e) {