beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Innocent (JIRA)" <>
Subject [jira] [Commented] (BEAM-2231) ApiSurface should be lazy
Date Sat, 01 Jul 2017 02:00:00 GMT


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:
>             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

View raw message