I think you didn't understand what I said. Let me try to clarify: "For any reason, if community wants to run the GWT 2.8 SDK in Java 7 source level *(i.e. gwtc sourcelevel 7)*, they can theoretically do it by supplying *a java7 compatible JRE emulation* without any compiler/SDK changes *(but just setting the gwtc sourcelevel 7)*. That's why I didn't originally remove Java7 option from the SourceLevel flag. By removing the flag (which seems submitted now), the community will not have that option *(i.e. they need also supply a modified compiler together with the emulation)*."
This may never happen but keeping the flag was cheap so I kept it. On Tue, Feb 16, 2016 at 11:35 PM, Manuel Carrasco Moñino <man...@apache.org> wrote: > Removing the 1.7 flag does not make the compiler fail when using a java7 > sdk. > Now the compiler always thinks that source code is sourced-level 1.8 so it > does not fail when looking at java8 emul classes. > > You can still have the java.source property set to 1.7 when compiling your > project and javac will validate that your code is java7 compliant, because > javac process your client code. > > In summary javac and gwtc could use at the same time different source > languages, but we always need to force gwtc to use 1.8 since new java8 api > emul code. > > > On Wed, Feb 17, 2016 at 2:32 AM, 'Goktug Gokdogan' via GWT Contributors < > google-web-toolkit-contributors@googlegroups.com> wrote: > >> To remind the backlog of this: >> >> GWT 2.8 decided to support only Java8 source level (see related threads >> from last year) as the emulation will include Java 8 APIs which cannot be >> compiled in Java7 mode. >> >> However, GWT compiler itself is intended to be runnable in a Java 7 JVM. >> This should enable slow-to-upgrade enterprises business to keep their >> legacy dev environments. >> For any reason, if community wants to run the GWT 2.8 SDK in Java 7 >> source level, they can theoretically do it by supplying a java7 compatible >> JRE emulation without any compiler/SDK changes. That's why I didn't >> originally remove Java7 option from the SourceLevel flag. >> By removing the flag (which seems submitted now), the community will not >> have that option. >> >> (It is not import from Google side; just wanted to let you know if the >> community cares about it.) >> >> On Mon, Feb 15, 2016 at 5:12 AM, Thomas Broyer <t.bro...@gmail.com> >> wrote: >> >>> >>> >>> On Monday, February 15, 2016 at 11:39:02 AM UTC+1, Thomas Broyer wrote: >>>> >>>> >>>> >>>> On Monday, February 15, 2016 at 10:06:47 AM UTC+1, Manuel Carrasco >>>> Moñino wrote: >>>>> >>>>> Thomas, I want to experiment with this, pls, could you give me some >>>>> advise what are the classes I have to look at? >>>>> >>>> >>>> https://gwt-review.googlesource.com/14353 >>>> (currently running the testsuite locally) >>>> >>> >>> Tests pass \o/ >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "GWT Contributors" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com >>> . >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/google-web-toolkit-contributors/a96d8bde-37f5-4bdd-92f2-7fda3492cc94%40googlegroups.com >>> <https://groups.google.com/d/msgid/google-web-toolkit-contributors/a96d8bde-37f5-4bdd-92f2-7fda3492cc94%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "GWT Contributors" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAN%3DyUA2BRAZ1%2Bu33NNK%2BgqNdijZs7a0V7YY4fasWCes2iGJ%2Bvg%40mail.gmail.com >> <https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAN%3DyUA2BRAZ1%2Bu33NNK%2BgqNdijZs7a0V7YY4fasWCes2iGJ%2Bvg%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to the Google Groups > "GWT Contributors" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAM28XAsQGwM4MRA-aBxoze-1MQ_fzeCQp4Jxw1Hc2o0FiOtmHA%40mail.gmail.com > <https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAM28XAsQGwM4MRA-aBxoze-1MQ_fzeCQp4Jxw1Hc2o0FiOtmHA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "GWT Contributors" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAN%3DyUA2LYKb1U_1eTH0whd%3DUjXgaudG1NBqugy54eEq8Rw7eoA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.