From deb4115c4bb77f7fe0d5a8f8197417f67ae435bd Mon Sep 17 00:00:00 2001 From: Thomas Broyer Date: Mon, 27 Jul 2020 19:58:11 +0200 Subject: [PATCH] Remove the java root prefix from GwtIncompatibleStripper output According to https://github.com/google/j2cl/issues/98#issuecomment-659101173 that's the intended behavior. --- .../j2cl/tools/gwtincompatible/GwtIncompatibleStripper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/java/com/google/j2cl/tools/gwtincompatible/GwtIncompatibleStripper.java b/tools/java/com/google/j2cl/tools/gwtincompatible/GwtIncompatibleStripper.java index 1230038174..c81d8bbeae 100644 --- a/tools/java/com/google/j2cl/tools/gwtincompatible/GwtIncompatibleStripper.java +++ b/tools/java/com/google/j2cl/tools/gwtincompatible/GwtIncompatibleStripper.java @@ -81,7 +81,7 @@ private static void preprocessFiles(List fileInfos, Path output, Probl // Write the processed file to output J2clUtils.writeToFile( - output.resolve(fileInfo.originalPath()), processedFileContent, problems); + output.resolve(fileInfo.targetPath()), processedFileContent, problems); } }