Dev mode compiler does not use `-parameters`
See original GitHub issueDue 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.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:23 (22 by maintainers)
Top Results From Across the Web
[GWT] Documentation - Compile & Debug
When an application is running in development mode, the Java Virtual Machine (JVM) is actually executing the application code as compiled Java bytecode,...
Read more >Experimental DevMode arguments in IntelliJ IDEA launch ...
Assuming the CodeHaus Mojo gwt-maven-plugin, it will only pass arguments that are supported by the forked tool; launch with mvn -X to get ......
Read more >Building applications with Maven - Quarkus
Dev mode enables hot deployment with background compilation, which means that when you modify your Java files or your resource files and refresh...
Read more >Dev mode :: Open Liberty Docs
Otherwise, the dependent modules might fail to compile. Open Liberty server configuration files, such as the server.xml , are used from the module...
Read more >Understanding the Restrictions Imposed by the Closure ...
When you use with the Compiler can't distinguish between a local ... you to use the names of arguments in your code, Simple...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@gsmet It does not, but we in out gradle templates we enable it with
This is enough to see this in the logs: