quick question

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

quick question

mgainty
i am encountering this situation
https://github.com/javapathfinder/jpf-core/issues/27

suggested mitigation is to pass
--patch-module java.base=src
to point to local source

javac --patch-module java.base=src -d build \
    src/java.base/java/util/concurrent/ConcurrentHashMap.java

how does <javac> task accomplish
--patch-module java.base=src
directive?

Thanks!
martin
Reply | Threaded
Open this post in threaded view
|

Re: quick question

Stefan Bodewig
On 2020-04-08, Martin Gainty wrote:

> how does <javac> task accomplish
> --patch-module java.base=src
> directive?

You can always use a <compilerarg> nested element for the <javac> task.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]