PackageElement getUnnamedPackage ( ) { return ( toolEnv . source . allowModules ( ) ) ? toolEnv . syms . unnamedModule . unnamedPackage : toolEnv . syms . noModule . unnamedPackage ; }
to return the proper unnamedPackage for all supported releases .