axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AXIS2-1871) Publishing a class without an access modifier as a service
Date Mon, 18 Apr 2016 23:40:25 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-1871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15246774#comment-15246774
] 

Hudson commented on AXIS2-1871:
-------------------------------

SUCCESS: Integrated in Axis2 #3443 (See [https://builds.apache.org/job/Axis2/3443/])
AXIS2-5760: Fix broken modifier check introduced by AXIS2-1871. (veithen: rev 1739826)
* axis2/modules/kernel/src/org/apache/axis2/util/Utils.java
* axis2/modules/kernel/test/org/apache/axis2/util/FinalClass.java
* axis2/modules/kernel/test/org/apache/axis2/util/UtilsTest.java


> Publishing a class without an access modifier as a service
> ----------------------------------------------------------
>
>                 Key: AXIS2-1871
>                 URL: https://issues.apache.org/jira/browse/AXIS2-1871
>             Project: Axis2
>          Issue Type: Bug
>          Components: kernel
>         Environment: any
>            Reporter: sumedha rubasinghe
>            Assignee: Deepal Jayasinghe
>            Priority: Minor
>             Fix For: 1.6.0
>
>
> A class without any access modifier is allowed to be published as a service. 
>  eg:
>   class HelloService1 
>   {
>       public String sayHello(String name){
>          return "Hello "+name;	
>      }
>   } 
> Everything works as normal until the time a client invokes a method.
> Then following exception is thrown from AbstractMessageReceiver -> makeNewServiceObject(..).
> Class org.apache.axis2.receivers.AbstractMessageReceiver can not access a member of class
xxx.xxx.xxx with modifiers "".
> But this error is also not thrown to client level, thus making trouble shooting very
difficult.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message