If you execute the code via the accompanied main function will see a stack trace printed in both cases. However, if the code is executed inside a lambda handler function you will see that it does not ...
at org.eclipse.jdt.internal.core.PackageFragment.internalIsValidPackageName(PackageFragment.java:468) at org.eclipse.jdt.internal.core.PackageFragment ...
A recent JavaWorld Community forum message (Stack Overflow after instantiating new object) reminded me that the basics of the StackOverflowError are not always ...