[
https://issues.apache.org/jira/browse/BEAM-2231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16070960#comment-16070960
]
Kenneth Knowles commented on BEAM-2231:
---------------------------------------
It is the opposite. If you say
{{ApiSurface.ofPackage("com.example").pruning("com.apache")}} it means that it
should be the set of classes transitively reachable from "com.example" without
crossing anything from "com.apache".
> 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)