Skip to content

Commit de6d8d4

Browse files
committed
Ignore linkage errors from enclosing types.
1 parent e69876f commit de6d8d4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

substratevm/src/com.oracle.graal.pointsto/src/com/oracle/graal/pointsto/heap/ImageLayerWriter.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,8 @@ protected void persistType(AnalysisType type, String typeDescriptor, PersistedAn
377377
* created. If the enclosing type is missing, it is ignored for now. This try/catch
378378
* block could be removed after the trackAcrossLayers is fully implemented.
379379
*/
380+
} catch (InternalError | TypeNotPresentException | LinkageError e) {
381+
/* Ignore missing type errors. */
380382
}
381383
if (type.isArray()) {
382384
builder.setComponentTypeId(type.getComponentType().getId());

0 commit comments

Comments
 (0)