[
https://issues.apache.org/jira/browse/NETBEANS-2480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eugene Pliskin updated NETBEANS-2480:
-------------------------------------
Affects Version/s: 11.1
Description:
Non-ASCII characters completely filtered out of Gradle error messages, despite
"netbeans_default_options" key in "netbeans.conf" file containing
"-J-Dfile.encoding=UTF-8" clause.
Attached are two build logs of the same Groovy source file with intentional
error in it.
1) NetBeans version 8.2 CORRECTLY reports an error:
[Static type checking] - The variable [параметры] is undeclared.
@ line 72, column 38.
def платформы = rv.Платформы(параметры)
^
2) While NetBeans versions 11.0 and 11.1 completely filteres out all non-ascii
letters:
[Static type checking] - The variable [] is undeclared.
@ line 72, column 38.
def = rv.()
^
Note that both attached logs contain line: "Picked up JAVA_TOOL_OPTIONS:
-Dfile.encoding=UTF-8".
Note also that outside of NetBeans this Gradle command:
gradlew -x check build > a 2>&1
produces correct UTF-8 encoded report similar to NetBeans v.8.2 output.
was:
Non-ASCII characters completely filtered out of Gradle error messages, despite
"netbeans_default_options" key in "netbeans.conf" file containing
"-J-Dfile.encoding=UTF-8" clause.
Attached are two build logs of the same Groovy source file with intentional
error in it.
1) NetBeans version 8.2 CORRECTLY reports an error:
[Static type checking] - The variable [параметры] is undeclared.
@ line 72, column 38.
def платформы = rv.Платформы(параметры)
^
2) While NetBeans version 11.0 completely filteres out all non-ascii letters:
[Static type checking] - The variable [] is undeclared.
@ line 72, column 38.
def = rv.()
^
Note that both attached logs contain line: "Picked up JAVA_TOOL_OPTIONS:
-Dfile.encoding=UTF-8".
Note also that outside of NetBeans this Gradle command:
gradlew -x check build > a 2>&1
produces correct UTF-8 encoded report similar to NetBeans v.8.2 output.
> Not a usual UTF8 question!
> --------------------------
>
> Key: NETBEANS-2480
> URL: https://issues.apache.org/jira/browse/NETBEANS-2480
> Project: NetBeans
> Issue Type: Bug
> Components: groovy - Code
> Affects Versions: 11.0, 11.1
> Environment: Windows 10
> Reporter: Eugene Pliskin
> Priority: Major
> Labels: gradle, utf-8
> Attachments: NetBeans-11.0-console.txt, NetBeans-8.2-console.txt
>
>
> Non-ASCII characters completely filtered out of Gradle error messages,
> despite "netbeans_default_options" key in "netbeans.conf" file containing
> "-J-Dfile.encoding=UTF-8" clause.
>
> Attached are two build logs of the same Groovy source file with intentional
> error in it.
>
> 1) NetBeans version 8.2 CORRECTLY reports an error:
> [Static type checking] - The variable [параметры] is undeclared.
> @ line 72, column 38.
> def платформы = rv.Платформы(параметры)
> ^
> 2) While NetBeans versions 11.0 and 11.1 completely filteres out all
> non-ascii letters:
> [Static type checking] - The variable [] is undeclared.
> @ line 72, column 38.
> def = rv.()
> ^
>
> Note that both attached logs contain line: "Picked up JAVA_TOOL_OPTIONS:
> -Dfile.encoding=UTF-8".
>
> Note also that outside of NetBeans this Gradle command:
>
> gradlew -x check build > a 2>&1
>
> produces correct UTF-8 encoded report similar to NetBeans v.8.2 output.
>
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists