Skip to content

Commit 69fc7db

Browse files
committed
do not check safeguards when using open world
1 parent 2e90ee5 commit 69fc7db

File tree

1 file changed

+3
-1
lines changed
  • substratevm/src/com.oracle.svm.hosted/src/com/oracle/svm/hosted/code

1 file changed

+3
-1
lines changed

substratevm/src/com.oracle.svm.hosted/src/com/oracle/svm/hosted/code/CompileQueue.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,9 @@ public void finish(DebugContext debug) {
396396
parseAll();
397397
}
398398

399-
if (!ImageLayerBuildingSupport.buildingImageLayer() && !PointstoOptions.UseExperimentalReachabilityAnalysis.getValue(universe.hostVM().options())) {
399+
// GR-59742 re-enable for open type world and layered images
400+
if (SubstrateOptions.useClosedTypeWorld() && !ImageLayerBuildingSupport.buildingImageLayer() &&
401+
!PointstoOptions.UseExperimentalReachabilityAnalysis.getValue(universe.hostVM().options())) {
400402
/*
401403
* Reachability Analysis creates call graphs with more edges compared to the
402404
* Points-to Analysis, therefore the annotations would have to be added to a lot

0 commit comments

Comments
 (0)