Re: RFR: JDK-8232684: Make switch expressions final

2019-11-07 Thread Vladimir Kozlov
HotSpot tests changes (using Thread.yield()) look good. Thanks, Vladimir On 11/5/19 1:50 AM, Jan Lahoda wrote: I've missed updates to some hotspot and jdk tests in the first patch. The problem are unqualified invocations of Thread.yield(), which are no longer allowed (from the spec: JLS 3.9 Key

Re: RFR: JDK-8232684: Make switch expressions final

2019-11-05 Thread Jan Lahoda
I've missed updates to some hotspot and jdk tests in the first patch. The problem are unqualified invocations of Thread.yield(), which are no longer allowed (from the spec: JLS 3.9 Keywords: "All invocations of a method called yield must be qualified so as to be distinguished from a yield state