| Issue 1161: | RFE Don't warn about native methods when serializing JRE emulation classes | |
| Back to list |
Sign in to add a comment
|
Found in GWT Release: 1.4.10 Detailed description: The new, stricter RPC code emits warnings that calling native methods on the server will result in UnsatisfiedLinkErrors. The warning is sensible, but I think it should be suppressed for JRE emulation classes because the emulation code will never run on the server, and there is therefore never a risk of causing an UnsatisfiedLinkError. Workaround if you have one: Ignore the verbose warnings. |
||||||||||||||
,
Jun 06, 2007
This is already fixed, actually. Assigning to Miguel to do the bookkeeping.
Owner: gwt.team.mmendez
Labels: -Priority-Medium Priority-Critical Category-RPC Milestone-1_4_RC2 |
|||||||||||||||
,
Jun 06, 2007
Just curious, but is it fixed in a general way? I've written some JRE emulation classes myself and I get the same warnings. I hope the solution will suppress the warnings on my work as well as the classes that come packaged with GWT. |
|||||||||||||||
,
Jun 22, 2007
In 1.4 RC1, we only checked for native methods if the type was automatically serializable. This explains why our JRE libraries did not generate this warning. The attached patch will check for native methods on both automatically and manually serializable classes. However, it will not perform the check if the class is defined in any of the java.* packages.
Status: ReviewPending
Labels: ReviewBy-scottb |
|||||||||||||||
,
Jun 28, 2007
I'm going to batch this one up with issue 1163 .
Status: Started
Labels: -ReviewBy-scottb |
|||||||||||||||
,
Jun 28, 2007
(No comment was entered for this change.)
Status: ReviewPending
|
|||||||||||||||
,
Jun 28, 2007
(No comment was entered for this change.)
Status: Started
|
|||||||||||||||
,
Jun 28, 2007
Fix was included in patch for issue 1163 .
Status: ReviewPending
|
|||||||||||||||
,
Jul 10, 2007
Committed as r1228.
Status: FixedNotReleased
|
|||||||||||||||
,
Aug 20, 2007
1.4 RC2 now released.
Status: Fixed
|
|||||||||||||||
|
,
Apr 28, 2008
Owner: mmendez
|
|||||||||||||||
|
|
|||||||||||||||