java - Extending implementations for GWT JRE emulation -


there couple of cases add/modify 1 method of gwt's implementation of jre class (see class.isinstance or system.arraycopy, example).

as gwt improved, other methods in same classes might updated, rather not take current implementation of entire class, modify it, , stick in super-source directory, have check significant changes in these files every time new version of gwt released.

i prefer extend existing gwt implementation , override 1 method change. possible somehow?

this might help:

deferred binding using replacement

the first type of deferred binding uses replacement. replacement means overriding implementation of 1 java class determined @ compile time. example, technique used conditionalize implementation of widgets, such popuppanel. use of popuppanel class shown in previous section describing deferred binding rules. actual replacement rules specified in popup.gwt.xml, shown below:

http://www.gwtproject.org/doc/latest/devguidecodingbasicsdeferred.html


Comments

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -