Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0EAB8200C6A for ; Wed, 19 Apr 2017 20:15:47 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 0D350160BAA; Wed, 19 Apr 2017 18:15:47 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 5C4A9160B9C for ; Wed, 19 Apr 2017 20:15:46 +0200 (CEST) Received: (qmail 2912 invoked by uid 500); 19 Apr 2017 18:15:45 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 2901 invoked by uid 99); 19 Apr 2017 18:15:45 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Apr 2017 18:15:45 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 25A331A0194 for ; Wed, 19 Apr 2017 18:15:45 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id AEMql75uSsDI for ; Wed, 19 Apr 2017 18:15:44 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id CFCFE5FDF5 for ; Wed, 19 Apr 2017 18:15:43 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id BFEE7E0D5B for ; Wed, 19 Apr 2017 18:15:42 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 0AA2821B59 for ; Wed, 19 Apr 2017 18:15:42 +0000 (UTC) Date: Wed, 19 Apr 2017 18:15:42 +0000 (UTC) From: "Adam Anderson (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CXF-7342) org.apache.cxf.attachment.AttachmentUtilTest.xml fails with jdk 9 preview MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 19 Apr 2017 18:15:47 -0000 Adam Anderson created CXF-7342: ---------------------------------- Summary: org.apache.cxf.attachment.AttachmentUtilTest.xml fail= s with jdk 9 preview Key: CXF-7342 URL: https://issues.apache.org/jira/browse/CXF-7342 Project: CXF Issue Type: Bug Reporter: Adam Anderson org.junit.ComparisonFailure: expected:<[=C3=A4=C2=B8=E2=80=93=C3=A7=E2=80= =A2=C5=92=C3=A3=C6=92=C2=BC=C3=A3=C6=92=E2=80=A2=C3=A3=E2=80=9A=C2=A1=C3=A3= =E2=80=9A=C2=A4=C3=A3=C6=92=C2=AB].txt> but was:<[=E4=B8=96=E7=95=8C=E3=83= =BC=E3=83=95=E3=82=A1=E3=82=A4=E3=83=AB].txt> =09at org.apache.cxf.attachment.AttachmentUtilTest.testContendDispositionFi= leNameKanjiChars(AttachmentUtilTest.java:100) JEP 254: Compact Strings changes the way java Strings are internalized. The= test case has a hardcoded utf-16 string to 'cheat' the utf-8 Kanji charact= ers. When compiled with jdk 8 and ran with java 9 the utf-16 hardcoded stri= ng: "=C3=A4=C2=B8=E2=80=93=C3=A7=E2=80=A2=C5=92=C3=A3=C6=92=C2=BC=C3=A3=C6= =92=E2=80=A2=C3=A3=E2=80=9A=C2=A1=C3=A3=E2=80=9A=C2=A4=C3=A3=C6=92=C2=AB" i= s handled literally and the comparison fails, even though the output of [= =E4=B8=96=E7=95=8C=E3=83=BC=E3=83=95=E3=82=A1=E3=82=A4=E3=83=AB].txt is cor= rect. -- This message was sent by Atlassian JIRA (v6.3.15#6346)