Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile error for static compiled Java module with BuildInfo #3073

Closed
lefou opened this issue Mar 10, 2024 · 0 comments · Fixed by #3074
Closed

Compile error for static compiled Java module with BuildInfo #3073

lefou opened this issue Mar 10, 2024 · 0 comments · Fixed by #3074
Milestone

Comments

@lefou
Copy link
Member

lefou commented Mar 10, 2024

When the BuildInfo modules is used in a JavaModule, and buildInfoStaticCompiled = true, compilation fails:

[info] compiling 1 Java source to /home/lefou/work/opensource/mill/out/main/client/compile.dest/classes ...
[error] /home/lefou/work/opensource/mill/out/main/client/buildInfoSources.dest/mill/main/client/BuildInfo.java:8:1: cannot find symbol
[error]   symbol:   class Map
[error]   location: class mill.main.client.BuildInfo
[error] Map
[error] /home/lefou/work/opensource/mill/out/main/client/buildInfoSources.dest/mill/main/client/BuildInfo.java:8:1: cannot find symbol
[error]   symbol:   class HashMap
[error]   location: class mill.main.client.BuildInfo
lefou added a commit that referenced this issue Mar 10, 2024
lefou added a commit that referenced this issue Mar 10, 2024
@lefou lefou added this to the 0.11.8 milestone Mar 10, 2024
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 a pull request may close this issue.

1 participant