google-code-export / gwt-ext

Automatically exported from code.google.com/p/gwt-ext
0 stars 0 forks source link

HttpProxy#getConnection() does not work #74

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The method getConnection() in HttpProxy uses a native method named
getConnection(JavaScriptObject) (line 55) which looks like this:

private native JavaScriptObject getConnection(JavaScriptObject proxy) /
*-{proxy.getConnection();}-*/;

Since the native method has no return statement the result of using
getConnection() is an exception. 

The changed version below works as intended:
private native JavaScriptObject getConnection(JavaScriptObject proxy) /
*-{return proxy.getConnection();}-*/;

Original issue reported on code.google.com by intern...@gmail.com on 22 Aug 2007 at 1:59

GoogleCodeExporter commented 9 years ago

Original comment by sanjiv.j...@gmail.com on 29 Aug 2007 at 3:10