You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Igor Drobiazko (JIRA)" <ji...@apache.org> on 2010/08/05 16:22:16 UTC

[jira] Created: (TAP5-1233) Live reloading of service implementation classes causes IllegalAccessError if the class contains protected or package private methods

Live reloading of service implementation classes causes IllegalAccessError if the class contains protected or package private methods
-------------------------------------------------------------------------------------------------------------------------------------

                 Key: TAP5-1233
                 URL: https://issues.apache.org/jira/browse/TAP5-1233
             Project: Tapestry 5
          Issue Type: Improvement
          Components: tapestry-ioc
    Affects Versions: 5.2.0
            Reporter: Igor Drobiazko


This can be a problem when upgrading apps to 5.2.0. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TAP5-1233) Live reloading of service implementation classes causes IllegalAccessError if the class contains protected or package private methods

Posted by "Peter Stavrinides (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-1233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12901914#action_12901914 ] 

Peter Stavrinides commented on TAP5-1233:
-----------------------------------------

Tapestry should not attempt to reload these protected or package private classes 

> Live reloading of service implementation classes causes IllegalAccessError if the class contains protected or package private methods
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-1233
>                 URL: https://issues.apache.org/jira/browse/TAP5-1233
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-ioc
>    Affects Versions: 5.2.0
>            Reporter: Igor Drobiazko
>
> This can be a problem when upgrading apps to 5.2.0. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TAP5-1233) Live reloading of service implementation classes causes IllegalAccessError if the class contains protected or package private methods

Posted by "Peter Stavrinides (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-1233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12901914#action_12901914 ] 

Peter Stavrinides commented on TAP5-1233:
-----------------------------------------

Tapestry should not attempt to reload these protected or package private classes 

> Live reloading of service implementation classes causes IllegalAccessError if the class contains protected or package private methods
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-1233
>                 URL: https://issues.apache.org/jira/browse/TAP5-1233
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-ioc
>    Affects Versions: 5.2.0
>            Reporter: Igor Drobiazko
>
> This can be a problem when upgrading apps to 5.2.0. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Issue Comment Edited: (TAP5-1233) Live reloading of service implementation classes causes IllegalAccessError if the class contains protected or package private methods

Posted by "Igor Drobiazko (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-1233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12895693#action_12895693 ] 

Igor Drobiazko edited comment on TAP5-1233 at 8/5/10 10:29 AM:
---------------------------------------------------------------

There are even more problems: if you have an abstract service class containing protected or package private abstract methods, your app will fail with a java.lang.AbstractMethodError.

      was (Author: igor.drobiazko):
    There are even more problems: if you have an abstract service class containing abstract methods, your app will fail with a java.lang.AbstractMethodError.
  
> Live reloading of service implementation classes causes IllegalAccessError if the class contains protected or package private methods
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-1233
>                 URL: https://issues.apache.org/jira/browse/TAP5-1233
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-ioc
>    Affects Versions: 5.2.0
>            Reporter: Igor Drobiazko
>
> This can be a problem when upgrading apps to 5.2.0. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TAP5-1233) Live reloading of service implementation classes causes IllegalAccessError if the class contains protected or package private methods

Posted by "Igor Drobiazko (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-1233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12895693#action_12895693 ] 

Igor Drobiazko commented on TAP5-1233:
--------------------------------------

There are even more problems: if you have an abstract service class containing abstract methods, your app will fail with a java.lang.AbstractMethodError.

> Live reloading of service implementation classes causes IllegalAccessError if the class contains protected or package private methods
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-1233
>                 URL: https://issues.apache.org/jira/browse/TAP5-1233
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-ioc
>    Affects Versions: 5.2.0
>            Reporter: Igor Drobiazko
>
> This can be a problem when upgrading apps to 5.2.0. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TAP5-1233) Live reloading of service implementation classes causes IllegalAccessError if the class contains protected or package private methods

Posted by "Igor Drobiazko (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-1233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12895693#action_12895693 ] 

Igor Drobiazko commented on TAP5-1233:
--------------------------------------

There are even more problems: if you have an abstract service class containing abstract methods, your app will fail with a java.lang.AbstractMethodError.

> Live reloading of service implementation classes causes IllegalAccessError if the class contains protected or package private methods
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-1233
>                 URL: https://issues.apache.org/jira/browse/TAP5-1233
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-ioc
>    Affects Versions: 5.2.0
>            Reporter: Igor Drobiazko
>
> This can be a problem when upgrading apps to 5.2.0. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (TAP5-1233) Live reloading of service implementation classes causes IllegalAccessError if the class contains protected or package private methods

Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship closed TAP5-1233.
--------------------------------------

         Assignee: Howard M. Lewis Ship
    Fix Version/s: 5.2.1
       Resolution: Fixed

The "class loading" umbrella has been extended in such a way that inner classes and other classes within the same package should now be loaded correctly, with the same class loader.  This issue can be re-opened (or cloned, after 5.2.1 is released) if new use cases come up.

> Live reloading of service implementation classes causes IllegalAccessError if the class contains protected or package private methods
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-1233
>                 URL: https://issues.apache.org/jira/browse/TAP5-1233
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-ioc
>    Affects Versions: 5.2.0
>            Reporter: Igor Drobiazko
>            Assignee: Howard M. Lewis Ship
>             Fix For: 5.2.1
>
>
> This can be a problem when upgrading apps to 5.2.0. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (TAP5-1233) Live reloading of service implementation classes causes IllegalAccessError if the class contains protected or package private methods

Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TAP5-1233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship closed TAP5-1233.
--------------------------------------

         Assignee: Howard M. Lewis Ship
    Fix Version/s: 5.2.1
       Resolution: Fixed

The "class loading" umbrella has been extended in such a way that inner classes and other classes within the same package should now be loaded correctly, with the same class loader.  This issue can be re-opened (or cloned, after 5.2.1 is released) if new use cases come up.

> Live reloading of service implementation classes causes IllegalAccessError if the class contains protected or package private methods
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-1233
>                 URL: https://issues.apache.org/jira/browse/TAP5-1233
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-ioc
>    Affects Versions: 5.2.0
>            Reporter: Igor Drobiazko
>            Assignee: Howard M. Lewis Ship
>             Fix For: 5.2.1
>
>
> This can be a problem when upgrading apps to 5.2.0. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Issue Comment Edited: (TAP5-1233) Live reloading of service implementation classes causes IllegalAccessError if the class contains protected or package private methods

Posted by "Igor Drobiazko (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TAP5-1233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12895693#action_12895693 ] 

Igor Drobiazko edited comment on TAP5-1233 at 8/5/10 10:29 AM:
---------------------------------------------------------------

There are even more problems: if you have an abstract service class containing protected or package private abstract methods, your app will fail with a java.lang.AbstractMethodError.

      was (Author: igor.drobiazko):
    There are even more problems: if you have an abstract service class containing abstract methods, your app will fail with a java.lang.AbstractMethodError.
  
> Live reloading of service implementation classes causes IllegalAccessError if the class contains protected or package private methods
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-1233
>                 URL: https://issues.apache.org/jira/browse/TAP5-1233
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-ioc
>    Affects Versions: 5.2.0
>            Reporter: Igor Drobiazko
>
> This can be a problem when upgrading apps to 5.2.0. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.