Skip to content

Commit

Permalink
preferences.ComplianceConfigurationBlock: add null check - fixes ecli…
Browse files Browse the repository at this point in the history
  • Loading branch information
EcljpseB0T authored and jukzi committed Nov 30, 2023
1 parent 93c2d6b commit 8a8eef9
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -863,6 +863,9 @@ private void validateComplianceStatus() {
}

private String addsExportToSystemModule() {
if (fProject == null) {
return null;
}
try {
for (IClasspathEntry cpe : JavaCore.create(fProject).getRawClasspath()) {
if (cpe.getEntryKind() == IClasspathEntry.CPE_CONTAINER && LibrariesWorkbookPage.isJREContainer(cpe.getPath())) {
Expand Down

0 comments on commit 8a8eef9

Please sign in to comment.