You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2019/06/11 22:13:31 UTC

[tomcat] branch 7.0.x updated: Fix exception type

This is an automated email from the ASF dual-hosted git repository.

remm pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/7.0.x by this push:
     new 503424d  Fix exception type
503424d is described below

commit 503424d4a89c1fefaf3e45ffac797c1afb854dcf
Author: remm <re...@apache.org>
AuthorDate: Wed Jun 12 00:13:19 2019 +0200

    Fix exception type
---
 test/javax/el/TestBeanELResolver.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/javax/el/TestBeanELResolver.java b/test/javax/el/TestBeanELResolver.java
index 31b4c5b..825d7c3 100644
--- a/test/javax/el/TestBeanELResolver.java
+++ b/test/javax/el/TestBeanELResolver.java
@@ -266,7 +266,7 @@ public class TestBeanELResolver {
      * Tests that an exception will be thrown when the property does not have
      * setter method.
      */
-    @Test(expected = PropertyNotFoundException.class)
+    @Test(expected = PropertyNotWritableException.class)
     public void testSetValue07() {
         BeanELResolver resolver = new BeanELResolver();
         ELContext context = new ELContextImpl();


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: [tomcat] branch 7.0.x updated: Fix exception type

Posted by Mark Thomas <ma...@apache.org>.
On 11/06/2019 23:13, remm@apache.org wrote:
> This is an automated email from the ASF dual-hosted git repository.
> 
> remm pushed a commit to branch 7.0.x
> in repository https://gitbox.apache.org/repos/asf/tomcat.git
> 
> 
> The following commit(s) were added to refs/heads/7.0.x by this push:
>      new 503424d  Fix exception type
> 503424d is described below
> 
> commit 503424d4a89c1fefaf3e45ffac797c1afb854dcf
> Author: remm <re...@apache.org>
> AuthorDate: Wed Jun 12 00:13:19 2019 +0200
> 
>     Fix exception type

Thanks for fixing this.

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org