Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 549614

Summary: [test][12] prepare SwitchExpressionTest to run back-to-back with javac
Product: [Eclipse Project] JDT Reporter: Stephan Herrmann <stephan.herrmann>
Component: CoreAssignee: Stephan Herrmann <stephan.herrmann>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: manoj.palat
Version: 4.12   
Target Milestone: 4.13 M3   
Hardware: All   
OS: All   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=545716
https://git.eclipse.org/r/146719
https://git.eclipse.org/c/jdt/eclipse.jdt.core.git/commit/?id=c8ff21d2be3ee19db7fdae6e829af0fb1504a7fb
https://bugs.eclipse.org/bugs/show_bug.cgi?id=549991
Whiteboard:

Description Stephan Herrmann CLA 2019-07-28 17:02:09 EDT
runjavac-mode of SwitchExpressionTest needs to pass --enable-preview, and may need a few more adjustments like javac-excuses.
Comment 1 Eclipse Genie CLA 2019-07-28 17:53:49 EDT
New Gerrit change created: https://git.eclipse.org/r/146719
Comment 2 Stephan Herrmann CLA 2019-07-28 18:01:31 EDT
(In reply to Eclipse Genie from comment #1)
> New Gerrit change created: https://git.eclipse.org/r/146719

This generally enables runjavac mode. In that mode we now get three relevant failures:
- testBug513766_01 (javac bug, see bug 513766 comment 12)
- testBug545333 - Eclipse found error(s) but Javac only found warning(s).
- testBug545916_01 - Javac found error(s) but Eclipse did not find any.
  Caveat: bug number is wrong, should be bug 545716
Comment 4 Stephan Herrmann CLA 2019-07-29 04:20:28 EDT
(In reply to Eclipse Genie from comment #3)
> Gerrit change https://git.eclipse.org/r/146719 was merged to [master].
> Commit:
> http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/commit/
> ?id=c8ff21d2be3ee19db7fdae6e829af0fb1504a7fb

General infra structure work released for 4.13 M3

Remaining issues will be handled via their respective bugs.
Comment 5 Manoj N Palat CLA 2019-08-20 23:43:27 EDT
Verified for Eclipse 2019-09 (4.13) M3 with Build id: I20190820-1800