@ -1853,6 +1855,28 @@ public class SpelReproTests extends AbstractExpressionTests {
@@ -1853,6 +1855,28 @@ public class SpelReproTests extends AbstractExpressionTests {
@ -1865,21 +1889,21 @@ public class SpelReproTests extends AbstractExpressionTests {
@@ -1865,21 +1889,21 @@ public class SpelReproTests extends AbstractExpressionTests {
@ -1932,13 +1956,13 @@ public class SpelReproTests extends AbstractExpressionTests {
@@ -1932,13 +1956,13 @@ public class SpelReproTests extends AbstractExpressionTests {
privateStringname="name";
publicStringgetName(){
returnname;
}
publicvoidsetName(Stringname){
this.name=name;
}
publicStringgetName(){
returnthis.name;
}
}
@ -1950,25 +1974,22 @@ public class SpelReproTests extends AbstractExpressionTests {
@@ -1950,25 +1974,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();
}
}
@ -1982,12 +2003,12 @@ public class SpelReproTests extends AbstractExpressionTests {
@@ -1982,12 +2003,12 @@ public class SpelReproTests extends AbstractExpressionTests {
@ -1997,4 +2018,135 @@ public class SpelReproTests extends AbstractExpressionTests {
@@ -1997,4 +2018,135 @@ public class SpelReproTests extends AbstractExpressionTests {