Skip to content

Commit

Permalink
[GR-33217] More JDK classes require runtime initialization.
Browse files Browse the repository at this point in the history
PullRequest: graal/9579
  • Loading branch information
vjovanov committed Aug 24, 2021
2 parents df35048 + 349c164 commit 1477a82
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,14 @@ public void afterRegistration(AfterRegistrationAccess access) {
rci.rerunInitialization("sun.nio.ch.PipeImpl", "Contains SecureRandom reference, therefore can't be included in the image heap");
}

rci.rerunInitialization("sun.net.PortConfig", "Calls PortConfig.getLower0() and PortConfig.getUpper0()");

rci.rerunInitialization("sun.nio.ch.DevPollArrayWrapper", "Calls IOUtil.fdLimit()");
rci.rerunInitialization("sun.nio.ch.EPoll", "Calls EPoll.eventSize(), EPoll.eventsOffset() and EPoll.dataOffset()");
rci.rerunInitialization("sun.nio.ch.EPollSelectorImpl", "Calls IOUtil.fdLimit()");
rci.rerunInitialization("sun.nio.ch.EventPortSelectorImpl", "Calls IOUtil.fdLimit()");
rci.rerunInitialization("sun.nio.fs.LinuxWatchService$Poller", "LinuxWatchService.eventSize() and LinuxWatchService.eventOffsets()");

rci.initializeAtBuildTime("sun.reflect", "Core JDK classes are initialized at build time");
rci.initializeAtBuildTime("sun.security.mscapi", "Core JDK classes are initialized at build time");
rci.initializeAtBuildTime("sun.text", "Core JDK classes are initialized at build time");
Expand Down

0 comments on commit 1477a82

Please sign in to comment.