[ 
https://issues.apache.org/jira/browse/BEAM-2231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16070948#comment-16070948
 ] 

Innocent commented on BEAM-2231:
--------------------------------

Hi Kenn, I looked a bit at the implementation of this class and found that 
```includingPackage(String packageName, ClassLoader)```  is the only method 
that recursively load classes without pruning. Also just to make sure that we 
are on the same page regarding pruning,if I am trying to load a package like 
```com.apache``` does pruning in this case means I am going to ignore every 
package that does not start with ```com.apache``` or it is the opposite?

> ApiSurface should be lazy
> -------------------------
>
>                 Key: BEAM-2231
>                 URL: https://issues.apache.org/jira/browse/BEAM-2231
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-java-core
>            Reporter: Kenneth Knowles
>            Assignee: Innocent
>
> Currently, the ApiSurface loads classes recursively, when they should be 
> pruned before loading by the pruning pattern. This has caused crashes because 
> some classes that are never referenced in our code.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to