http://cr.openjdk.java.net/~hannesw/8156896/webrev/
This makes it possible to reliably get the original function name from Java method names for display in script stack traces. It replaces '$' with '#' as separator for nested function method names as '#' is not a valid JS identifier part, but allowed in JVM method names.
Hannes