<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hello folks,<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">we&#39;re using the latest GWT version in master UI now [1].<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">We can start using Java 8 syntax in our frontend code. GWT 2.8 also brings partial support for Java 8 standard library APIs, see &quot;JDK emulation&quot; at [2] for details.<br><br>[1] <a href="https://gerrit.ovirt.org/#/q/topic:gwtupgrade">https://gerrit.ovirt.org/#/q/topic:gwtupgrade</a><br>[2] <a href="http://www.gwtproject.org/release-notes.html#Release_Notes_2_8_0_RC1">http://www.gwtproject.org/release-notes.html#Release_Notes_2_8_0_RC1</a><br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Effectively, all Engine (Java Maven) modules [3] are now Java 8 source &amp; target compilant.<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">[3] except backend/manager/modules/extensions-api-root<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">With this upgrade, the GWT UI should be a bit faster - generated JavaScript should take advantage of new web APIs (e.g. using ES6 Maps to implement Java HashMap) as well as general performance improvements (e.g. using a faster &quot;long&quot; emulation).<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">GWT 2.8 removes deRPC (direct-eval RPC) mechanism but that&#39;s OK because we&#39;re already using the standard GWT RPC [4].<br><br>[4] <a href="https://gerrit.ovirt.org/#/c/65735/">https://gerrit.ovirt.org/#/c/65735/</a><br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">There are no changes to existing build &amp; development process:<br>- debugging via Java IDE (aka Classic Dev Mode) remains the default debug method<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">- debugging via browser (aka Super Dev Mode) can be enabled via DEV_BUILD_GWT_SUPER_DEV_MODE flag [5]<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">[5] example: $ make gwt-debug DEBUG_MODULE=webadmin DEV_BUILD_GWT_SUPER_DEV_MODE=1<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Note that in GWT 2.8 the Super Dev Mode is the new default debug method (with Classic Dev Mode being deprecated).<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">There are still some post-upgrade tasks to do, we&#39;re tracking them on Trello: <a href="https://trello.com/b/o26RrVLz/post-gwt-2-8-upgrade-tasks">https://trello.com/b/o26RrVLz/post-gwt-2-8-upgrade-tasks</a><br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">If you encounter any issues related to GWT compilation or debugging, let me know.<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Regards,<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Vojtech<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div></div>