Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8221178

SrcGenTest fails on Windows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • repo-panama
    • repo-panama
    • tools

      Current source factory outputs paths in @NativeHeader and @NativeLocation annotations using Path::toString [1, 2]. However, on Windows this means that backslashes in paths are not being escaped correctly, making compilation of the generated sources fail.

      [1] : http://hg.openjdk.java.net/panama/dev/file/a3d7d90a369a/src/jdk.jextract/share/classes/com/sun/tools/jextract/JavaSourceFactory.java#l102
      [2] : http://hg.openjdk.java.net/panama/dev/file/a3d7d90a369a/src/jdk.jextract/share/classes/com/sun/tools/jextract/JavaSourceFactory.java#l171

            jvernee Jorn Vernee
            jvernee Jorn Vernee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: