<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Wed, Mar 15, 2017 at 6:53 PM Vojtech Szocs &lt;<a href="mailto:vszocs@redhat.com">vszocs@redhat.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><div class="gmail_default gmail_msg" style="font-family:arial,helvetica,sans-serif">Hello folks,<br class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_default gmail_msg" style="font-family:arial,helvetica,sans-serif">we&#39;re using the latest GWT version in master UI now [1].<br class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_default gmail_msg" 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 class="gmail_msg"><br class="gmail_msg">[1] <a href="https://gerrit.ovirt.org/#/q/topic:gwtupgrade" class="gmail_msg" target="_blank">https://gerrit.ovirt.org/#/q/topic:gwtupgrade</a><br class="gmail_msg">[2] <a href="http://www.gwtproject.org/release-notes.html#Release_Notes_2_8_0_RC1" class="gmail_msg" target="_blank">http://www.gwtproject.org/release-notes.html#Release_Notes_2_8_0_RC1</a><br class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_default gmail_msg" style="font-family:arial,helvetica,sans-serif">Effectively, all Engine (Java Maven) modules [3] are now Java 8 source &amp; target compilant.<br class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_default gmail_msg" style="font-family:arial,helvetica,sans-serif">[3] except backend/manager/modules/extensions-api-root<br class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_default gmail_msg" 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 class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_default gmail_msg" 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 class="gmail_msg"><br class="gmail_msg">[4] <a href="https://gerrit.ovirt.org/#/c/65735/" class="gmail_msg" target="_blank">https://gerrit.ovirt.org/#/c/65735/</a><br class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_default gmail_msg" style="font-family:arial,helvetica,sans-serif">There are no changes to existing build &amp; development process:<br class="gmail_msg">- debugging via Java IDE (aka Classic Dev Mode) remains the default debug method<br class="gmail_msg"></div><div class="gmail_default gmail_msg" 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 class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_default gmail_msg" style="font-family:arial,helvetica,sans-serif">[5] example: $ make gwt-debug DEBUG_MODULE=webadmin DEV_BUILD_GWT_SUPER_DEV_MODE=1<br class="gmail_msg"></div><div class="gmail_default gmail_msg" style="font-family:arial,helvetica,sans-serif"><br class="gmail_msg"></div><div class="gmail_default gmail_msg" 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 class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_default gmail_msg" 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" class="gmail_msg" target="_blank">https://trello.com/b/o26RrVLz/post-gwt-2-8-upgrade-tasks</a><br class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_default gmail_msg" style="font-family:arial,helvetica,sans-serif">If you encounter any issues related to GWT compilation or debugging, let me know.<br class="gmail_msg"></div><div class="gmail_default gmail_msg" style="font-family:arial,helvetica,sans-serif"><br class="gmail_msg"></div><div class="gmail_default gmail_msg" style="font-family:arial,helvetica,sans-serif">Regards,<br class="gmail_msg"></div><div class="gmail_default gmail_msg" style="font-family:arial,helvetica,sans-serif">Vojtech<br class="gmail_msg"></div><div> <br></div></div></blockquote><div><br></div><div>Congrats for this upgrade and effort.<br><br>It is interesting that now Optional and Map are now emulated and it will be interesting to see how we can improve the value object usage. <br></div><div><br></div><div>What does jsinterop brings in?<br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><div class="gmail_default gmail_msg" style="font-family:arial,helvetica,sans-serif">_______________________________________________<br class="gmail_msg"></div></div>
Devel mailing list<br class="gmail_msg">
<a href="mailto:Devel@ovirt.org" class="gmail_msg" target="_blank">Devel@ovirt.org</a><br class="gmail_msg">
<a href="http://lists.ovirt.org/mailman/listinfo/devel" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.ovirt.org/mailman/listinfo/devel</a></blockquote></div></div>