Wednesday, May 13, 2020

Re: [ANN] JRS gwt-time 1.4.8 release

Hi,

Yes, I have and not happy with it. Can I ask how to emulate some Java methods that required Locale as a parameter? The GWT version is not enough. My version can cause problems. At least I need to describe it correctly on the project page.

Is there any way to correctly extend/replace core GWT emulation?

Best,
Stas

On Monday, May 11, 2020 at 1:03:08 PM UTC+2, Thomas Broyer wrote:
I see you provide your own version of java.util.Locale; please don't, this is a recipe for disaster (behavior depends on the order of entries in the classpath and/or gwt.xml, will break as soon as GWT's JavaEmul updates its version, etc.)
IMO, because we cannot "polyfill" Java classes, we should use "ponyfills" instead (i.e. helper methods where you pass the target object as argument).

On Monday, May 11, 2020 at 12:35:14 AM UTC+2, foal wrote:
Hi,

JRS gwt-time 1.4.8 was released - details on https://github.com/foal/gwt-time/releases/tag/1.4.8

Best,
Stas

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/11fb010d-0b89-4918-8a5f-e2e1dd2080b1%40googlegroups.com.

No comments:

Post a Comment