diff options
author | Nikita Nemkin | 2019-02-04 09:42:17 +0000 |
---|---|---|
committer | Niraj Modi | 2019-02-04 09:42:17 +0000 |
commit | 5b28801a587ebcce55a1d43f1dc7d25e233d5d1b (patch) | |
tree | 0511cc88918e52edfbb7933fe50f78e7b985b05b /bundles/org.eclipse.swt.tools | |
parent | 59c8160c4daca04dd486cd8f1e66853a738e5017 (diff) | |
download | eclipse.platform.swt-5b28801a587ebcce55a1d43f1dc7d25e233d5d1b.tar.gz eclipse.platform.swt-5b28801a587ebcce55a1d43f1dc7d25e233d5d1b.tar.xz eclipse.platform.swt-5b28801a587ebcce55a1d43f1dc7d25e233d5d1b.zip |
Bug 544085 - [JNI] Insert correct newline character into generated code
Change-Id: I167eb7bcdeda257af27a01da1c053778fe7a3786
Signed-off-by: Nikita Nemkin <nikita@nemkin.ru>
Diffstat (limited to 'bundles/org.eclipse.swt.tools')
-rw-r--r-- | bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/NativesGenerator.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/NativesGenerator.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/NativesGenerator.java index 326acacd58..5816ce8fdb 100644 --- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/NativesGenerator.java +++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/NativesGenerator.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004, 2017 IBM Corporation and others. + * Copyright (c) 2004, 2019 IBM Corporation and others. * * This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 @@ -275,7 +275,7 @@ boolean generateGetParameter(JNIMethod method, JNIParameter param, boolean criti // Keep diagnostic code (commented-out) below for diagnosing these. output("if (!arg"); output(iStr); - output(") goto fail;\n"); + outputln(") goto fail;"); //output(") {fprintf(stderr,\"fail: method="); //output(method.getName()); //output(", arg"); |