8058575: IllegalAccessError trying to access package-private class from VM anonymous class
Summary: Put anonymous classes in unnamed package into host class's package. Throw exception if host class's package differs from anonymous class.
Reviewed-by: coleenp, acorn
syntax: glob
^.hgtip
build/*
dist/*
/nbproject/private/
private.xml
private.properties
^webrev
.classpath
*.class
*.clazz
*.log
*.orig
*.rej
*~
genfiles.properties
hotspot.log
.DS_Store*
TEST-*.xml
TESTS-*.xml
report.xml
CC/*
jcov2/*
.idea/*
test/lib/*.jar
test/script/external/*
.project
.externalToolBuilders/*
.settings/*
NashornProfile.txt