[AIX] Add charset IBM-964 (default charset for zh_TW.IBM-eucTW) to stdcs

2018-05-10 Thread Bhaktavatsal R Maram
Hi All, In bug 8201540 (Extend the set of supported charsets in java.base on AIX)[1] we moved default charsets that are available in OpenJDK to java.base module except to IBM964. Charset IBM964 is bit tricky. Its Encoder is extended from sun.nio.cs.ext.SimpleEUCEncoder. So, SimpleEUCEncoder

Re: [AIX] Add charset IBM-964 (default charset for zh_TW.IBM-eucTW) to stdcs

2018-05-10 Thread Bhaktavatsal R Maram
wrote: - To: Bhaktavatsal R Maram/India/IBM@IBMIN From: Ichiroh Takiguchi <taki...@linux.vnet.ibm.com> Date: 05/11/2018 06:31AM Cc: Java Core Libs <core-libs-dev@openjdk.java.net> Subject: Re: [AIX] Add charset IBM-964 (default charset for zh_TW.IBM-eucTW) to stdcs Hello Bhaktav

Re: RFR(XS): 8202329 [AIX] Fix codepage mappings for IBM-943 and Big5

2018-05-11 Thread Bhaktavatsal R Maram
Hi Thomas, Yes, there are many more to come :) - Bhaktavatsal -"Thomas Stüfe" <thomas.stu...@gmail.com> wrote: - To: Ichiroh Takiguchi <taki...@linux.vnet.ibm.com>, Bhaktavatsal R Maram <bhama...@in.ibm.com> From: "Thomas Stüfe" <thomas.stu.

Re: RFR(XS): 8202329 [AIX] Fix codepage mappings for IBM-943 and Big5

2018-05-21 Thread Bhaktavatsal R Maram
Hi Thomas, Is this fix ready to merge? Thanks, Bhaktavatsal -"Thomas Stüfe" <thomas.stu...@gmail.com> wrote: - To: Ichiroh Takiguchi <taki...@linux.vnet.ibm.com>, Bhaktavatsal R Maram <bhama...@in.ibm.com> From: "Thomas Stüfe" <thomas.stu.

Re: [AIX] Add charset IBM-964 (default charset for zh_TW.IBM-eucTW) to stdcs

2018-06-12 Thread Bhaktavatsal R Maram
retmapping), instead of hard-coding the map into the source code. Thanks! Sherman On 5/10/18, 8:20 PM, Bhaktavatsal R Maram wrote: > Hi Ichiroh, > > Yes, moving SimpleEUCEncoder.java to sun.nio.cs package would leave build > tools untouched. But, I think that for platforms other th

Re: RFR(XS): 8202329 [AIX] Fix codepage mappings for IBM-943 and Big5

2018-06-13 Thread Bhaktavatsal R Maram
Hi Thomas, I've added testcase along with fix. Please find webrev at http://cr.openjdk.java.net/~aleonard/8202329/webrev.01/ Thanks, Bhaktavatsal Reddy -"core-libs-dev" wrote: - To: "Thomas Stüfe" From: "Bhaktavatsal R Maram" Sent by: "core-lib

Re: RFR(XS): 8202329 [AIX] Fix codepage mappings for IBM-943 and Big5

2018-06-01 Thread Bhaktavatsal R Maram
Hi Thomas, Sorry, I was on vacation. I will submit webrev with jtreg testcase. Thanks, Bhaktavatsal -"Thomas Stüfe" wrote: - To: Bhaktavatsal R Maram From: "Thomas Stüfe" Date: 05/23/2018 12:32AM Cc: Ichiroh Takiguchi , Volker Simonis , Java Core Libs

Re: [AIX] Fix codepage mappings in Java for IBM-943 and Big5

2018-04-26 Thread Bhaktavatsal R Maram
Hi Volker, Thank you. I will address your review comments and send webrev for review. - Bhaktavatsal Reddy -Volker Simonis <volker.simo...@gmail.com> wrote: - To: Bhaktavatsal R Maram <bhama...@in.ibm.com> From: Volker Simonis <volker.simo...@gmail.com> Date: 04/

RFR(XS): 8202329 [AIX] Fix codepage mappings for IBM-943 and Big5

2018-04-30 Thread Bhaktavatsal R Maram
nis <volker.simo...@gmail.com> From: "Bhaktavatsal R Maram" Sent by: "core-libs-dev" Date: 04/26/2018 09:31PM Cc: Java Core Libs <core-libs-dev@openjdk.java.net> Subject: Re: [AIX] Fix codepage mappings in Java for IBM-943 and Big5 Hi Volker, Thank you. I will address

Re: hg: jdk/jdk11: 8202329: [AIX] Fix codepage mappings for IBM-943 and Big5

2018-07-05 Thread Bhaktavatsal R Maram
Hi, Sorry for the trouble. It had got compiled in my build environment, might be due to encoding is different. Please check if following patch make sense. diff -r 5cb2d4a8b8d4 test/jdk/sun/nio/cs/TestIBMBugs.java --- a/test/jdk/sun/nio/cs/TestIBMBugs.java Tue Jun 12 13:00:50 2018 +0530

Re: Missing many locales support on AIX platform

2018-04-12 Thread Bhaktavatsal R Maram
= 0x1c; +c2b[c2bIndex[0] + 0x5c] = 0x5c; +c2b[c2bIndex[0] + 0x7e] = 0x7e; +c2b[c2bIndex[0] + 0x7f] = 0x7f; +} +} Thanks, Bhaktavatsal Reddy -"core-libs-dev" <core-libs-dev-boun...@openjdk.java.net> wrote: - To: core-libs-dev@openjdk.java.n

Missing many locales support on AIX platform

2018-04-12 Thread Bhaktavatsal R Maram
Hi, On AIX platforms, Java is not starting on many locales. Java initialization fails with java.lang.IllegalArgumentException bash-4.4$ LANG=Ja_JP java -version Error occurred during initialization of VM java.lang.IllegalArgumentException: Null charset name at

Re: Missing many locales support on AIX platform

2018-04-12 Thread Bhaktavatsal R Maram
[i]; +} + +IBM943.initc2b(); +c2b = Arrays.copyOf(IBM943.c2b, IBM943.c2b.length); +c2bIndex = Arrays.copyOf(IBM943.c2bIndex, IBM943.c2bIndex.length); +for (char c = '\0'; c < '\u0080'; ++c) { + int index = c2bIndex[c >> 8]; +

Re: Missing many locales support on AIX platform

2018-04-13 Thread Bhaktavatsal R Maram
Given that patch is big, I am sending patch as attachment again after changing some mail settings. Hopefully, it will make to community this time. Thanks, Bhaktavatsal Reddy -Bhaktavatsal R Maram/India/IBM wrote: - To: core-libs-dev@openjdk.java.net From: Bhaktavatsal R Maram

Re: Missing many locales support on AIX platform

2018-04-13 Thread Bhaktavatsal R Maram
No luck! :( How can I attach patch? Any suggestions? Thanks, Bhaktavatsal Reddy -Bhaktavatsal R Maram/India/IBM wrote: - To: core-libs-dev@openjdk.java.net From: Bhaktavatsal R Maram/India/IBM Date: 04/13/2018 03:05PM Subject: Re: Missing many locales support on AIX platform Given

Re: Missing many locales support on AIX platform

2018-04-13 Thread Bhaktavatsal R Maram
Hi Volker, Thank you. I will take help of my colleagues and host webrev with all the default charsets that are missing for AIX. - Bhaktavatsal Reddy -Volker Simonis <volker.simo...@gmail.com> wrote: - To: Bhaktavatsal R Maram <bhama...@in.ibm.com> From: Volker Simonis

Re: Missing many locales support on AIX platform

2018-04-13 Thread Bhaktavatsal R Maram
to enable JDK support for more locales. Thanks, Bhaktavatsal Reddy -Alan Bateman <alan.bate...@oracle.com> wrote: - To: Bhaktavatsal R Maram <bhama...@in.ibm.com>, core-libs-dev@openjdk.java.net From: Alan Bateman <alan.bate...@oracle.com> Date: 04/13/2018 03:52PM Subject

Re: RFR(S): 8201540: [AIX] Extend the set of supported charsets in java.base

2018-04-16 Thread Bhaktavatsal R Maram
openjdk.java.net> wrote: - To: Alan Bateman <alan.bate...@oracle.com> From: "Bhaktavatsal R Maram" Sent by: "core-libs-dev" Date: 04/16/2018 02:38PM Cc: Tim Ellison <tim_elli...@uk.ibm.com>, ppc-aix-port-...@openjdk.java.net, Java Core Libs <core-libs-dev@openjdk

RFR(S): 8201540: [AIX] Extend the set of supported charsets in java.base

2018-04-16 Thread Bhaktavatsal R Maram
rly. src/jdk.charsets/share/classes/sun/nio/cs/ext/IBM942C.java src/jdk.charsets/share/classes/sun/nio/cs/ext/IBM943C.java I've built the JDK with this patch on both Linux and Aix. Thanks, Bhaktavatsal Reddy -Volker Simonis <volker.simo...@gmail.com> wrote: - To: Bhaktavatsa

Re: RFR(S): 8201540: [AIX] Extend the set of supported charsets in java.base

2018-04-17 Thread Bhaktavatsal R Maram
pushing. I will take care of it henceforth. Thanks, Bhaktavatsal Reddy -Volker Simonis <volker.simo...@gmail.com> wrote: - To: Bhaktavatsal R Maram <bhama...@in.ibm.com> From: Volker Simonis <volker.simo...@gmail.com> Date: 04/17/2018 08:30PM Cc: Alan Bateman <alan.bate...

Re: RFR(S): 8201540: [AIX] Extend the set of supported charsets in java.base

2018-04-16 Thread Bhaktavatsal R Maram
quot;hg rename" Thanks, Bhaktavatsal Reddy -Alan Bateman <alan.bate...@oracle.com> wrote: - To: Bhaktavatsal R Maram <bhama...@in.ibm.com>, Volker Simonis <volker.simo...@gmail.com> From: Alan Bateman <alan.bate...@oracle.com> Date: 04/16/2018 02:16PM Cc: Ja

Re: [AIX] Fix codepage mappings in Java for IBM-943 and Big5

2018-04-26 Thread Bhaktavatsal R Maram
dy -"core-libs-dev" <core-libs-dev-boun...@openjdk.java.net> wrote: - To: "Java Core Libs" <core-libs-dev@openjdk.java.net> From: "Bhaktavatsal R Maram" Sent by: "core-libs-dev" Date: 04/26/2018 07:26PM Subject: [AIX] Fix codepage mappi

Re: RFR : 8202322: AIX: symbol visibility flags not support on xlc 12.1

2018-04-26 Thread Bhaktavatsal R Maram
Hi Matthias, Its right in time. I am facing "Undefined Symbol" errors with XLC 13.1 due to "-qvisibility=hidden" which hides all symbols by default. I workaround that by removing this flag -bash-4.4$ xlC -qversion IBM XL C/C++ for AIX, V13.1.3 (5725-C72, 5765-J07) Version: 13.01.0003.

RE: RFR : 8202322: AIX: symbol visibility flags not support on xlc 12.1

2018-04-26 Thread Bhaktavatsal R Maram
t> From: "Baesken, Matthias" <matthias.baes...@sap.com> Date: 04/26/2018 08:23PM Cc: "Simonis, Volker" <volker.simo...@sap.com>, Bhaktavatsal R Maram <bhama...@in.ibm.com> Subject: RE: RFR : 8202322: AIX: symbol visibility flags not support on xlc

[AIX] Fix codepage mappings in Java for IBM-943 and Big5

2018-04-26 Thread Bhaktavatsal R Maram
Hi All, This issue is continuation to bug 8201540 (Extend the set of supported charsets in java.base on AIX) in which we have moved default charsets of most of the locales supported by Operating System to java.base module thus enabling OpenJDK on those locales for AIX platform. As part of