commit | 28cd3027c967dae642b24aedf80e3c6ceb306aa0 | [log] [tgz] |
---|---|---|
author | Charlie Oehlrich <charlieloehlrich@gmail.com> | Sat Jan 08 19:46:08 2022 +1300 |
committer | Stephan Herrmann <stephan.herrmann@berlin.de> | Sun Feb 13 23:46:45 2022 +0100 |
tree | 1048ff551443e71acfff3cb55015aa7ae7fb1e06 | |
parent | 8632d2a982af65b7c3a3c3c02bd42ab858485732 [diff] |
Bug 576524 - Fix compiler with generic instanceof pattern matching Removes the check for both classes to have the same amount of type parameters. Removes the filter in the for loop where static types weren't allowed through like Object since otherwise adding a static type in the instanceof would bypass the check. Makes the replacement the boolean class for checking if the type parameters for the casted to class were relevant for the casted from class if the old type parameter was Object. Adds a check for if the type parameter is an unbound wildcard if a type parameter isn't relevant to the casted from class. Change-Id: I5c56f752bbd753dd87afc2dbde09918782d3bb56 Signed-off-by: Charlie Oehlrich <charlieloehlrich@gmail.com>
This is the core part of Eclipse's Java development tools. It contains the non-UI support for compiling and working with Java code, including the following:
For more information and important links, refer to the [JDT wiki page] 1 or the [JDT project overview page] 2.