Skip to content

Conversation

@tgodzik
Copy link

@tgodzik tgodzik commented Mar 14, 2025

Backports scala#22104 to the 3.3.6.

PR submitted by the release tooling.
[skip ci]

Java outline parser phase for various reasons adds a dummy
constructor to java classes compiling simultenously from scalac.
Since they provide no information to the user and are overall
misleading (with always having the same fake flags and parameters), we
filter them out and return the first constructor that can be found in
the source.
This is also what happened up to this point when running the macro with
a java classfile on the classpath instead, since those dummy
constructors cannot be found there.

[Cherry-picked 898f952]
Base automatically changed from backport-lts-3.3-21185 to lts-3.3 March 14, 2025 17:14
@tgodzik
Copy link
Author

tgodzik commented Mar 14, 2025

No regressions detected in the community build up to backport-lts-3.3-22326.

Reference

@tgodzik tgodzik merged commit 79699cf into lts-3.3 Mar 14, 2025
22 checks passed
@tgodzik tgodzik deleted the backport-lts-3.3-22104 branch March 14, 2025 17:14
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