geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan (JIRA)" <j...@apache.org>
Subject [jira] Commented: (GERONIMO-5281) MergeHelper should not load all classes in bundle
Date Sun, 02 May 2010 02:29:55 GMT

    [ https://issues.apache.org/jira/browse/GERONIMO-5281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12863080#action_12863080
] 

Ivan commented on GERONIMO-5281:
--------------------------------

Yes, actually I have already added a TODO tag line 294 while I commit the codes, will do it
on the next step.

> MergeHelper should not load all classes in bundle
> -------------------------------------------------
>
>                 Key: GERONIMO-5281
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5281
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: web
>    Affects Versions: 3.0
>            Reporter: David Jencks
>            Assignee: Ivan
>             Fix For: 3.0
>
>
> MergeHelper line 318 appears to be loading all classes in the bundle.  It's entirely
possible that someone will be deploying a war where some of the classes can't be loaded due
to something like missing optional dependencies.  Also loading classes can run their initializers
with unexpected consequences.
> Instead, we should see if there is some way to use asm to scan for classes that subclass
the handled classes (line 338)
> I'm running into this problem trying to build trunk, uddi-jetty.  Most likely the error
I'm seeing is something that needs to be fixed for juddi to work, but I think trying to load
all the classes is a mistake.

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


Mime
View raw message