cannot build with jdk 9 ea build 124

Aleksey Shipilev aleksey.shipilev at oracle.com
Tue Jul 5 11:44:06 UTC 2016


On 06/25/2016 12:07 PM, Roman Leventov wrote:
> [INFO] Building Chapter 0.a: Language Foundations: Basic Properties
> 1.0-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-versions) @
> jcstress-tests-chapter-0a ---
> [INFO]
> [INFO] --- exec-maven-plugin:1.2.1:exec (chapter0a-gen) @
> jcstress-tests-chapter-0a ---
> Exception in thread "main" java.lang.IllegalArgumentException: character to
> be escaped is missing
>         at java.util.regex.Matcher.appendExpandedReplacement(java.base at 9-ea

Yes, sorry about that.

This is a Windows-specific issue, because the replacement character is
File.separator and it happens to be the "escape" backslash. We should do
better:
  http://hg.openjdk.java.net/code-tools/jcstress/rev/b937698bcb0c

This fixes Windows build with 9b125 for me.

Thanks,
-Aleksey




More information about the jcstress-dev mailing list