|JavaObject object||The encapsulated Java object unwrapped|
When this happens under the control of Java, there are further limitations as to what can be exchanged between the environments. This is discussed under the individual methods that are affected in the JSObject description.
Be aware that you can lose precision when passing data into and out of a Java applet method. As well as type conversion, value truncation may occur.
Some Java encapsulations are not unwrapped when the value is passed to Java. A JavaPackage, JavaArray, JavaClass and the deprecated JavaMethod are all encapsulated as a JSObject. This may cause problems if the objects are passed backwards and forwards as the encapsulation might become increasingly nested. This behaviour would be classed as erroneous and may be platform dependent. It may also depend on what happens inside the applet code when the method is called.