apache / apache/beam

ApiSurface should be lazy

Open
#18,368 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.