JDK-6194410 : Java to Javascript return result type changed in JRE 1.5.x
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 5.0
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2004-11-12
  • Updated: 2010-04-03
  • Resolved: 2005-02-11
Related Reports
Duplicate :  
Description
When calling Java from Javascript, the result type returned from Java is a Javascript Object with the 1.5.0 runtime.  With 1.4.x the result type is a simple type.  The causes some Javascript code to break.

For example, the Javascript split function expects a string, not an object.  If the returned value from a Java call were passed to the split function, it would result in an undefined value from the split call.
###@###.### 2004-11-12 00:52:53 GMT