Re: RFR: 8276348: Use blessed modifier order in java.base

2021-11-02 Thread Martin Buchholz
On Tue, 2 Nov 2021 19:14:23 GMT, Pavel Rappo wrote: >> Pragmatically, fix the script to ignore those keywords on comment lines. >> Learn Perl, its just a regular expression pattern match and replace >> expression. >> >> All of the changes have to be manually reviewed by the author and then th

Re: RFR: 8276348: Use blessed modifier order in java.base

2021-11-02 Thread Martin Buchholz
On Tue, 2 Nov 2021 16:30:56 GMT, Pavel Rappo wrote: > This PR follows up one of the recent PRs, where I used a non-canonical > modifier order. Since the problem was noticed [^1], why not to address it at > mass? > > As far as I remember, the first mass-canonicalization of modifiers took place

Re: [15] RFR: 8244459: Optimize the hash map size in LocaleProviderAdapters

2020-05-05 Thread Martin Buchholz
Hi Peter, Are you saying guava has a tiny bug? On Tue, May 5, 2020 at 12:12 PM Peter Levart wrote: > Hi Martin, > On 5/5/20 8:26 PM, Martin Buchholz wrote: > > See related: > > https://guava.dev/releases/23.0/api/docs/com/google/common/collect/Maps.html#newHashMapWi

Re: [15] RFR: 8244459: Optimize the hash map size in LocaleProviderAdapters

2020-05-05 Thread Martin Buchholz
See related: https://guava.dev/releases/23.0/api/docs/com/google/common/collect/Maps.html#newHashMapWithExpectedSize-int- On Tue, May 5, 2020 at 11:03 AM wrote: > And here is the fix. Please review. > > http://cr.openjdk.java.net/~naoto/8244459/webrev.00/ > > Naoto > > On 5/5/20 10:25 AM, naoto.

Re: RFR [15] 8243541: (tz) Upgrade time-zone data to tzdata2020a

2020-04-27 Thread Martin Buchholz
dk.java.net/~kravikumar/8243541/webrev/ > > > All associated tests pass. Please let me know if they look alright. > > > Thanks, > > Kiran > > On 27/04/2020 15:16, Martin Buchholz wrote: > > Hi Kiran, > > Thanks for working on this update so promptly. > &g

Re: RFR [15] 8243541: (tz) Upgrade time-zone data to tzdata2020a

2020-04-27 Thread Martin Buchholz
Hi Kiran, Thanks for working on this update so promptly. The innocent renaming of America/Godthab to America/Nuuk is causing much trouble. Since it's a renaming, both names remain and I expected them to have the same metadata. So I expected the entries in TimeZoneNames.java and the translations i

Re: [15] RFR (XXS): 8242337: javadoc typo in NumberFormat::setMinimumFractionDigits

2020-04-08 Thread Martin Buchholz
+1 !

Re: Turkish Time Zone name string and translation

2019-11-25 Thread Martin Buchholz
\ No newline at end of file Please fix.

Re: Turkish Time Zone name string and translation

2019-11-17 Thread Martin Buchholz
I've always wondered how the timezone-related translations are managed. CLDR seems to be the master repository of such data, and projects like OpenJDK are simply supposed to import that data. But I looked at the CLDR sources, and there doesn't seem to be any "Turkey Time" strings defined like there

Re: [11u] RFR: 8212970: TZ database in "vanguard" format support

2019-09-20 Thread Martin Buchholz
(not a review) At Google, we decided to stay on rearguard format tzdata files for all our jdks. One reason for that was being able to easily support older jdk versions with the same data files. Vanguard still seems riskier to me than rearguard. Of course, eventually we'll need to switch to vanguard

Re: RFR: 8231098: (tz) Upgrade time-zone data to tzdata2019c

2019-09-17 Thread Martin Buchholz
On Tue, Sep 17, 2019 at 9:45 AM wrote: > +1 > > On 9/17/19 8:29 AM, Martin Buchholz wrote: > > Looks good to me. > > At Google we also integrated tzdata2019c, and it was uneventful (good!). > > But we're still using rearguard format. > > The vanguard/rearg

Re: RFR: 8231098: (tz) Upgrade time-zone data to tzdata2019c

2019-09-17 Thread Martin Buchholz
Looks good to me. At Google we also integrated tzdata2019c, and it was uneventful (good!). But we're still using rearguard format. The vanguard/rearguard distinction is a source of errors, so it should be made clear what format is being used to import the files. If you have a script to update the j

Re: RFR: 8228469: (tz) Upgrade time-zone data to tzdata2019b

2019-08-05 Thread Martin Buchholz
Thanks for the update and redundancy removal. Looks good to me. What is the recommendation for older releases? Migrate to vanguard format by backporting recent changes or stay on rearguard forever? On Mon, Aug 5, 2019 at 1:28 AM Ramanand Patil wrote: > Hi all, > Please review the patch for tz

Re: [13] RFR: 8205432: Replace the placeholder Japanese era name

2019-04-01 Thread Martin Buchholz
https://en.wikipedia.org/wiki/Reiwa_period On Mon, Apr 1, 2019 at 9:16 AM Remi Forax wrote: > Hi Naoto, > just for my education, > what is the translation of "Reiwa" ? >

Re: RFR: 8213085: (tz) Upgrade time-zone data to tzdata2018g

2018-10-29 Thread Martin Buchholz
LGTM. On Mon, Oct 29, 2018 at 8:19 AM, Ramanand Patil wrote: > Hi all, > Please review the latest TZDATA integration (tzdata2018g) into JDK12. > Bug: https://bugs.openjdk.java.net/browse/JDK-8213085 > Webrev: http://cr.openjdk.java.net/~rpatil/8213085/webrev.00/ > > All the TimeZone related test

Re: RFR: 8213016: (tz) Upgrade time-zone data to tzdata2018f

2018-10-26 Thread Martin Buchholz
Looks good to me. On Fri, Oct 26, 2018 at 11:30 AM, Ramanand Patil wrote: > Hi all, > Please review the latest TZDATA integration (tzdata2018f) into JDK12. > Bug: https://bugs.openjdk.java.net/browse/JDK-8213016 > Webrev: http://cr.openjdk.java.net/~rpatil/8213016/webrev.00/ > > All the TimeZone

Re: RFR 8209184: JDK8 ResourceBundle vulnerable to GC (fix included)

2018-08-10 Thread Martin Buchholz
retargeted bug to java.util:i18n, the right mailing list seems to be i18n-dev. On Fri, Aug 10, 2018 at 8:42 AM, Adam Farley8 wrote: > Hi All, > > This bug could be fixed by comparing the Class Loader with a blank > static volatile Object (defined outside the method scope) at the > end of the get

Re: RFR: 8203233: (tz) Upgrade time-zone data to tzdata2018e

2018-05-22 Thread Martin Buchholz
Looks good. On Tue, May 22, 2018 at 3:49 AM, Ramanand Patil wrote: > Hi all, > Please review the latest TZDATA integration (tzdata2018e) to JDK. > Bug: https://bugs.openjdk.java.net/browse/JDK-8203233 > Webrev: http://cr.openjdk.java.net/~rpatil/8203233/webrev.00/ > > All the TimeZone related te

Re: CLDR Irish time zone name

2018-02-14 Thread Martin Buchholz
On Tue, Feb 13, 2018 at 10:24 PM, Mark Davis ☕️ wrote: > I'm pretty annoyed with the TZ group lately; there seems to be little > consideration for compatibility. > > I think, if it comes to it, we may need to be prepared to fork the "input > data" in CLDR. My hope is that they will instead at lea

Re: CLDR Irish time zone name

2018-02-13 Thread Martin Buchholz
On Tue, Feb 13, 2018 at 3:02 PM, Stephen Colebourne wrote: > > In the short term, I don't think CLDR should change its data, nor do I > think OpenJDK should change. ie. for Ireland, standard=winter and > daylight=summer should continue to be true in both projects. > I agree > If TZDB insists o

Re: RFR[JDK10]: 8195837: (tz) Support tzdata2018c

2018-01-29 Thread Martin Buchholz
Google has been successfully running jdk8 and jdk9 with 2018c. On Mon, Jan 29, 2018 at 12:49 AM, Ramanand Patil wrote: > Hi all, > Please review the latest TZDATA integration (tzdata2018c) into JDK10. > Bug: https://bugs.openjdk.java.net/browse/JDK-8195837 > Webrev: http://cr.openjdk.java.net/~r

Re: JDK10 RFR of JDK-8190258: (tz) Support tzdata2017c and 8190259: test tck.java.time.zone.TCKZoneRules is broken by tzdata2017c

2017-11-07 Thread Martin Buchholz
Looks good to me too. I've always wondered about how the corresponding java source files are maintained. Is it all manual or do y'all have some magic script to help keep IANA data and java data aligned? Do we need more testing that mistakes don't creep in? On Tue, Nov 7, 2017 at 3:41 AM, Ramana

RFR: JDK-8190816 : PropertiesTest.sh fails to make $WRITABLEJDK writable

2017-11-06 Thread Martin Buchholz
http://cr.openjdk.java.net/~martin/webrevs/openjdk10/Currency-PropertiesTest/

tzdata2017c is out

2017-10-23 Thread Martin Buchholz
tzdata2017c came out today, and the elves at Google are working hard to incorporate changes in hours or days instead of weeks or quarters. One thing we noticed is that one of the java.time tck tests was broken by tzdata rewrite of history. Here's the fix we're applying (s/1879/1892/g): @@ -941,2

Re: [10] RFR: 8176160, 8176847, 8176853

2017-06-01 Thread Martin Buchholz
Looks even better! On Wed, May 31, 2017 at 2:20 PM, Naoto Sato wrote: > Thanks, Martin. Updated the webrev for each: > > http://cr.openjdk.java.net/~naoto/8176160/webrev.01/ > http://cr.openjdk.java.net/~naoto/8176847/webrev.01/ > > Naoto > > On 5/31/17 1:00 P

Re: [10] RFR: 8176160, 8176847, 8176853

2017-05-31 Thread Martin Buchholz
Thanks - looks good. --- +private final static List cals = +List.of("gregorian", "japanese", "julian"); If you inline this into main, your beautiful stream pipeline will be even more beautiful! --- +import static java.util.Calendar.Builder; My colleagues would frown upon static im

Re: RFR: 8177449: (tz) Support tzdata2017b

2017-03-29 Thread Martin Buchholz
Looks good to me! On Wed, Mar 29, 2017 at 11:31 AM, Ramanand Patil wrote: > Hi all, > Please review the latest TZDATA integration (tzdata2017b) to JDK9. > Bug: https://bugs.openjdk.java.net/browse/JDK-8177449 > Webrev: http://cr.openjdk.java.net/~rpatil/8177449/webrev.00/ > > All the TimeZone re

RFR: Remove stray @deprecated in Date#getDate

2017-03-16 Thread Martin Buchholz
I say we make this extraordinarily safe fix in jdk9: https://bugs.openjdk.java.net/browse/JDK-8176886 --- a/src/java.base/share/classes/java/util/Date.java +++ b/src/java.base/share/classes/java/util/Date.java @@ -728,7 +728,6 @@ * @see java.util.Calendar * @deprecated As of JDK ve

Re: RFR: 8169191: (tz) Support tzdata2016j

2016-11-28 Thread Martin Buchholz
Thanks as always for keeping the tzdata pipeline moving! Looks good to me. On Mon, Nov 28, 2016 at 1:24 AM, Ramanand Patil wrote: > Hi all, > Please review the latest TZDATA integration (tzdata2016j) to JDK9. > Bug: https://bugs.openjdk.java.net/browse/JDK-8170316 > Webrev: http://cr.openjdk.jav

Re: RFR: jdk8u-dev Backport of 8169191: (tz) Support tzdata2016i

2016-11-10 Thread Martin Buchholz
Looks good! On Thu, Nov 10, 2016 at 1:48 AM, Ramanand Patil wrote: > Hi all, > Please review the latest TZDATA integration (tzdata2016i) to JDK8U. > Since tzdata is cumulative, this bug fix backports both the tzdata > versions(tzdata2016h+tzdata2016i) into jdk8u. > > Bug: https://bugs.openjdk.ja

Re: RFR: 8169191: (tz) Support tzdata2016i

2016-11-07 Thread Martin Buchholz
Looks good to me! On Mon, Nov 7, 2016 at 2:43 AM, Ramanand Patil wrote: > Hi all, > Please review the latest TZDATA integration (tzdata2016i) to JDK9. > Bug: https://bugs.openjdk.java.net/browse/JDK-8169191 > Webrev: http://cr.openjdk.java.net/~rpatil/8169191/webrev.00/ > > All the TimeZone rela

Re: RFR: 8168512: (tz) Support tzdata2016h

2016-10-24 Thread Martin Buchholz
Looks good to me! On Mon, Oct 24, 2016 at 12:28 AM, Ramanand Patil wrote: > Hi all, > > Please review the latest TZDATA integration (tzdata2016h) to JDK9. > > Bug: https://bugs.openjdk.java.net/browse/JDK-8168512 > > Webrev: http://cr.openjdk.java.net/~rpatil/8168512/webrev.00/ > > > > All the T

Re: RFR: 8166875: (tz) Support tzdata2016g

2016-10-04 Thread Martin Buchholz
es. Though I found very few zone names are missing from this > file like: "Europe/Busingen", "America/Fort_Nelson", "Antarctica/Troll" > etc... > > > Regards, > Ramanand. > > From: Martin Buchholz [mailto:marti...@google.com] > Sent: Monday, Oct

Re: RFR:JDK-8166993: Typo in java.util.Locale

2016-10-03 Thread Martin Buchholz
Thanks! On Mon, Oct 3, 2016 at 12:22 AM, Rachna Goel wrote: > Hi, > > Please review this simple documentation fix for JDK-8166993. > > Bug : https://bugs.openjdk.java.net/browse/JDK-8166993 > > webrev :http://cr.openjdk.java.net/~rgoel/JDK-8166993/webrev/ > > Thanks, > > Rachna > >

Re: RFR: 8166875: (tz) Support tzdata2016g

2016-10-03 Thread Martin Buchholz
Hi Ramanand, Pleased to meet you! I expected to see Yangon added to ZoneName, because of the existing reference to Rangoon java/time/test/java/time/format/ZoneName.java:179:"Asia/Rangoon", "Myanmar", "Asia/Rangoon", Is ZoneName.java trying to maintain a comprehensive list of zone names?

RFR: 8166983: Remove old/legacy unused tzdata files

2016-09-30 Thread Martin Buchholz
I have no idea what I'm doing - feel free to take ownership. https://bugs.openjdk.java.net/browse/JDK-8166983

Re: [9] RFR: 8075548: SimpleDateFormat formatting of "LLLL" in English is incorrect; should be identical to "MMMM"

2015-03-30 Thread Martin Buchholz
; width information (LONG, SHORT, NARROW) which is the same thing as its > format form, e.g., Calendar.LONG == Calendar.LONG_FORMAT. > > Masayoshi > > > On 3/28/2015 4:31 AM, Martin Buchholz wrote: > > Don't know much about Calendar, but: > > do you want

Re: [9] RFR: 8075548: SimpleDateFormat formatting of "LLLL" in English is incorrect; should be identical to "MMMM"

2015-03-27 Thread Martin Buchholz
Don't know much about Calendar, but: do you want below to try fallback twice? Eg. if it's still null after trying toStandaloneStyle(style), do you want to also try fallback to getBaseStyle(style) ? 2093 // Perform fallback here to follow the CLDR rules2094 if (val == null

RFR: JDK-8055675 java/util/Currency/PropertiesTest.sh fails on OS X after JDK-8055253

2014-08-20 Thread Martin Buchholz
Hi Naoto, I'd like you to do a code review to fix test breakage on macosx. https://bugs.openjdk.java.net/browse/JDK-8055675#comment-13541658 http://cr.openjdk.java.net/~martin/webrevs/openjdk9/Currency-PropertiesTest-hygiene/

Re: RFR: 8055253: test/java/util/Currency/PropertiesTest.sh modifies the test JDK

2014-08-18 Thread Martin Buchholz
i Martin, > > Initial intention for not copying the JDK was to avoid timeout for some > cases in slow networked environment. But it still does not avoid all the > cases. So, yes I am fine with your fix. > > Naoto > > > On 8/16/14, 6:11 PM, Martin Buchholz wrote: > >>

RFR: 8055253: test/java/util/Currency/PropertiesTest.sh modifies the test JDK

2014-08-16 Thread Martin Buchholz
Hi Naoto, Alan, I'd like you to do a code review. http://cr.openjdk.java.net/~martin/webrevs/openjdk9/Currency-concurrency/ https://bugs.openjdk.java.net/browse/JDK-8055253 This will fix the transient failures in Currency ONCE AND FOR ALL!

Re: < i18n dev> Request for review: Crash on XIM server restart

2010-09-22 Thread Martin Buchholz
On Wed, Sep 22, 2010 at 14:53, Naoto Sato wrote: >> Also, is it possible to get a bug id for this? > > I am not familiar with this process, but according to this page > (http://openjdk.java.net/contribute/), you can create a new bug report in > the OpenJDK Bugzilla. An Oracle sponsor still needs

Re: Security fixes are back; other fixes can go in. Time for build 18?

2009-12-10 Thread Martin Buchholz
On Thu, Dec 10, 2009 at 13:30, Andrew John Hughes wrote: > 2009/12/10 Joseph D. Darcy : > I added the fixes mentioned and tried to push. I was greeted with this: > > remote: > remote: test/java/util/TimeZone/TimeZoneDatePermissionCheck.sh: > Executable files not permitted > remote: > > Funny becau

Test failure when running Test4300693 with -esa

2009-08-27 Thread Martin Buchholz
Hello i18n gods, Sorry for being such a stranger to this mailing list. Anyways, here's a bug report: If you test java/util/ResourceBundle/Test4300693.java with -vmoption:-enablesystemassertions, you get an assertion failure as follows (please fix): jtreg -v:nopass,fail -vmoption:-enablesystemas

Re: Intent to commit modifications to Character.java

2009-08-10 Thread Martin Buchholz
r 204 constants more obvious than before. I intend to fold the two isSurrogate patches into one and commit them when I get CCC approval. Speaking of which... has that happened yet? Martin On Wed, Aug 5, 2009 at 09:37, Joseph D. Darcy wrote: > Martin Buchholz wrote: >> >> Hi Masay

Re: Intent to commit modifications to Character.java

2009-08-04 Thread Martin Buchholz
> > Thanks, > Masayoshi > > On 8/5/2009 11:03 AM, Martin Buchholz wrote: >> >> Hi i18n team, >> >> FYI: >> >> I am intending to commit these changes to java.lang.Character >> >> http://cr.openjdk.java.net/~martin/webrevs/openjdk7/isSurr

Intent to commit modifications to Character.java

2009-08-04 Thread Martin Buchholz
Hi i18n team, FYI: I am intending to commit these changes to java.lang.Character http://cr.openjdk.java.net/~martin/webrevs/openjdk7/isSurrogate/ http://cr.openjdk.java.net/~martin/webrevs/openjdk7/isSurrogate2/ (follow-on change) as soon as I have CCC approval. Martin

Re: Reading Linux filenames in a way that will map back the same on open?

2008-09-14 Thread Martin Buchholz
On Sat, Sep 13, 2008 at 14:57, Xueming Shen <[EMAIL PROTECTED]> wrote: > > Martin, don't trap people into using -Dfile.encoding, always treat it as a > read only property:-) > > I believe initializeEncoding(env) gets invoked before -Dxyz=abc overwrites > the default one, > beside the "jnu encoding

Re: Reading Linux filenames in a way that will map back the same on open?

2008-09-12 Thread Martin Buchholz
to get the file's length without an error > when it goes to read data from the file and has trouble. > > I don't -think- I'm doing anything screwy in there - could it be that > ISO-8859-1 isn't giving good round-trip conversions in practice? Would this >

Re: Reading Linux filenames in a way that will map back the same on open?

2008-09-10 Thread Martin Buchholz
, Naoto Sato <[EMAIL PROTECTED]> wrote: > Why ISO-8859-1? CJK filenames are guaranteed to fail in that case. I'd > rather choose UTF-8, as the default encoding on recent Unix/Linux are all > UTF-8 so the filenames are likely in UTF-8. > > Naoto > > Martin Buchholz wro

Re: Reading Linux filenames in a way that will map back the same on open?

2008-09-09 Thread Martin Buchholz
Java made the decision to use String as an abstraction for many OS-specific objects, like filenames (or environment variables). Most of the time this works fine, but occasionally you can notice that the underlying OS (in the case of Unix) actually uses arbitrary byte arrays as filenames. It would

Re: Using system tzdata

2008-01-29 Thread Martin Buchholz
e to check OS tzdata version. Can > you elaborate your suggestion a bit more? > > Thanks, > Masayoshi > > On 1/30/2008 8:51 AM, Martin Buchholz wrote: >> Dalibor Topic wrote: >> >>> Masayoshi Okutsu wrote: >>> From the POV of operating system distributor

Re: Using system tzdata

2008-01-29 Thread Martin Buchholz
Dalibor Topic wrote: > Masayoshi Okutsu wrote: > From the POV of operating system distributors that already need to > support tzdata for other applications, and therefore need to keep it > current anyway for their customers, I think it's preferable to rely on > system facilities where such facili