Serban Iordache

Results 113 comments of Serban Iordache

Sorry for the late reply. I don't think it's possible to change this setting programmatically. Instead, you may check whether one of the following JVM args has a similar effect...

Since Java 11, CDS also supports `--module-path`. I added experimental support for CDS in badass-jlink 2.23.0 and badass-runtime 1.12.0: ``` runtime { ... enableCds() } ``` It requires Java 11+...

Actually, a dynamic AppCDS archive also makes sense in the case of badass-jlink, when `customImage` is used. I added this in 2.23.1 (see [the documentation](https://badass-jlink-plugin.beryx.org/releases/latest/#cds)).

That's a great solution. A pull request is more than welcome. Thanks!

I think your hack is ok. I don't have a better solution.

Hi! What testing framework do you use? JUnit4? JUnit5? Spock? TestNG?

I put up an [example project](https://github.com/beryx-gist/text-io-mock) that shows how to use the MockTextTerminal with JUnit 5.

Did you see the [example project](https://github.com/beryx-gist/text-io-mock/blob/main/src/test/java/org/beryx/example/AppTest.java) I put up yesterday?

No, timed wait is currently not supported.

Yes, because this method is intended to customize the error message of a specific input reader. There is currently no API method to set a global custom ErrorMessageProvider. Here is...