How to load a JRE-dependent/non-compile-mode-supported class in GWT Dev Mode

2014-02-25 Thread Benjamin Bitdiddle
For a particular GWT module, I'm able to solve a problem in compiled mode by manipulating the JS object representing the Java object. (Specifically, I need to clone the object, so I simply create a new JS object, copy the properties from the original JS object, and assign a new hash value.)

Re: How to load a JRE-dependent/non-compile-mode-supported class in GWT Dev Mode

2014-02-25 Thread Thomas Broyer
On Tuesday, February 25, 2014 8:53:39 AM UTC+1, Benjamin Bitdiddle wrote: For a particular GWT module, I'm able to solve a problem in compiled mode by manipulating the JS object representing the Java object. (Specifically, I need to clone the object, so I simply create a new JS object,

Re: How to load a JRE-dependent/non-compile-mode-supported class in GWT Dev Mode

2014-02-25 Thread Benjamin Bitdiddle
Thanks for the quick response. I haven't tried it yet, but will soon. I want to use Object.clone() because I have a situation where I need to create a (shallow) duplicate of a Java class that differs from the original only by virtue of pointing to a different JS object (with one member). *The

Re: How to load a JRE-dependent/non-compile-mode-supported class in GWT Dev Mode

2014-02-25 Thread Benjamin Bitdiddle
On Tuesday, February 25, 2014 3:19:29 AM UTC-6, Thomas Broyer wrote: On Tuesday, February 25, 2014 8:53:39 AM UTC+1, Benjamin Bitdiddle wrote: For a particular GWT module, I'm able to solve a problem in compiled mode by manipulating the JS object representing the Java object.