| Summary: | [1.8][impl] inconsistent array typing in BoundSet.ThreeSets.upperBounds(boolean, InferenceVariable) | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Stephan Herrmann <stephan.herrmann> |
| Component: | Core | Assignee: | Stephan Herrmann <stephan.herrmann> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 4.12 | ||
| Target Milestone: | 4.13 M3 | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: |
https://bugs.eclipse.org/bugs/show_bug.cgi?id=543480 https://git.eclipse.org/r/146497 https://git.eclipse.org/c/jdt/eclipse.jdt.core.git/commit/?id=efd24e7042e7f6e5e796560acd02bd5961efb8a3 https://git.eclipse.org/r/146521 https://git.eclipse.org/c/jdt/eclipse.jdt.core.git/commit/?id=9a9e397521055c943a0ead8b88f6fcb21b4f4b9e |
||
| Whiteboard: | |||
|
Description
Stephan Herrmann
New Gerrit change created: https://git.eclipse.org/r/146497 Gerrit change https://git.eclipse.org/r/146497 was merged to [master]. Commit: http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/commit/?id=efd24e7042e7f6e5e796560acd02bd5961efb8a3 (In reply to Eclipse Genie from comment #2) > Gerrit change https://git.eclipse.org/r/146497 was merged to [master]. > Commit: > http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/commit/ > ?id=efd24e7042e7f6e5e796560acd02bd5961efb8a3 Fixed for 4.13 M3. The implementation now explicitly rejects any intersections containing a non-reference type. In the same code area also this looks fishy: if (glbs == null) { return null; but I couldn't find any behavioral difference in GRT_18, so I shied back from changing this. New Gerrit change created: https://git.eclipse.org/r/146521 Gerrit change https://git.eclipse.org/r/146521 was merged to [master]. Commit: http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/commit/?id=9a9e397521055c943a0ead8b88f6fcb21b4f4b9e Previous change was only regarding the confused client of ThreeSets.upperBounds() ... (In reply to Eclipse Genie from comment #5) > Gerrit change https://git.eclipse.org/r/146521 was merged to [master]. > Commit: > http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/commit/ > ?id=9a9e397521055c943a0ead8b88f6fcb21b4f4b9e This change fixes the method upperBounds() itself. Verified for Eclipse 2019-09 (4.13) M3 with Build id: I20190820-1800 (via code reading) |