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

2024-03-12 Thread Hudson (Jira)


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

Hudson commented on TAP5-2770:
--

SUCCESS: Integrated in Jenkins build Tapestry » 
tapestry-javax-java-17-freestyle #3 (See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-javax-java-17-freestyle/3/])
TAP5-2770: trying to recover when a ClassCastException happens (thiago: rev 
2b9cf7dae05c8f8dbb10aa7afda496b4969bdfd7)
* (edit) 
beanmodel/src/main/java/org/apache/tapestry5/beanmodel/internal/services/PropertyConduitSourceImpl.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/RequestPageCacheImpl.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ComponentRequestHandlerTerminator.java


> 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] [Commented] (TAP5-2770) With multiple classloader mode on, ClassCastException when component and superclass both have @Import

2024-03-11 Thread Hudson (Jira)


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

Hudson commented on TAP5-2770:
--

SUCCESS: Integrated in Jenkins build Tapestry » tapestry-java-17-freestyle #94 
(See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-java-17-freestyle/94/])
TAP5-2770: trying to recover when a ClassCastException happens (thiago: rev 
f58f36a99fb0600f91880a3e136ba4e98963da26)
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/RequestPageCacheImpl.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ComponentRequestHandlerTerminator.java
* (edit) 
beanmodel/src/main/java/org/apache/tapestry5/beanmodel/internal/services/PropertyConduitSourceImpl.java


> 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] [Commented] (TAP5-2770) With multiple classloader mode on, ClassCastException when component and superclass both have @Import

2024-03-11 Thread Hudson (Jira)


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

Hudson commented on TAP5-2770:
--

SUCCESS: Integrated in Jenkins build Tapestry » tapestry-javax-java-9-freestyle 
#3 (See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-javax-java-9-freestyle/3/])
TAP5-2770: trying to recover when a ClassCastException happens (thiago: rev 
2b9cf7dae05c8f8dbb10aa7afda496b4969bdfd7)
* (edit) 
beanmodel/src/main/java/org/apache/tapestry5/beanmodel/internal/services/PropertyConduitSourceImpl.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/RequestPageCacheImpl.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ComponentRequestHandlerTerminator.java


> 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] [Commented] (TAP5-2770) With multiple classloader mode on, ClassCastException when component and superclass both have @Import

2024-03-11 Thread Hudson (Jira)


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

Hudson commented on TAP5-2770:
--

SUCCESS: Integrated in Jenkins build Tapestry » 
tapestry-javax-java-11-freestyle #4 (See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-javax-java-11-freestyle/4/])
TAP5-2770: trying to recover when a ClassCastException happens (thiago: rev 
2b9cf7dae05c8f8dbb10aa7afda496b4969bdfd7)
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ComponentRequestHandlerTerminator.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/RequestPageCacheImpl.java
* (edit) 
beanmodel/src/main/java/org/apache/tapestry5/beanmodel/internal/services/PropertyConduitSourceImpl.java


> 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] [Commented] (TAP5-2770) With multiple classloader mode on, ClassCastException when component and superclass both have @Import

2024-03-11 Thread Hudson (Jira)


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

Hudson commented on TAP5-2770:
--

SUCCESS: Integrated in Jenkins build Tapestry » tapestry-javax-java-8-freestyle 
#3 (See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-javax-java-8-freestyle/3/])
TAP5-2770: trying to recover when a ClassCastException happens (thiago: rev 
2b9cf7dae05c8f8dbb10aa7afda496b4969bdfd7)
* (edit) 
beanmodel/src/main/java/org/apache/tapestry5/beanmodel/internal/services/PropertyConduitSourceImpl.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/RequestPageCacheImpl.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ComponentRequestHandlerTerminator.java


> 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] [Commented] (TAP5-2770) With multiple classloader mode on, ClassCastException when component and superclass both have @Import

2024-03-11 Thread Hudson (Jira)


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

Hudson commented on TAP5-2770:
--

FAILURE: Integrated in Jenkins build Tapestry » tapestry-trunk-freestyle #229 
(See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-trunk-freestyle/229/])
TAP5-2770: trying to recover when a ClassCastException happens (thiago: rev 
f58f36a99fb0600f91880a3e136ba4e98963da26)
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ComponentRequestHandlerTerminator.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/RequestPageCacheImpl.java
* (edit) 
beanmodel/src/main/java/org/apache/tapestry5/beanmodel/internal/services/PropertyConduitSourceImpl.java


> 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] [Commented] (TAP5-2770) With multiple classloader mode on, ClassCastException when component and superclass both have @Import

2024-03-11 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on TAP5-2770:
---

Commit f58f36a99fb0600f91880a3e136ba4e98963da26 in tapestry-5's branch 
refs/heads/master from Thiago H. de Paula Figueiredo
[ https://gitbox.apache.org/repos/asf?p=tapestry-5.git;h=f58f36a99 ]

TAP5-2770: trying to recover when a ClassCastException happens

by clearing the generated classes caches and trying to handle the
request again

> 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] [Commented] (TAP5-2770) With multiple classloader mode on, ClassCastException when component and superclass both have @Import

2024-03-11 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on TAP5-2770:
---

Commit 2b9cf7dae05c8f8dbb10aa7afda496b4969bdfd7 in tapestry-5's branch 
refs/heads/javax from Thiago H. de Paula Figueiredo
[ https://gitbox.apache.org/repos/asf?p=tapestry-5.git;h=2b9cf7dae ]

TAP5-2770: trying to recover when a ClassCastException happens

by clearing the generated classes caches and trying to handle the
request again

> 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] [Commented] (TAP5-2770) With multiple classloader mode on, ClassCastException when component and superclass both have @Import

2024-03-10 Thread Hudson (Jira)


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

Hudson commented on TAP5-2770:
--

SUCCESS: Integrated in Jenkins build Tapestry » tapestry-javax-java-8-freestyle 
#2 (See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-javax-java-8-freestyle/2/])
TAP5-2770: avoiding using FieldHandle when in multiple classloader mode 
(thiago: rev e8564a9ff715d8a21c38b4f3b50cdb93293f126a)
* (add) plastic/src/test/java/org/apache/tapestry5/plastic/PlasticUtilsTest.java
* (add) 
plastic/src/test/java/org/apache/tapestry5/plastic/test/PlasticUtilsTestObject.java
* (add) 
plastic/src/main/java/org/apache/tapestry5/plastic/FieldValueProvider.java
* (edit) 
plastic/src/main/java/org/apache/tapestry5/plastic/InstructionBuilder.java
* (edit) 
plastic/src/main/java/org/apache/tapestry5/internal/plastic/InstructionBuilderImpl.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/transform/ImportWorker.java
* (add) 
plastic/src/test/java/org/apache/tapestry5/plastic/test/PlasticUtilsTestObjectSuperclass.java
* (edit) plastic/src/main/java/org/apache/tapestry5/plastic/PlasticUtils.java
* (add) 
plastic/src/main/java/org/apache/tapestry5/plastic/PropertyValueProvider.java
TAP5-2770: avoiding using FieldHandle when in multiple classloader mode 
(thiago: rev 4a226d063914bdcce39d92ae64b7d33c783009ab)
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/modules/TapestryModule.java
* (edit) 
plastic/src/main/java/org/apache/tapestry5/plastic/PropertyValueProvider.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/transform/CachedWorker.java
* (edit) 
tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/components/SuperclassWithImport.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/transform/ImportWorker.java
* (edit) 
tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/components/SubclassWithImport.java
* (add) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/transform/PropertyValueProviderWorker.java
TAP5-2770: fixing JavaDoc errors (thiago: rev 
b632f5e0a75d1b1f49aadb3746c261bf4b1d872a)
* (edit) 
plastic/src/test/java/org/apache/tapestry5/plastic/PlasticUtilsTest.java
* (edit) 
plastic/src/main/java/org/apache/tapestry5/plastic/FieldValueProvider.java
* (edit) 
plastic/src/main/java/org/apache/tapestry5/plastic/PropertyValueProvider.java
* (edit) plastic/src/main/java/org/apache/tapestry5/plastic/PlasticUtils.java
TAP5-2770: fixing regression (thiago: rev 
5da802b1e4b3a2ffd83064de83e86f1302ff6ace)
* (edit) plastic/src/main/java/org/apache/tapestry5/plastic/PlasticUtils.java


> 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] [Commented] (TAP5-2770) With multiple classloader mode on, ClassCastException when component and superclass both have @Import

2024-03-10 Thread Hudson (Jira)


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

Hudson commented on TAP5-2770:
--

SUCCESS: Integrated in Jenkins build Tapestry » 
tapestry-javax-java-11-freestyle #3 (See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-javax-java-11-freestyle/3/])
TAP5-2770: avoiding using FieldHandle when in multiple classloader mode 
(thiago: rev e8564a9ff715d8a21c38b4f3b50cdb93293f126a)
* (add) 
plastic/src/test/java/org/apache/tapestry5/plastic/test/PlasticUtilsTestObject.java
* (edit) 
plastic/src/main/java/org/apache/tapestry5/plastic/InstructionBuilder.java
* (add) 
plastic/src/main/java/org/apache/tapestry5/plastic/PropertyValueProvider.java
* (edit) plastic/src/main/java/org/apache/tapestry5/plastic/PlasticUtils.java
* (add) 
plastic/src/main/java/org/apache/tapestry5/plastic/FieldValueProvider.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/transform/ImportWorker.java
* (edit) 
plastic/src/main/java/org/apache/tapestry5/internal/plastic/InstructionBuilderImpl.java
* (add) 
plastic/src/test/java/org/apache/tapestry5/plastic/test/PlasticUtilsTestObjectSuperclass.java
* (add) plastic/src/test/java/org/apache/tapestry5/plastic/PlasticUtilsTest.java
TAP5-2770: avoiding using FieldHandle when in multiple classloader mode 
(thiago: rev 4a226d063914bdcce39d92ae64b7d33c783009ab)
* (edit) 
tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/components/SuperclassWithImport.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/transform/CachedWorker.java
* (edit) 
plastic/src/main/java/org/apache/tapestry5/plastic/PropertyValueProvider.java
* (edit) 
tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/components/SubclassWithImport.java
* (add) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/transform/PropertyValueProviderWorker.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/modules/TapestryModule.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/transform/ImportWorker.java
TAP5-2770: fixing JavaDoc errors (thiago: rev 
b632f5e0a75d1b1f49aadb3746c261bf4b1d872a)
* (edit) 
plastic/src/main/java/org/apache/tapestry5/plastic/PropertyValueProvider.java
* (edit) 
plastic/src/main/java/org/apache/tapestry5/plastic/FieldValueProvider.java
* (edit) 
plastic/src/test/java/org/apache/tapestry5/plastic/PlasticUtilsTest.java
* (edit) plastic/src/main/java/org/apache/tapestry5/plastic/PlasticUtils.java
TAP5-2770: fixing regression (thiago: rev 
5da802b1e4b3a2ffd83064de83e86f1302ff6ace)
* (edit) plastic/src/main/java/org/apache/tapestry5/plastic/PlasticUtils.java


> 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] [Commented] (TAP5-2770) With multiple classloader mode on, ClassCastException when component and superclass both have @Import

2024-03-10 Thread Hudson (Jira)


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

Hudson commented on TAP5-2770:
--

SUCCESS: Integrated in Jenkins build Tapestry » 
tapestry-javax-java-17-freestyle #2 (See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-javax-java-17-freestyle/2/])
TAP5-2770: avoiding using FieldHandle when in multiple classloader mode 
(thiago: rev e8564a9ff715d8a21c38b4f3b50cdb93293f126a)
* (add) 
plastic/src/test/java/org/apache/tapestry5/plastic/test/PlasticUtilsTestObjectSuperclass.java
* (edit) 
plastic/src/main/java/org/apache/tapestry5/internal/plastic/InstructionBuilderImpl.java
* (edit) 
plastic/src/main/java/org/apache/tapestry5/plastic/InstructionBuilder.java
* (edit) plastic/src/main/java/org/apache/tapestry5/plastic/PlasticUtils.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/transform/ImportWorker.java
* (add) 
plastic/src/test/java/org/apache/tapestry5/plastic/test/PlasticUtilsTestObject.java
* (add) 
plastic/src/main/java/org/apache/tapestry5/plastic/FieldValueProvider.java
* (add) plastic/src/test/java/org/apache/tapestry5/plastic/PlasticUtilsTest.java
* (add) 
plastic/src/main/java/org/apache/tapestry5/plastic/PropertyValueProvider.java
TAP5-2770: avoiding using FieldHandle when in multiple classloader mode 
(thiago: rev 4a226d063914bdcce39d92ae64b7d33c783009ab)
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/transform/CachedWorker.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/transform/ImportWorker.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/modules/TapestryModule.java
* (edit) 
tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/components/SubclassWithImport.java
* (edit) 
tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/components/SuperclassWithImport.java
* (edit) 
plastic/src/main/java/org/apache/tapestry5/plastic/PropertyValueProvider.java
* (add) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/transform/PropertyValueProviderWorker.java
TAP5-2770: fixing JavaDoc errors (thiago: rev 
b632f5e0a75d1b1f49aadb3746c261bf4b1d872a)
* (edit) 
plastic/src/test/java/org/apache/tapestry5/plastic/PlasticUtilsTest.java
* (edit) 
plastic/src/main/java/org/apache/tapestry5/plastic/FieldValueProvider.java
* (edit) plastic/src/main/java/org/apache/tapestry5/plastic/PlasticUtils.java
* (edit) 
plastic/src/main/java/org/apache/tapestry5/plastic/PropertyValueProvider.java
TAP5-2770: fixing regression (thiago: rev 
5da802b1e4b3a2ffd83064de83e86f1302ff6ace)
* (edit) plastic/src/main/java/org/apache/tapestry5/plastic/PlasticUtils.java


> 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] [Commented] (TAP5-2770) With multiple classloader mode on, ClassCastException when component and superclass both have @Import

2024-03-10 Thread Hudson (Jira)


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

Hudson commented on TAP5-2770:
--

SUCCESS: Integrated in Jenkins build Tapestry » tapestry-java-17-freestyle #93 
(See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-java-17-freestyle/93/])
TAP5-2770: avoiding using FieldHandle when in multiple classloader mode 
(thiago: rev c6aac55764f4910a5f8d3c3a1beb247650445c99)
* (edit) 
plastic/src/main/java/org/apache/tapestry5/internal/plastic/InstructionBuilderImpl.java
* (add) 
plastic/src/main/java/org/apache/tapestry5/plastic/PropertyValueProvider.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/transform/ImportWorker.java
* (add) plastic/src/test/java/org/apache/tapestry5/plastic/PlasticUtilsTest.java
* (add) 
plastic/src/main/java/org/apache/tapestry5/plastic/FieldValueProvider.java
* (edit) plastic/src/main/java/org/apache/tapestry5/plastic/PlasticUtils.java
* (add) 
plastic/src/test/java/org/apache/tapestry5/plastic/test/PlasticUtilsTestObject.java
* (add) 
plastic/src/test/java/org/apache/tapestry5/plastic/test/PlasticUtilsTestObjectSuperclass.java
* (edit) 
plastic/src/main/java/org/apache/tapestry5/plastic/InstructionBuilder.java
TAP5-2770: avoiding using FieldHandle when in multiple classloader mode 
(thiago: rev 4fbf66de750918a5fc97235f69447fd57e961493)
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/transform/CachedWorker.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/transform/ImportWorker.java
* (edit) 
tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/components/SubclassWithImport.java
* (edit) 
plastic/src/main/java/org/apache/tapestry5/plastic/PropertyValueProvider.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/modules/TapestryModule.java
* (add) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/transform/PropertyValueProviderWorker.java
* (edit) 
tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/components/SuperclassWithImport.java
TAP5-2770: fixing JavaDoc errors (thiago: rev 
3e667bda1d5a912a4b6b59f20ab8c3617877ebd1)
* (edit) 
plastic/src/test/java/org/apache/tapestry5/plastic/PlasticUtilsTest.java
* (edit) plastic/src/main/java/org/apache/tapestry5/plastic/PlasticUtils.java
* (edit) 
plastic/src/main/java/org/apache/tapestry5/plastic/PropertyValueProvider.java
* (edit) 
plastic/src/main/java/org/apache/tapestry5/plastic/FieldValueProvider.java
TAP5-2770: fixing regression (thiago: rev 
27664ce465deb817ce06b2a278312b7cf74e577a)
* (edit) plastic/src/main/java/org/apache/tapestry5/plastic/PlasticUtils.java


> 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] [Commented] (TAP5-2770) With multiple classloader mode on, ClassCastException when component and superclass both have @Import

2024-03-10 Thread Hudson (Jira)


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

Hudson commented on TAP5-2770:
--

SUCCESS: Integrated in Jenkins build Tapestry » tapestry-trunk-freestyle #228 
(See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-trunk-freestyle/228/])
TAP5-2770: avoiding using FieldHandle when in multiple classloader mode 
(thiago: rev c6aac55764f4910a5f8d3c3a1beb247650445c99)
* (edit) plastic/src/main/java/org/apache/tapestry5/plastic/PlasticUtils.java
* (add) 
plastic/src/test/java/org/apache/tapestry5/plastic/test/PlasticUtilsTestObject.java
* (add) 
plastic/src/main/java/org/apache/tapestry5/plastic/PropertyValueProvider.java
* (add) plastic/src/test/java/org/apache/tapestry5/plastic/PlasticUtilsTest.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/transform/ImportWorker.java
* (edit) 
plastic/src/main/java/org/apache/tapestry5/plastic/InstructionBuilder.java
* (add) 
plastic/src/main/java/org/apache/tapestry5/plastic/FieldValueProvider.java
* (edit) 
plastic/src/main/java/org/apache/tapestry5/internal/plastic/InstructionBuilderImpl.java
* (add) 
plastic/src/test/java/org/apache/tapestry5/plastic/test/PlasticUtilsTestObjectSuperclass.java
TAP5-2770: avoiding using FieldHandle when in multiple classloader mode 
(thiago: rev 4fbf66de750918a5fc97235f69447fd57e961493)
* (edit) 
tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/components/SubclassWithImport.java
* (add) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/transform/PropertyValueProviderWorker.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/transform/CachedWorker.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/modules/TapestryModule.java
* (edit) 
plastic/src/main/java/org/apache/tapestry5/plastic/PropertyValueProvider.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/transform/ImportWorker.java
* (edit) 
tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/components/SuperclassWithImport.java
TAP5-2770: fixing JavaDoc errors (thiago: rev 
3e667bda1d5a912a4b6b59f20ab8c3617877ebd1)
* (edit) 
plastic/src/test/java/org/apache/tapestry5/plastic/PlasticUtilsTest.java
* (edit) plastic/src/main/java/org/apache/tapestry5/plastic/PlasticUtils.java
* (edit) 
plastic/src/main/java/org/apache/tapestry5/plastic/FieldValueProvider.java
* (edit) 
plastic/src/main/java/org/apache/tapestry5/plastic/PropertyValueProvider.java
TAP5-2770: fixing regression (thiago: rev 
27664ce465deb817ce06b2a278312b7cf74e577a)
* (edit) plastic/src/main/java/org/apache/tapestry5/plastic/PlasticUtils.java


> 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] [Commented] (TAP5-2770) With multiple classloader mode on, ClassCastException when component and superclass both have @Import

2024-03-10 Thread Hudson (Jira)


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

Hudson commented on TAP5-2770:
--

FAILURE: Integrated in Jenkins build Tapestry » tapestry-javax-java-9-freestyle 
#2 (See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-javax-java-9-freestyle/2/])
TAP5-2770: avoiding using FieldHandle when in multiple classloader mode 
(thiago: rev e8564a9ff715d8a21c38b4f3b50cdb93293f126a)
* (add) 
plastic/src/main/java/org/apache/tapestry5/plastic/PropertyValueProvider.java
* (edit) 
plastic/src/main/java/org/apache/tapestry5/internal/plastic/InstructionBuilderImpl.java
* (add) plastic/src/test/java/org/apache/tapestry5/plastic/PlasticUtilsTest.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/transform/ImportWorker.java
* (add) 
plastic/src/main/java/org/apache/tapestry5/plastic/FieldValueProvider.java
* (edit) plastic/src/main/java/org/apache/tapestry5/plastic/PlasticUtils.java
* (edit) 
plastic/src/main/java/org/apache/tapestry5/plastic/InstructionBuilder.java
* (add) 
plastic/src/test/java/org/apache/tapestry5/plastic/test/PlasticUtilsTestObjectSuperclass.java
* (add) 
plastic/src/test/java/org/apache/tapestry5/plastic/test/PlasticUtilsTestObject.java
TAP5-2770: avoiding using FieldHandle when in multiple classloader mode 
(thiago: rev 4a226d063914bdcce39d92ae64b7d33c783009ab)
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/transform/CachedWorker.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/transform/ImportWorker.java
* (edit) 
plastic/src/main/java/org/apache/tapestry5/plastic/PropertyValueProvider.java
* (add) 
tapestry-core/src/main/java/org/apache/tapestry5/internal/transform/PropertyValueProviderWorker.java
* (edit) 
tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/components/SubclassWithImport.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/modules/TapestryModule.java
* (edit) 
tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/components/SuperclassWithImport.java
TAP5-2770: fixing JavaDoc errors (thiago: rev 
b632f5e0a75d1b1f49aadb3746c261bf4b1d872a)
* (edit) 
plastic/src/test/java/org/apache/tapestry5/plastic/PlasticUtilsTest.java
* (edit) 
plastic/src/main/java/org/apache/tapestry5/plastic/FieldValueProvider.java
* (edit) plastic/src/main/java/org/apache/tapestry5/plastic/PlasticUtils.java
* (edit) 
plastic/src/main/java/org/apache/tapestry5/plastic/PropertyValueProvider.java
TAP5-2770: fixing regression (thiago: rev 
5da802b1e4b3a2ffd83064de83e86f1302ff6ace)
* (edit) plastic/src/main/java/org/apache/tapestry5/plastic/PlasticUtils.java


> 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] [Commented] (TAP5-2770) With multiple classloader mode on, ClassCastException when component and superclass both have @Import

2024-03-10 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on TAP5-2770:
---

Commit 4a226d063914bdcce39d92ae64b7d33c783009ab in tapestry-5's branch 
refs/heads/javax from Thiago H. de Paula Figueiredo
[ https://gitbox.apache.org/repos/asf?p=tapestry-5.git;h=4a226d063 ]

TAP5-2770: avoiding using FieldHandle when in multiple classloader mode

Now, in CachedWorker too.

> 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] [Commented] (TAP5-2770) With multiple classloader mode on, ClassCastException when component and superclass both have @Import

2024-03-10 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on TAP5-2770:
---

Commit e8564a9ff715d8a21c38b4f3b50cdb93293f126a in tapestry-5's branch 
refs/heads/javax from Thiago H. de Paula Figueiredo
[ https://gitbox.apache.org/repos/asf?p=tapestry-5.git;h=e8564a9ff ]

TAP5-2770: avoiding using FieldHandle when in multiple classloader mode

For now, just in ImportWorker.

> 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] [Commented] (TAP5-2770) With multiple classloader mode on, ClassCastException when component and superclass both have @Import

2024-03-10 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on TAP5-2770:
---

Commit 27664ce465deb817ce06b2a278312b7cf74e577a in tapestry-5's branch 
refs/heads/master from Thiago H. de Paula Figueiredo
[ https://gitbox.apache.org/repos/asf?p=tapestry-5.git;h=27664ce46 ]

TAP5-2770: fixing regression

> 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] [Commented] (TAP5-2770) With multiple classloader mode on, ClassCastException when component and superclass both have @Import

2024-03-10 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on TAP5-2770:
---

Commit b632f5e0a75d1b1f49aadb3746c261bf4b1d872a in tapestry-5's branch 
refs/heads/javax from Thiago H. de Paula Figueiredo
[ https://gitbox.apache.org/repos/asf?p=tapestry-5.git;h=b632f5e0a ]

TAP5-2770: fixing JavaDoc errors

> 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] [Commented] (TAP5-2770) With multiple classloader mode on, ClassCastException when component and superclass both have @Import

2024-03-10 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on TAP5-2770:
---

Commit 5da802b1e4b3a2ffd83064de83e86f1302ff6ace in tapestry-5's branch 
refs/heads/javax from Thiago H. de Paula Figueiredo
[ https://gitbox.apache.org/repos/asf?p=tapestry-5.git;h=5da802b1e ]

TAP5-2770: fixing regression

> 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] [Commented] (TAP5-2770) With multiple classloader mode on, ClassCastException when component and superclass both have @Import

2024-03-10 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on TAP5-2770:
---

Commit 3e667bda1d5a912a4b6b59f20ab8c3617877ebd1 in tapestry-5's branch 
refs/heads/master from Thiago H. de Paula Figueiredo
[ https://gitbox.apache.org/repos/asf?p=tapestry-5.git;h=3e667bda1 ]

TAP5-2770: fixing JavaDoc errors

> 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] [Commented] (TAP5-2770) With multiple classloader mode on, ClassCastException when component and superclass both have @Import

2024-03-10 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on TAP5-2770:
---

Commit c6aac55764f4910a5f8d3c3a1beb247650445c99 in tapestry-5's branch 
refs/heads/master from Thiago H. de Paula Figueiredo
[ https://gitbox.apache.org/repos/asf?p=tapestry-5.git;h=c6aac5576 ]

TAP5-2770: avoiding using FieldHandle when in multiple classloader mode

For now, just in ImportWorker.

> 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] [Commented] (TAP5-2770) With multiple classloader mode on, ClassCastException when component and superclass both have @Import

2024-03-10 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on TAP5-2770:
---

Commit 4fbf66de750918a5fc97235f69447fd57e961493 in tapestry-5's branch 
refs/heads/master from Thiago H. de Paula Figueiredo
[ https://gitbox.apache.org/repos/asf?p=tapestry-5.git;h=4fbf66de7 ]

TAP5-2770: avoiding using FieldHandle when in multiple classloader mode

Now, in CachedWorker too.

> 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] [Commented] (TAP5-2770) With multiple classloader mode on, ClassCastException when component and superclass both have @Import

2023-12-20 Thread Hudson (Jira)


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

Hudson commented on TAP5-2770:
--

FAILURE: Integrated in Jenkins build Tapestry » TAP5-2770 #3 (See 
[https://ci-builds.apache.org/job/Tapestry/job/TAP5-2770/3/])
TAP5-2770: fixing regression (thiago: rev 
a7b7c10a11009bbe007c71eebb337bac7b2ee8e0)
* (edit) plastic/src/main/java/org/apache/tapestry5/plastic/PlasticUtils.java


> 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
>
> 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] [Commented] (TAP5-2770) With multiple classloader mode on, ClassCastException when component and superclass both have @Import

2023-12-20 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on TAP5-2770:
---

Commit a7b7c10a11009bbe007c71eebb337bac7b2ee8e0 in tapestry-5's branch 
refs/heads/TAP5-2770 from Thiago H. de Paula Figueiredo
[ https://gitbox.apache.org/repos/asf?p=tapestry-5.git;h=a7b7c10a1 ]

TAP5-2770: fixing regression

> 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
>
> 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] [Commented] (TAP5-2770) With multiple classloader mode on, ClassCastException when component and superclass both have @Import

2023-12-20 Thread Hudson (Jira)


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

Hudson commented on TAP5-2770:
--

SUCCESS: Integrated in Jenkins build Tapestry » TAP5-2770 #2 (See 
[https://ci-builds.apache.org/job/Tapestry/job/TAP5-2770/2/])
TAP5-2770: fixing JavaDoc errors (thiago: rev 
7875dfa945124e24238664e6e0fca73b0c143778)
* (edit) 
plastic/src/main/java/org/apache/tapestry5/plastic/FieldValueProvider.java
* (edit) 
plastic/src/main/java/org/apache/tapestry5/plastic/PropertyValueProvider.java
* (edit) plastic/src/main/java/org/apache/tapestry5/plastic/PlasticUtils.java
* (edit) 
plastic/src/test/java/org/apache/tapestry5/plastic/PlasticUtilsTest.java


> 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
>
> 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] [Commented] (TAP5-2770) With multiple classloader mode on, ClassCastException when component and superclass both have @Import

2023-12-20 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on TAP5-2770:
---

Commit 7875dfa945124e24238664e6e0fca73b0c143778 in tapestry-5's branch 
refs/heads/TAP5-2770 from Thiago H. de Paula Figueiredo
[ https://gitbox.apache.org/repos/asf?p=tapestry-5.git;h=7875dfa94 ]

TAP5-2770: fixing JavaDoc errors

> 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
>
> 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] [Commented] (TAP5-2770) With multiple classloader mode on, ClassCastException when component and superclass both have @Import

2023-12-20 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on TAP5-2770:
---

Commit 23c760a26307089fbc96e5a56feb1960b88d9265 in tapestry-5's branch 
refs/heads/TAP5-2770 from Thiago H. de Paula Figueiredo
[ https://gitbox.apache.org/repos/asf?p=tapestry-5.git;h=23c760a26 ]

TAP5-2770: avoiding using FieldHandle when in multiple classloader mode

For now, just in ImportWorker.

> 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
>
> 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] [Commented] (TAP5-2770) With multiple classloader mode on, ClassCastException when component and superclass both have @Import

2023-12-20 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on TAP5-2770:
---

Commit f002ed100e9004bd21fa15faa7103bee01f8cca2 in tapestry-5's branch 
refs/heads/TAP5-2770 from Thiago H. de Paula Figueiredo
[ https://gitbox.apache.org/repos/asf?p=tapestry-5.git;h=f002ed100 ]

TAP5-2770: avoiding using FieldHandle when in multiple classloader mode

Now, in CachedWorker too.

> 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
>
> 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] [Commented] (TAP5-2770) With multiple classloader mode on, ClassCastException when component and superclass both have @Import

2023-11-25 Thread Hudson (Jira)


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

Hudson commented on TAP5-2770:
--

FAILURE: Integrated in Jenkins build Tapestry » tapestry-trunk-freestyle #203 
(See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-trunk-freestyle/203/])
TAP5-2770: component dependencies missing superclass in (thiago: rev 
0a621b6423cd0b4e0935ca5764452903c7f7c189)
* (add) 
tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/components/SubclassWithImport.java
* (add) 
tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/components/SuperclassWithImport.java
* (add) 
tapestry-core/src/test/resources/org/apache/tapestry5/integration/app1/pages/ComponentHierarchyWithImports.tml
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/services/pageload/PageClassLoaderContextManagerImpl.java
* (add) 
tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/ComponentHierarchyWithImports.java


> 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
>
> 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] [Commented] (TAP5-2770) With multiple classloader mode on, ClassCastException when component and superclass both have @Import

2023-11-25 Thread Hudson (Jira)


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

Hudson commented on TAP5-2770:
--

FAILURE: Integrated in Jenkins build Tapestry » tapestry-java-8-freestyle #38 
(See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-java-8-freestyle/38/])
TAP5-2770: component dependencies missing superclass in (thiago: rev 
0a621b6423cd0b4e0935ca5764452903c7f7c189)
* (add) 
tapestry-core/src/test/resources/org/apache/tapestry5/integration/app1/pages/ComponentHierarchyWithImports.tml
* (add) 
tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/ComponentHierarchyWithImports.java
* (add) 
tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/components/SuperclassWithImport.java
* (add) 
tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/components/SubclassWithImport.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/services/pageload/PageClassLoaderContextManagerImpl.java


> 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
>
> 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] [Commented] (TAP5-2770) With multiple classloader mode on, ClassCastException when component and superclass both have @Import

2023-11-25 Thread Hudson (Jira)


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

Hudson commented on TAP5-2770:
--

FAILURE: Integrated in Jenkins build Tapestry » tapestry-java-17-freestyle #76 
(See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-java-17-freestyle/76/])
TAP5-2770: component dependencies missing superclass in (thiago: rev 
0a621b6423cd0b4e0935ca5764452903c7f7c189)
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/services/pageload/PageClassLoaderContextManagerImpl.java
* (add) 
tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/ComponentHierarchyWithImports.java
* (add) 
tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/components/SubclassWithImport.java
* (add) 
tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/components/SuperclassWithImport.java
* (add) 
tapestry-core/src/test/resources/org/apache/tapestry5/integration/app1/pages/ComponentHierarchyWithImports.tml


> 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
>
> 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] [Commented] (TAP5-2770) With multiple classloader mode on, ClassCastException when component and superclass both have @Import

2023-11-25 Thread Hudson (Jira)


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

Hudson commented on TAP5-2770:
--

FAILURE: Integrated in Jenkins build Tapestry » 
tapestry-java-11-temurin-freestyle #10 (See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-java-11-temurin-freestyle/10/])
TAP5-2770: component dependencies missing superclass in (thiago: rev 
0a621b6423cd0b4e0935ca5764452903c7f7c189)
* (add) 
tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/ComponentHierarchyWithImports.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/services/pageload/PageClassLoaderContextManagerImpl.java
* (add) 
tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/components/SuperclassWithImport.java
* (add) 
tapestry-core/src/test/resources/org/apache/tapestry5/integration/app1/pages/ComponentHierarchyWithImports.tml
* (add) 
tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/components/SubclassWithImport.java


> 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
>
> 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] [Commented] (TAP5-2770) With multiple classloader mode on, ClassCastException when component and superclass both have @Import

2023-11-25 Thread Hudson (Jira)


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

Hudson commented on TAP5-2770:
--

FAILURE: Integrated in Jenkins build Tapestry » tapestry-java-9-freestyle #37 
(See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-java-9-freestyle/37/])
TAP5-2770: component dependencies missing superclass in (thiago: rev 
0a621b6423cd0b4e0935ca5764452903c7f7c189)
* (add) 
tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/ComponentHierarchyWithImports.java
* (add) 
tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/components/SubclassWithImport.java
* (add) 
tapestry-core/src/test/resources/org/apache/tapestry5/integration/app1/pages/ComponentHierarchyWithImports.tml
* (add) 
tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/components/SuperclassWithImport.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/services/pageload/PageClassLoaderContextManagerImpl.java


> 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
>
> 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] [Commented] (TAP5-2770) With multiple classloader mode on, ClassCastException when component and superclass both have @Import

2023-11-25 Thread Hudson (Jira)


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

Hudson commented on TAP5-2770:
--

FAILURE: Integrated in Jenkins build Tapestry » tapestry-java-19-freestyle #35 
(See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-java-19-freestyle/35/])
TAP5-2770: component dependencies missing superclass in (thiago: rev 
0a621b6423cd0b4e0935ca5764452903c7f7c189)
* (add) 
tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/components/SuperclassWithImport.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/services/pageload/PageClassLoaderContextManagerImpl.java
* (add) 
tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/components/SubclassWithImport.java
* (add) 
tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/ComponentHierarchyWithImports.java
* (add) 
tapestry-core/src/test/resources/org/apache/tapestry5/integration/app1/pages/ComponentHierarchyWithImports.tml


> 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
>
> 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] [Commented] (TAP5-2770) With multiple classloader mode on, ClassCastException when component and superclass both have @Import

2023-11-25 Thread Hudson (Jira)


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

Hudson commented on TAP5-2770:
--

FAILURE: Integrated in Jenkins build Tapestry » 
tapestry-java-17-temurin-freestyle #11 (See 
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-java-17-temurin-freestyle/11/])
TAP5-2770: component dependencies missing superclass in (thiago: rev 
0a621b6423cd0b4e0935ca5764452903c7f7c189)
* (add) 
tapestry-core/src/test/resources/org/apache/tapestry5/integration/app1/pages/ComponentHierarchyWithImports.tml
* (add) 
tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/components/SubclassWithImport.java
* (edit) 
tapestry-core/src/main/java/org/apache/tapestry5/services/pageload/PageClassLoaderContextManagerImpl.java
* (add) 
tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/ComponentHierarchyWithImports.java
* (add) 
tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/components/SuperclassWithImport.java


> 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
>
> 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] [Commented] (TAP5-2770) With multiple classloader mode on, ClassCastException when component and superclass both have @Import

2023-11-25 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on TAP5-2770:
---

Commit 0a621b6423cd0b4e0935ca5764452903c7f7c189 in tapestry-5's branch 
refs/heads/master from Thiago H. de Paula Figueiredo
[ https://gitbox.apache.org/repos/asf?p=tapestry-5.git;h=0a621b642 ]

TAP5-2770: component dependencies missing superclass in

PageClassLoaderContextManagerImpl

> 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
>
> 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)