@ -236,7 +236,7 @@ public class SpelReproTests extends AbstractExpressionTests {
@@ -236,7 +236,7 @@ public class SpelReproTests extends AbstractExpressionTests {
@ -244,17 +244,17 @@ public class SpelReproTests extends AbstractExpressionTests {
@@ -244,17 +244,17 @@ public class SpelReproTests extends AbstractExpressionTests {
try{
accessor.read(context,null,"abc");
fail("Should have failed with an IllegalStateException");
fail("Should have failed with an AccessException");
}
catch(IllegalStateExceptionex){
catch(AccessExceptionex){
// expected
}
try{
accessor.write(context,null,"abc","foo");
fail("Should have failed with an IllegalStateException");
fail("Should have failed with an AccessException");