@ -1854,6 +1856,28 @@ public class SpelReproTests extends AbstractExpressionTests {
@@ -1854,6 +1856,28 @@ public class SpelReproTests extends AbstractExpressionTests {
@ -1866,21 +1890,21 @@ public class SpelReproTests extends AbstractExpressionTests {
@@ -1866,21 +1890,21 @@ public class SpelReproTests extends AbstractExpressionTests {
@ -1933,13 +1957,13 @@ public class SpelReproTests extends AbstractExpressionTests {
@@ -1933,13 +1957,13 @@ public class SpelReproTests extends AbstractExpressionTests {
privateStringname="name";
publicStringgetName(){
returnname;
}
publicvoidsetName(Stringname){
this.name=name;
}
publicStringgetName(){
returnthis.name;
}
}
@ -1951,25 +1975,22 @@ public class SpelReproTests extends AbstractExpressionTests {
@@ -1951,25 +1975,22 @@ public class SpelReproTests extends AbstractExpressionTests {
}
staticclassTestClass2{// SPR-9194
staticclassTestClass2{// SPR-9194
Stringstring;
publicTestClass2(Stringstring){
this.string=string;
}
@Override
publicinthashCode(){
return0;
publicbooleanequals(Objectother){
return(this==other||(otherinstanceofTestClass2&&
this.string.equals(((TestClass2)other).string)));
}
publicbooleanequals(Objecto){
if(oinstanceofTestClass2){
returnstring.equals(((TestClass2)o).string);
}
returnfalse;
@Override
publicinthashCode(){
returnthis.string.hashCode();
}
}
@ -1983,12 +2004,12 @@ public class SpelReproTests extends AbstractExpressionTests {
@@ -1983,12 +2004,12 @@ public class SpelReproTests extends AbstractExpressionTests {
@ -1999,4 +2020,135 @@ public class SpelReproTests extends AbstractExpressionTests {
@@ -1999,4 +2020,135 @@ public class SpelReproTests extends AbstractExpressionTests {