My favorites | Sign in
Project Logo
                
Details: Show all Hide all

Older

  • Oct 30, 2008
    issue 1 (Type 'long' may not be returned from a JSNI method ) reported by yokelee99   -   The GWT compiler does not allow long data type in JSNI method signatures. What steps will reproduce the problem? 1. Create a sample SVG project - (code from A Cobbs GWT-SVG demo) in NetBeans 6.1 on Windows XP - using GWT 1.5.3 2. Run GWT compiler 3. Compiler complains about JSNI restriction What is the expected output? What do you see instead? Removing units with errors [ERROR] Errors in 'jar:file:/C:/dev/svgtest/lib/gwt-dom.jar!/com/awarix/gwt/dom/events/EventImpl.java' [ERROR] Line 59: Type 'long' may not be returned from a JSNI method For additional info see: file:/C:/tools/gwt-windows-1.5.3/doc/helpInfo/longJsniRestriction.html Removing invalidated units [WARN] Compilation unit 'jar:file:/C:/dev/svgtest/lib/gwt-dom.jar!/com/awarix/gwt/dom/events/MutationEventImpl.java' is removed due to invalid reference(s): [WARN] jar:file:/C:/dev/svgtest/lib/gwt-dom.jar!/com/awarix/gwt/dom/events/EventImpl.java [WARN] Compilation unit 'jar:file:/C:/dev/svgtest/lib/gwt-dom.jar!/com/awarix/gwt/dom/events/UIEventImpl.java' is removed due to invalid reference(s): [WARN] jar:file:/C:/dev/svgtest/lib/gwt-dom.jar!/com/awarix/gwt/dom/events/EventImpl.java [WARN] Compilation unit 'jar:file:/C:/dev/svgtest/lib/gwt-dom.jar!/com/awarix/gwt/dom/events/MouseEventImpl.java' is removed due to invalid reference(s): [WARN] jar:file:/C:/dev/svgtest/lib/gwt-dom.jar!/com/awarix/gwt/dom/events/UIEventImpl.java What version of the product are you using? On what operating system? gwt-dom (latest binary - Nov 07) GWT 1.5.3 OS - Windows XP Please provide any additional information below.
    The GWT compiler does not allow long data type in JSNI method signatures. What steps will reproduce the problem? 1. Create a sample SVG project - (code from A Cobbs GWT-SVG demo) in NetBeans 6.1 on Windows XP - using GWT 1.5.3 2. Run GWT compiler 3. Compiler complains about JSNI restriction What is the expected output? What do you see instead? Removing units with errors [ERROR] Errors in 'jar:file:/C:/dev/svgtest/lib/gwt-dom.jar!/com/awarix/gwt/dom/events/EventImpl.java' [ERROR] Line 59: Type 'long' may not be returned from a JSNI method For additional info see: file:/C:/tools/gwt-windows-1.5.3/doc/helpInfo/longJsniRestriction.html Removing invalidated units [WARN] Compilation unit 'jar:file:/C:/dev/svgtest/lib/gwt-dom.jar!/com/awarix/gwt/dom/events/MutationEventImpl.java' is removed due to invalid reference(s): [WARN] jar:file:/C:/dev/svgtest/lib/gwt-dom.jar!/com/awarix/gwt/dom/events/EventImpl.java [WARN] Compilation unit 'jar:file:/C:/dev/svgtest/lib/gwt-dom.jar!/com/awarix/gwt/dom/events/UIEventImpl.java' is removed due to invalid reference(s): [WARN] jar:file:/C:/dev/svgtest/lib/gwt-dom.jar!/com/awarix/gwt/dom/events/EventImpl.java [WARN] Compilation unit 'jar:file:/C:/dev/svgtest/lib/gwt-dom.jar!/com/awarix/gwt/dom/events/MouseEventImpl.java' is removed due to invalid reference(s): [WARN] jar:file:/C:/dev/svgtest/lib/gwt-dom.jar!/com/awarix/gwt/dom/events/UIEventImpl.java What version of the product are you using? On what operating system? gwt-dom (latest binary - Nov 07) GWT 1.5.3 OS - Windows XP Please provide any additional information below.
 
Hosted by Google Code