quarkus: Dev mode compiler does not use `-parameters`
Due to the RESTEasy version of @*Param which requires no value and uses the reflection parameter name, we’d ideally like the compiler to default to -parameters but we can’t, so we tell users to set <maven.compiler.parameters>true</...> in their pom.xml.
This setting is ignored by the dev mojo. Similarly the longer configuration is also ignored:
<configuration>
<parameters>true</parameters>
</configuration>
I’d rather we just always add the -parameters flag to javac, but it would behave differently in dev mode than when generating jar/native, so I think we should respect the user’s config. I can make a PR for this.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 1
- Comments: 23 (22 by maintainers)
@gsmet It does not, but we in out gradle templates we enable it with
This is enough to see this in the logs: