Bug 529930: [Rhino] improved native string detection for REPL shell

  for REPL we now try to run a small JS code to do correct type
  detection.

  Limitations:
  * This is currently only working for variables on the root level (data
    within an array or JS object is not checked).
  * only visible in the variables dropin.
  * not considered for the method return value

Change-Id: I9463f745f9fd6e535e114cffbdf374bf3089bff4
2 files changed