<ul dir="auto">
<li>[*] I have searched the <a href="https://github.com/apache/incubator-dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li>[*] I have checked the <a href="https://github.com/apache/incubator-dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.6.3-release</li>
<li>Operating System version: windows 10</li>
<li>Java version: JDK 1.8</li>
</ul>
<h3 dir="auto">Step to reproduce this issue</h3>
<ol dir="auto">
<li>mvn clean install -e</li>
</ol>
<p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">What do you expected from the above steps？<br>
UT pass</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">What is actually happen?<br>
dubbo-common IOUtilsTest#testWriteLines assert error</p>
<p dir="auto">If there is an exception, please attach the exception trace:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="expect &quot;ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890\r&quot;
actually &quot;ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890\r\n&quot;"><pre class="notranslate"><code class="notranslate">expect "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890\r"
actually "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890\r\n"
</code></pre></div>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.6.4</li>
<li>Operating System version: CentOS 6.7</li>
<li>Java version: 1.8</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@Getter
@Setter
public class BaseResponse {
    @JSONField(name = &quot;order_id&quot;)
    private int orderId;
}"><pre class="notranslate"><span class="pl-c1">@</span><span class="pl-c1">Getter</span>
<span class="pl-c1">@</span><span class="pl-c1">Setter</span>
<span class="pl-k">public</span> <span class="pl-k">class</span> <span class="pl-smi">BaseResponse</span> {
    <span class="pl-c1">@</span><span class="pl-c1">JSONField</span>(<span class="pl-s1">name</span> = <span class="pl-s">"order_id"</span>)
    <span class="pl-k">private</span> <span class="pl-smi">int</span> <span class="pl-s1">orderId</span>;
}</pre></div>
<h3 dir="auto">Expected Result</h3>
<p dir="auto">BaseResponse {<br>
private int order_id;<br>
}</p>
<h3 dir="auto">Actual Result</h3>
<p dir="auto">BaseResponse {<br>
private int orderId;<br>
}</p>