From dougfelt at gmail.com Mon Dec 1 10:55:45 2008 From: dougfelt at gmail.com (Douglas Felt) Date: Mon, 1 Dec 2008 10:55:45 -0800 Subject: status Message-ID: <896f15550812011055t55105280x6b3249ad52e3b472@mail.gmail.com> Hello all. This is just a note to let folks know what the current status is. I've submitted my public key to openjdk.java.net and will soon populate the locale-enhancement repository from the jdk repo. We will then be able to experiment with changes to it. It's not clear to me whether I need to set up a 'gate' repository. It doesn't seem likely that anyone but us will be using this repository and we ought to be able to manage with just the one. If anyone knows different, please let me know. I know from past experience that Sun has a test runner that can be used to run tests in the test directory. Has this been made available to users of openjdk so that we can run these tests? We will want to run the Locale tests at a minimum after any changes to the Locale class. Doug From locale-enhancement-dev at openjdk.java.net Mon Dec 1 11:33:03 2008 From: locale-enhancement-dev at openjdk.java.net (Discussion of proposal to enhance java.util.Locale) Date: Mon, 01 Dec 2008 11:33:03 -0800 Subject: [loc-en-dev] status In-Reply-To: <896f15550812011055t55105280x6b3249ad52e3b472@mail.gmail.com> References: <896f15550812011055t55105280x6b3249ad52e3b472@mail.gmail.com> Message-ID: <49343BEF.5030104@Sun.COM> Hi Doug, Thank you for bootstrapping the project! As to the test harness, I believe that you are referring to 'jtreg', which is now an open source project: http://openjdk.java.net/jtreg/ Thanks, Naoto Douglas Felt wrote: > Hello all. This is just a note to let folks know what the current status is. > > I've submitted my public key to openjdk.java.net and will soon > populate the locale-enhancement repository from the jdk repo. We will > then be able to experiment with changes to it. > > It's not clear to me whether I need to set up a 'gate' repository. It > doesn't seem likely that anyone but us will be using this repository > and we ought to be able to manage with just the one. If anyone knows > different, please let me know. > > I know from past experience that Sun has a test runner that can be > used to run tests in the test directory. Has this been made available > to users of openjdk so that we can run these tests? We will want to > run the Locale tests at a minimum after any changes to the Locale > class. > > Doug -- Naoto Sato From locale-enhancement-dev at openjdk.java.net Mon Dec 1 11:47:47 2008 From: locale-enhancement-dev at openjdk.java.net (Discussion of proposal to enhance java.util.Locale) Date: Mon, 1 Dec 2008 11:47:47 -0800 Subject: [loc-en-dev] status In-Reply-To: <896f15550812011055t55105280x6b3249ad52e3b472@mail.gmail.com> References: <896f15550812011055t55105280x6b3249ad52e3b472@mail.gmail.com> Message-ID: As I understand it (which is highly questionable), the 'gate' is put in place so that any controls, such as enforcing ticket number/state compliance, etc, can be done without breaking atomicity of commits. Mercurial's model is: Commit first, verify later. So, some change could be committed, and then while the test is being run, another user could check out the changes, merge, and commit an additional change. If the first check fails, Mercurial tries to say, 'oops, sorry it didn't work out' and roll back the original change. This is no longer possible if a derivative change is checked in. Anyways, that's what I understood as to why a gate was used. -Steven From: "Douglas Felt" To: locale-enhancement-dev at openjdk.java.net Date: 12/01/2008 11:02 AM Subject: status Hello all. This is just a note to let folks know what the current status is. I've submitted my public key to openjdk.java.net and will soon populate the locale-enhancement repository from the jdk repo. We will then be able to experiment with changes to it. It's not clear to me whether I need to set up a 'gate' repository. It doesn't seem likely that anyone but us will be using this repository and we ought to be able to manage with just the one. If anyone knows different, please let me know. I know from past experience that Sun has a test runner that can be used to run tests in the test directory. Has this been made available to users of openjdk so that we can run these tests? We will want to run the Locale tests at a minimum after any changes to the Locale class. Doug From locale-enhancement-dev at openjdk.java.net Mon Dec 1 14:05:25 2008 From: locale-enhancement-dev at openjdk.java.net (loc-en-dev) Date: Mon, 1 Dec 2008 14:05:25 -0800 Subject: jtreg and build question Message-ID: <896f15550812011405w5aa484a1v5f910900450b3b51@mail.gmail.com> Thanks Naoto. I've downloaded jtreg and verified that I can use it to test changes to Locale.java. I have two more questions, if you don't mind. 1) jtreg takes about five minutes to run the 13 Locale tests, which I'd like to run quickly as a sanity check. I suspect there's a better way to invoke it than the ways I have tried. Currently I cd to the root of my local jdk7 repo and try this ../jtreg/linux/bin/jtreg -jdk:build/linux-i586 test/java/util/Locale or this ../jtreg/linux/bin/jtreg -jdk:build/linux-i586 -dir:test/java/util/Locale . or this cd test/java/util/Locale ~/openjdk/jtreg/linux/bin/jtreg -jdk:../../../../build/linux-i586 . All report on the 13 tests I ran as well as the 3,000+ tests I skipped. I expect scanning all the tests is what's taking up all the time. There must be a way to restrict the scan to only one (or a few) subdirectories. Is there? 2) recompiling also takes a long time. currently to build the fastdebug target I need to start from the root makefile under jdk/make. I can build the 'all' target under jdk/java/make, but I'd prefer to build everything with the same options. Is there a combination of location and target that is better for quick rebuilds? On the other hand, Locale is such as basic class that it might be better to just rebuild everything all the time. What do the Sun i18n folks do? Doug On Mon, Dec 1, 2008 at 11:33 AM, Naoto Sato wrote: > Hi Doug, > > Thank you for bootstrapping the project! > > As to the test harness, I believe that you are referring to 'jtreg', which > is now an open source project: > > http://openjdk.java.net/jtreg/ > > Thanks, > Naoto From locale-enhancement-dev at openjdk.java.net Mon Dec 1 15:23:35 2008 From: locale-enhancement-dev at openjdk.java.net (locale-enhancement-dev at openjdk.java.net) Date: Mon, 01 Dec 2008 15:23:35 -0800 Subject: [loc-en-dev] jtreg and build question In-Reply-To: <896f15550812011405w5aa484a1v5f910900450b3b51@mail.gmail.com> References: <896f15550812011405w5aa484a1v5f910900450b3b51@mail.gmail.com> Message-ID: <493471F7.9030408@Sun.COM> Douglas Felt wrote: > Thanks Naoto. > > I've downloaded jtreg and verified that I can use it to test changes > to Locale.java. > > I have two more questions, if you don't mind. > > 1) jtreg takes about five minutes to run the 13 Locale tests, which > I'd like to run quickly as a sanity check. I suspect there's a better > way to invoke it than the ways I have tried. Currently I cd to the > root of my local jdk7 repo and try this > > ../jtreg/linux/bin/jtreg -jdk:build/linux-i586 test/java/util/Locale > > or this > > ../jtreg/linux/bin/jtreg -jdk:build/linux-i586 -dir:test/java/util/Locale . > > or this > > cd test/java/util/Locale > ~/openjdk/jtreg/linux/bin/jtreg -jdk:../../../../build/linux-i586 . > > All report on the 13 tests I ran as well as the 3,000+ tests I > skipped. I expect scanning all the tests is what's taking up all the > time. There must be a way to restrict the scan to only one (or a few) > subdirectories. Is there? Hmm. When I execute the tests specifying the target directory, I only get results only for tests under that directory (in this case, those 13 tests under test/java/util/Locale). I haven't used the open source version of 'jtreg' yet, so there could be some differences. > > 2) recompiling also takes a long time. currently to build the > fastdebug target I need to start from the root makefile under > jdk/make. I can build the 'all' target under jdk/java/make, but I'd > prefer to build everything with the same options. Is there a > combination of location and target that is better for quick rebuilds? I usually run 'gnumake' under jdk/make/java/java to build Locale.java, which finishes pretty quickly. > > On the other hand, Locale is such as basic class that it might be > better to just rebuild everything all the time. Unlike the classes in java.lang, such as Character which is built quite early in the build process and affects other areas, Locale is pretty much safe for just building itself. Not 100% sure, though. BTW, the 'From' field of this list always is 'locale-enhancement-dev at openjdk.java.net'. This can be set to the poster's address by disabling the 'anonymous_list' general option. HTH, Naoto > > What do the Sun i18n folks do? > > Doug > > On Mon, Dec 1, 2008 at 11:33 AM, Naoto Sato wrote: >> Hi Doug, >> >> Thank you for bootstrapping the project! >> >> As to the test harness, I believe that you are referring to 'jtreg', which >> is now an open source project: >> >> http://openjdk.java.net/jtreg/ >> >> Thanks, >> Naoto -- Naoto Sato From dougfelt at google.com Mon Dec 1 15:33:08 2008 From: dougfelt at google.com (Doug Felt) Date: Mon, 1 Dec 2008 15:33:08 -0800 Subject: [loc-en-dev] test Message-ID: <146f39a80812011533k1dbd9dbex51f909a1a33b54d4@mail.gmail.com> test -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/locale-enhancement-dev/attachments/20081201/2e4e387b/attachment.html From y.umaoka at gmail.com Tue Dec 2 12:59:37 2008 From: y.umaoka at gmail.com (Yoshito Umaoka) Date: Tue, 02 Dec 2008 15:59:37 -0500 Subject: [loc-en-dev] external project site page Message-ID: <4935A1B9.7050703@gmail.com> I created a new google site for this project . The google doc page previously contained the initial design proposal was moved to a page in this site . -Yoshito From dougfelt at google.com Thu Dec 4 16:45:34 2008 From: dougfelt at google.com (Doug Felt) Date: Thu, 4 Dec 2008 16:45:34 -0800 Subject: [loc-en-dev] repository created Message-ID: <146f39a80812041645iaa19440lf928f7d5f670392d@mail.gmail.com> I pushed b40 of jdk7/jdk7/jdk to locale-enhancement/locale-enhancement on openjdk. There was a bit of a hiccup with the push but it seems to have completed ok. I have yet to pull it into a local repo to verify. Please remember that this is not a full forest but just the jdk. You will need a bootstrap copy of jdk7 to build it. Right now, of course, there's no point since it's just a copy of jdk7. Doug -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/locale-enhancement-dev/attachments/20081204/2881ded2/attachment.html