"stan.silvert(a)jboss.com" wrote : Dimitris just re-enabled an old test that
excercises the WAR_BUNDLES_JSF_IMPL community-only feature:
|
http://www.jboss.org/community/docs/DOC-10182
|
| The test is now failing on AS5 because the JSF classes in jbossweb.sar/jsf-libs are
loaded before the JSF classes in WEB-INF/lib.
|
| The observed behavior is the same as if you set java2ClassLoadingCompliance=true on
AS4.2.
|
| So I'm first wondering if anyone knows if we have a reliable unit test for
java2ClassLoadingCompliance? Perhaps java2ClassLoadingCompliance simply isn't working
in AS5.
|
Yes there are tests and they are working.
But they obviously don't have enough code coverage
(unless you include this test :-), see below.
anonymous wrote :
| If that's not it then we will need to dig deeper. Any ideas?
| Stan
You bring this up on the very day that Ales releases 2.0.0.GA of jboss-cl. ;-)
The issue is the parent policy we are using for the
java2ClassLoadingCompliance=false
| public ParentPolicy getDeterminedParentPolicy()
| {
| if (isJ2seClassLoadingCompliance())
| return ParentPolicy.BEFORE;
| else
| return ParentPolicy.AFTER_BUT_JAVA_BEFORE;
| }
|
The AFTER_BUT_JAVA_BEFORE actually means
java.* and javax.* is delegated to the parent before asking the web-app
http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/jboss-cl/bran...
http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/jboss-cl/bran...
Wheras previously in jboss-4.2 it was just java.* that got delegated to the
parent before asking the web-app.
So this is a bug.
https://jira.jboss.org/jira/browse/JBCL-73
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4192225#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...