Skip to content

Conversation

@jadenPete
Copy link

Previously, during mixed compilation (compiling Scala and Java sources in the same target), instead of analyzing the compiled Java classes, we analyzed all classes in the output directory. Because we compile the Scala sources first, this meant Scala classes were being re-analyzed.

I'm not sure why some Scala classes were missing code attributes, but the errors should be fixed (and compilation should be faster) by not re-analyzing them to begin with.

Copy link

@jjudd jjudd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved with a few nits and one recommended change.

Previously, during mixed compilation (compiling Scala and Java sources
in the same target), instead of analyzing the compiled Java classes, we
analyzed all classes in the output directory. Because we compile the
Scala sources first, this meant Scala classes were being re-analyzed.

I'm not sure why some Scala classes were missing code attributes, but
the errors should be fixed (and compilation should be faster) by not
re-analyzing them to begin with.
@jadenPete jadenPete force-pushed the jpeterson-fixes-absent-code-attribute-errors branch from b8c626d to 4af3243 Compare January 27, 2026 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants