Skip to content

Commit fe097a6

Browse files
committed
Log LinkageErrors as internal exceptions
1 parent 8c0adda commit fe097a6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/net/sourceforge/pmd/util/fxdesigner/app/services/ASTManagerImpl.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,9 @@ public ASTManagerImpl(DesignerRoot owner) {
128128
updated = null;
129129
currentException.setValue(e);
130130
} catch (LinkageError e) {
131+
// LinkageErrors might occur due to API incompatibilities with pmd-core at runtime.
131132
updated = null;
133+
logInternalException(e);
132134
}
133135

134136
compilationUnit.setValue(updated);

0 commit comments

Comments
 (0)