[jboss-jira] [JBoss JIRA] (WFLY-3812) Package-private access doesn't work since Weld 2.2.4
The Alchemist (JIRA)
issues at jboss.org
Wed Sep 23 14:49:00 EDT 2015
[ https://issues.jboss.org/browse/WFLY-3812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13111847#comment-13111847 ]
The Alchemist commented on WFLY-3812:
-------------------------------------
Odd, I'm using Wildfly 9.0.1.Final, but I still this warning:
{noformat}
18:46:12,057 WARN [org.jboss.as.weld] (default task-91) WFLYWELD0052: Using deployment classloader to load proxy classes for module org.picketlink.core.api:main. Package-private access will not work. To fix this the module should declare dependencies on [org.jboss.weld.core, org.jboss.weld.spi]
{noformat}
> Package-private access doesn't work since Weld 2.2.4
> ----------------------------------------------------
>
> Key: WFLY-3812
> URL: https://issues.jboss.org/browse/WFLY-3812
> Project: WildFly
> Issue Type: Bug
> Components: CDI / Weld
> Reporter: Juergen Zimmermann
> Assignee: Jozef Hartinger
> Fix For: 8.2.0.Final, 9.0.0.Alpha1
>
>
> The WildFly snapshot for 9.0.0.Alpha1 submits the serious warning below, when PicketLink is used. This warning is a result of upgrading to Weld 2.2.4. Please make the fix (at the bottom) before releasing WFLY 9. Thank you.
> {code}
> WARN [org.jboss.as.weld] WFLYWELD0052:
> Using deployment classloader to load proxy classes for module org.picketlink.core:main.
> Package-private access will not work. To fix this the module should declare dependencies on [org.jboss.weld.core, org.jboss.weld.spi]
> {code}
> The fix is:
> In file feature-pack/src/main/resources/modules/system/layers/base/org/picketlink/core/main/module.xml add these two lines within the <dependencies> block:
> {code}
> <module name="org.jboss.weld.core"/>
> <module name="org.jboss.weld.spi"/>
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list