ApiSurface should be lazy
Open
bug
core
java
P3
- Dominant language
- Java
- Stars
- 8.7k
- Forks
- 4.7k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 205
Description
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.
Imported from Jira [BEAM-2231](https://issues.apache.org/jira/browse/BEAM-2231). Original Jira may contain additional context.
Reported by: kenn.
Contributor guide
Research direction
Start by locating the ApiSurface implementation and tracing how its pruning pattern is applied during recursive class loading. Confirm which unreferenced classes trigger the reported crash, then ensure pruning happens before loading and verify that the affected crash scenario no longer occurs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100