Community
Participate
Working Groups
This showed up in BundleIdBasedRegionTests. If a BundleIdBasedRegion is constructed with a null bundle context parameter, then no exception is thrown. Presumably the project is not being woven correctly.
BundleIdBasedRegionTests isn't an integration test, so the @NonNull will go nowhere fast.
Ignore comment 1.
The problem was that the project was not being woven with the NonNullAssertionEnforcer aspect from kernel core. Fixed the project setup in kernel commit ee698a1472a062346289d2e812cf35c2207a3e5a. Also added a test so the tests will fail if the project setup goes wrong in the future.