Skip to content

Commit c0f0b59

Browse files
Revert part of eclipse-jdt#4735: ARGUMENT_CONSTRAINTS_ARE_SOFT is back to false as
recommended
1 parent ed1dcc9 commit c0f0b59

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

org.eclipse.jdt.core.compiler.batch/src/org/eclipse/jdt/internal/compiler/lookup/InferenceContext18.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,12 +106,11 @@ public class InferenceContext18 {
106106

107107
/**
108108
* NON-JLS: Detail flag to control the extent of {@link #SIMULATE_BUG_JDK_8026527}.
109-
* A setting of 'false' would implement the advice from http://mail.openjdk.java.net/pipermail/lambda-spec-experts/2013-December/000447.html
109+
* A setting of 'false' implements the advice from http://mail.openjdk.java.net/pipermail/lambda-spec-experts/2013-December/000447.html
110110
* i.e., raw types are not considered as compatible in constraints/bounds derived from invocation arguments,
111111
* but only for constraints derived from type variable bounds.
112-
* NON-JLS: Unfortunately, 'true' is required by GenericsRegressionTest.test434118()
113112
*/
114-
static final boolean ARGUMENT_CONSTRAINTS_ARE_SOFT = true;
113+
static final boolean ARGUMENT_CONSTRAINTS_ARE_SOFT = false;
115114

116115
// --- Main State of the Inference: ---
117116

0 commit comments

Comments
 (0)