Re: Trailing _0 in variable names and -generateJsInteropExports flag

2016-09-26 Thread Yann Vo
Hello Thomas, thanks for giving it a try! Indeed, it works! Now I feel so stupid! :( Apparently some pieces must have been remaining from my previous builds... anyway... Jens and Thomas, thanks again for your time and my apologies for the noise! -- You received this message because you are

Re: Trailing _0 in variable names and -generateJsInteropExports flag

2016-09-26 Thread Yann Vo
BTW, of course, I could add the isNative=true and define my messages "DTOs" in pure JavaScript. The goal of my issue and this message were not to get a working solution but rather to avoid a nasty bug in 2.8.0 final... -- You received this message because you are subscribed to the Google

Trailing _0 in variable names and -generateJsInteropExports flag

2016-09-26 Thread Yann Vo
Hello, I just raised https://github.com/gwtproject/gwt/issues/9431 for which I had a quick rely (thanks for that!) but... it was closed and flagged invalid. Rather than polluting the bug database further, I open this thread (which I would have done initially if I had not considered this

Re: AutoBeanCodexEncode does not encode numbers when zero is the value

2016-09-21 Thread Yann Vo
For what it's worth, more than 3 years later... one workaround to have zero values serialized (along with the key) as you ask for is to use an Integer rather than an int. This is the JavaScript semantic (anything can be undefined or null) and then it behaves as other JSON serializers to omit