I get a new javascript every GWT compiler without changing the java source

GWT compiles the Java source into Javascript and names the files according to the hash of their contents. I get a new set of files, each of which compiles because the javascript content is changing even if I don't change the source at all.

Files are different for OBF and PRETTY output, but if I set it to DETAILED, they will not differ from each other. In PRETTY, I see that all / most of the differences between compilers are in the value parameters for typeId. For example, funciton is called with the name initValues ​​() with different values ​​for the typeId parameter.

+3
source share
2 answers

PRETTY , , Java TypeIds. GWT . script, Id . , GWT ClassCastException JavaScript ( !).

OBF .

, . . .

+2

Source: https://habr.com/ru/post/1708093/


All Articles