Skip to content

Y20220827-1000

@iloveeclipse iloveeclipse tagged this 22 Aug 08:45
While fixing https://github.com/eclipse-jdt/eclipse.jdt.core/pull/245
I've noticed that TargetPlatformHelper is the only caller of
ClasspathJrt.getModule() that does not check for null return, which is
however fully valid result.

Simply added a NP check to avoid NPE in
TargetPlatformHelper.querySystemPackages().
Assets 2
Loading