According to the Maven GWT Plugin docs, the default optimization level is -1. It is not clear to which optimization level this corresponds. So, does -1 mean that the code is optimized at some level between 0 and 9? Or is it something else entirely?
Share
GWT has 9 different optimization tricks from level 1 to 9 apart from the regular compiler level stuff. However we can opt out of these optimizations by setting it to 0. This is not recommended as commented in the code.
You can probably pick up some more information from GWT source code in ArgHandlerOptimize.java
From comments section of ArgHandlerOptimize.java