You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@JsProperty properties might override parent class properties when the application is built in optimized mode.
It's possible that issue could be reproduced in Dev Mode, but it's less likely to happen, and would be less problematic.
GWT version: 2.8.2
Browser (with version): Version 68.0.3440.75
Operating System: macOS Mojave 10.14 Beta (18A336e)
Description
@JsProperty
properties might override parent class properties when the application is built in optimized mode.It's possible that issue could be reproduced in Dev Mode, but it's less likely to happen, and would be less problematic.
Steps to reproduce
Create a
Parent
class:Create a
Child
class that extendsParent
and exposes a@JsProperty
nameda
:Then in your
onModuleLoad
call:Build and run in optimized mode.
Known workarounds
Workaround implies naming
@JsProperty
with names that are "collision safe", so at least 4 characters, but this is not always possible.The text was updated successfully, but these errors were encountered: