kitcambridge/javascript-getclass — comment on commit 96235cfa26e11361eae9e7204bf19c0c601259bc
File:  line 0
By kitcambridge:

It's a workaround for Java objects accessed through JavaScript in Rhino (and only certain releases of Rhino at that; the latest release fixes this)...invoking `Object::toString` on them produces results similar to `"[JavaPackage org.mozilla.javascript]"`.