In JDK 15 the concept of hidden classes was introduced, which also affects Lambdas in so far that Class.getCanonicalName() will return null for those. This commit uses Class.getName() as a fallback when no canonical name is available. See gh-21713
In JDK 15 the concept of hidden classes was introduced, which also affects Lambdas in so far that Class.getCanonicalName() will return null for those. This commit uses Class.getName() as a fallback when no canonical name is available. See gh-21713