[jira] [Closed] (TAP5-2770) With multiple classloader mode on, ClassCastException when component and superclass both have @Import

2024-03-10 Thread Thiago Henrique De Paula Figueiredo (Jira)


 [ 
https://issues.apache.org/jira/browse/TAP5-2770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thiago Henrique De Paula Figueiredo closed TAP5-2770.
-
Resolution: Fixed

> With multiple classloader mode on, ClassCastException when component and 
> superclass both have @Import
> -
>
> Key: TAP5-2770
> URL: https://issues.apache.org/jira/browse/TAP5-2770
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-core
>Affects Versions: 5.8.3
>Reporter: Thiago Henrique De Paula Figueiredo
>Assignee: Thiago Henrique De Paula Figueiredo
>Priority: Major
> Fix For: 5.8.5
>
>
> For example:
> {code:java}
> @Import(stylesheet = "context:css/ie-only.css")
> public class SubclassWithImport extends SuperclassWithImport {
> }
> @Import(stylesheet = "context:css/ie-only.css")
> public class SubclassWithImport extends SuperclassWithImport {
> }
> {code}
> Exception: 
> java.lang.ClassCastException
> class org.apache.tapestry5.integration.app1.components.SubclassWithImport 
> cannot be cast to class 
> org.apache.tapestry5.integration.app1.components.SuperclassWithImport 
> (org.apache.tapestry5.integration.app1.components.SubclassWithImport is in 
> unnamed module of loader 
> org.apache.tapestry5.internal.plastic.PlasticClassLoader @105b693d; 
> org.apache.tapestry5.integration.app1.components.SuperclassWithImport is in 
> unnamed module of loader 
> org.apache.tapestry5.internal.plastic.PlasticClassLoader @37fdfb05)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Closed] (TAP5-2770) With multiple classloader mode on, ClassCastException when component and superclass both have @Import

2024-01-28 Thread Thiago Henrique De Paula Figueiredo (Jira)


 [ 
https://issues.apache.org/jira/browse/TAP5-2770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thiago Henrique De Paula Figueiredo closed TAP5-2770.
-
Fix Version/s: 5.8.4
   Resolution: Fixed

> With multiple classloader mode on, ClassCastException when component and 
> superclass both have @Import
> -
>
> Key: TAP5-2770
> URL: https://issues.apache.org/jira/browse/TAP5-2770
> Project: Tapestry 5
>  Issue Type: Bug
>  Components: tapestry-core
>Affects Versions: 5.8.3
>Reporter: Thiago Henrique De Paula Figueiredo
>Assignee: Thiago Henrique De Paula Figueiredo
>Priority: Major
> Fix For: 5.8.4
>
>
> For example:
> {code:java}
> @Import(stylesheet = "context:css/ie-only.css")
> public class SubclassWithImport extends SuperclassWithImport {
> }
> @Import(stylesheet = "context:css/ie-only.css")
> public class SubclassWithImport extends SuperclassWithImport {
> }
> {code}
> Exception: 
> java.lang.ClassCastException
> class org.apache.tapestry5.integration.app1.components.SubclassWithImport 
> cannot be cast to class 
> org.apache.tapestry5.integration.app1.components.SuperclassWithImport 
> (org.apache.tapestry5.integration.app1.components.SubclassWithImport is in 
> unnamed module of loader 
> org.apache.tapestry5.internal.plastic.PlasticClassLoader @105b693d; 
> org.apache.tapestry5.integration.app1.components.SuperclassWithImport is in 
> unnamed module of loader 
> org.apache.tapestry5.internal.plastic.PlasticClassLoader @37fdfb05)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)