Skip to content

Commit fee2644

Browse files
committed
PluginInfo.getIdentifier: do not load the class
Fixes scifio/scifio#410.
1 parent 100351f commit fee2644

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/main/java/org/scijava/plugin/PluginInfo.java

+1-6
Original file line numberDiff line numberDiff line change
@@ -321,12 +321,7 @@ public PT createInstance() throws InstantiableException {
321321

322322
@Override
323323
public String getIdentifier() {
324-
try {
325-
return "plugin:" + loadClass();
326-
}
327-
catch (final InstantiableException exc) {
328-
return null;
329-
}
324+
return "plugin:" + getClassName();
330325
}
331326

332327
// -- Locatable methods --

0 commit comments

Comments
 (0)