Re: GWT and JDK questions

2020-10-28 Thread Jens


> I tried using @Deprecated (since="2.0", forRemoval=true) and got 
> compilation errors, then i found out that the GWT default JRE emulation 
> uses JDK8 java.lang.Deprecated which may or may not have been the culprit 
> to my issues.
> So i asked to get confirmation by the community.
>

While you can use Java 11 syntax, the emulated JRE API is on Java 8 level, 
see: https://github.com/gwtproject/gwt/issues/9547

-- J.

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/e961cf23-78e5-49ff-9c66-4b8c88b7fba7o%40googlegroups.com.


Re: GWT and JDK questions

2020-10-28 Thread Martin Nguyen

Thank you for answers.
I tried using @Deprecated (since="2.0", forRemoval=true) and got 
compilation errors, then i found out that the GWT default JRE emulation 
uses JDK8 java.lang.Deprecated which may or may not have been the culprit 
to my issues.
So i asked to get confirmation by the community.

Thanks again!
Best regards


On Wednesday, October 28, 2020 at 1:34:11 PM UTC+1 t.br...@gmail.com wrote:

>
>
> On Wednesday, October 28, 2020 at 1:30:33 PM UTC+1, Martin Nguyen wrote:
>>
>> Hi,
>>
>> I have some questions regarding version upgrades, hopefully anyone can 
>> help me with some answers. 
>>
>> 1. Am i correct in thinking that GWT2.9.0 does not support the syntax of 
>> JDK9 or higher?
>>
>
> No.
> You can use up to Java 11 syntax.
>  
>
>> 2. Can i use Java11 with GWT2.9.0 to compile my application?
>>
>
> Yes.
>
> Fwiw, the answers to these questions are in 
> http://www.gwtproject.org/release-notes.html#Release_Notes_2_9_0, in the 
> highlights:
> > Added support for Java language levels 9, 10, and 11.
> > […] The release was tested and found to work cross platform when run 
> with Java 8, 11, and 14. 
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/a4f1b231-b061-4472-9fb4-dbe6b6819eabn%40googlegroups.com.


Re: GWT and JDK questions

2020-10-28 Thread Thomas Broyer


On Wednesday, October 28, 2020 at 1:30:33 PM UTC+1, Martin Nguyen wrote:
>
> Hi,
>
> I have some questions regarding version upgrades, hopefully anyone can 
> help me with some answers. 
>
> 1. Am i correct in thinking that GWT2.9.0 does not support the syntax of 
> JDK9 or higher?
>

No.
You can use up to Java 11 syntax.
 

> 2. Can i use Java11 with GWT2.9.0 to compile my application?
>

Yes.

Fwiw, the answers to these questions are 
in http://www.gwtproject.org/release-notes.html#Release_Notes_2_9_0, in the 
highlights:
> Added support for Java language levels 9, 10, and 11.
> […] The release was tested and found to work cross platform when run with 
Java 8, 11, and 14. 

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/db463c62-4827-4536-a064-d5248e6cea0fo%40googlegroups.com.


GWT and JDK questions

2020-10-28 Thread Martin Nguyen
Hi,

I have some questions regarding version upgrades, hopefully anyone can help 
me with some answers. 

1. Am i correct in thinking that GWT2.9.0 does not support the syntax of 
JDK9 or higher?

2. Can i use Java11 with GWT2.9.0 to compile my application?

Thanks in advance!


-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/7e9a6ffb-6ce7-414e-92b4-bc4b6de7952fn%40googlegroups.com.