Re: [build-test-infra] Build Test Infrastructure

2006-09-05 Thread Anton Luht
Hello, Seems like nobody is using this test results storage - the problem may be that it has very few features. I'm going to implement something I think will be useful - please make comments if you have any. Features are: - autorization - authorized users can modify tests results, for example, l

[OT] Wanna be portable, huh?

2006-09-05 Thread Alexey Varlamov
Nice saga, quite inspiring: http://inside-swt.blogspot.com/2006/07/how-does-anything-work.html We believe in our future, let it be Harmony! ;) - Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-ma

Re: [result] Re: [vote] HARMONY-1225 : Assorted fixes and enhancements for AWT and Swing

2006-09-05 Thread Mikhail Loenko
Seems like a new patch is a better way. If apply it as is then some tests fail some hang up... Thanks, Mikhail 2006/8/31, Geir Magnusson Jr. <[EMAIL PROTECTED]>: Well, that's 3 days :) +1 from geir, alexey, vladimir, Ilya, the other alexey, sergey, mark, oleg, paulex, mikhail, kenny, no oth

Re: [drlvm] DRLVM, jre/bin/default and launcher

2006-09-05 Thread Evgueni Brevnov
Hi Geir, It seems not all of us are able to see my attachments :-( I've created new jira HARMONY-1390 with attachments. Thanks Evgueni. On 9/6/06, Evgueni Brevnov <[EMAIL PROTECTED]> wrote: HI All, Good news! I have a patch to run DRLVM with the classlib's launcher (I've checked Hello and Ecl

[DRLVM][JIT] can Jitrino.JET call MMTk alloc() instead of C helper?

2006-09-05 Thread Weldon Washburn
A question for Jitrino.JET developers. How hard would it be to modify the existing Jitrino.JET code so that the "new" opcode calls MMTk alloc()? Thanks -- Weldon Washburn Intel Middleware Products Division

[DRLVM][GC] MMTk w/ Jitrino.JET write barrier now pass simple tests

2006-09-05 Thread Weldon Washburn
Using MMTk's GenMS collector, I was able to cause an object to be promoted to mature generation. Then write the ref ptr of nursery object "X" in a slot of the mature object. This caused the write barrier to add the mature object to the remembered set. Then a bunch of throw away objects were al

Re: [DRLVM][GC] MMTk port now ready for write barrier integration

2006-09-05 Thread Weldon Washburn
On 9/4/06, Ivan Volosyuk <[EMAIL PROTECTED]> wrote: Weldon, what is the "user-mode"? Thanks for asking. Basically I call MMTk's object alloc() routine from java application code instead of from DRLVM JIT runtime helper. I use vmmagic to patch up stuff. The trick is to hide the objects all

Re: [drlvm]A subject to profiling instrumenting

2006-09-05 Thread zouqiong
Hi, Mikhail: Ok, I will put my diffs to the JIRA later. And I have solved the issue I asked two days ago. I want to know how to use the option -Xdumpfile, It needs liblwdis.sosupporting. If it need to be written by ourselves, I will finish it. If not, could you please tell me where can I get it

Re: [jira] Assigned: (HARMONY-1297) Dependencies for awt native libraries

2006-09-05 Thread Geir Magnusson Jr.
Mikhail Loenko wrote: Alexey I think putting some third-party code into JIRA and downloading it on the fly when build means that we redistribute that third-party code. We intenationally do it for yoko.jar, because we've discussed here that we host it. My question is: did we discussed her

Re: [doc] no images on website pages

2006-09-05 Thread Geir Magnusson Jr.
Morozova, Nadezhda wrote: Best regards, Nadya Morozova Folks, I have just submitted a patch that fixing the conflict in styles on the website [1]. When doing this, I noticed another issue with the docs deployed: There are no images! The image files used in individual documents are st

Re: [drlvm] DRLVM, jre/bin/default and launcher

2006-09-05 Thread Evgueni Brevnov
HI All, Good news! I have a patch to run DRLVM with the classlib's launcher (I've checked Hello and Eclipse applications on Windows only). Actually, there are two patches. The first one is for classlib which changes vm default directory to drlvm. The second one is for build system and VM itself.

Re: [classlib][text] ChoiceFormat pattern parser compatibility

2006-09-05 Thread Richard Liang
Wow, How many examples do you have? ;-) As ChoiceFormat is a "format engine", it's impossible to list all the exceptional cases. IMHO, maybe we could 1) *guess* the rules behind RI's strange behavior by adding more test cases. 2) try our best to implement the rules of RI. 3) And then, leave this

Re: [jira] Assigned: (HARMONY-1297) Dependencies for awt native libraries

2006-09-05 Thread Mikhail Loenko
Alexey I think putting some third-party code into JIRA and downloading it on the fly when build means that we redistribute that third-party code. We intenationally do it for yoko.jar, because we've discussed here that we host it. My question is: did we discussed here that we redistribute 3rd-pa

[doc] no images on website pages

2006-09-05 Thread Morozova, Nadezhda
Best regards, Nadya Morozova Folks, I have just submitted a patch that fixing the conflict in styles on the website [1]. When doing this, I noticed another issue with the docs deployed: There are no images! The image files used in individual documents are stored in the SVN repository at t

Re: [drlvm]A subject to profiling instrumenting

2006-09-05 Thread Mikhail Fursov
Hi Qiong, What do you think about putting your diffs to the JIRA? Doing this way we can write and test the code together? Apache gurus, is JIRA the standard tool to simulate SVN branching for developers that are not commiters? Should we gain some success in a feature implementation before we get

Re: [DRLVM] GC heap verification infrastructure

2006-09-05 Thread Ivan Volosyuk
+1 from me. Another (better) approach would be to write a REMSET sanity checker. When enabled by a command-line switch it would inject an extra phase into the GC phase list (like the existing sanity checker does), and before a nursery collection it would: - do a full-heap trace, using private s

Re: [drlvm] Cleaning insides of Class.h header

2006-09-05 Thread Alexey Varlamov
+1 for cleanup, I could even assist you. Please also consider possible dependency on issue #1363. -- Regards, Alexey 2006/9/5, Pavel Pervov <[EMAIL PROTECTED]>: It's been long time this discussion stopped. This may mean three things: - first, everyone agrees this should be done and I'm ok to pr

Re: [classlib] [testing] Coverage (was Re: 37% of total test execution time is spent in a single test)

2006-09-05 Thread Vladimir Ivanov
The coverage information was updated on the wiki to current state. thanks, Vladimir

Re: [classlib][text] ChoiceFormat pattern parser compatibility

2006-09-05 Thread Denis Kishenko
One more example of strange RI behaviour - import java.text.*; public class Test { static void test(String pattern) { System.err.print("[" + pattern + "] "); try { System.err.println(new ChoiceFormat(pattern).to

Re: [drlvm] Cleaning insides of Class.h header

2006-09-05 Thread Pavel Pervov
It's been long time this discussion stopped. This may mean three things: - first, everyone agrees this should be done and I'm ok to provide consecutive patches; - second, noone clearly understand the purpose of what is suggested to do; if this is the case, do not hesitate to ask (again?); - third,

Re: [classlib][text] ChoiceFormat pattern parser compatibility

2006-09-05 Thread Richard Liang
On 9/5/06, Denis Kishenko <[EMAIL PROTECTED]> wrote: People what do you think about HARMONY-1110? Problem is we have to reproduce behavior of ChoiceFormat pattern parser without specification. There is only one example in Java doc which doesn't allow understand when RI assumes that pattern is in

Re: [classlib][logging] a test suite shouldn't touch any of JRE config files!!!

2006-09-05 Thread Stepan Mishura
On 9/5/06, Paulex Yang wrote: Stepan Mishura wrote: > Paulex, thanks for your patience and answers. > > Yes, Sun's JRE sets root logger's level according to > 'lib/logging.properties'. Also specifying the level for root logger in > j.u.l.config.file doesn't help. (I assumed before that a JRE res

Re: [classlib][logging] a test suite shouldn't touch any of JRE config files!!!

2006-09-05 Thread Paulex Yang
Stepan Mishura wrote: Paulex, thanks for your patience and answers. Yes, Sun's JRE sets root logger's level according to 'lib/logging.properties'. Also specifying the level for root logger in j.u.l.config.file doesn't help. (I assumed before that a JRE respects my "lovely" custom LogManager sett

Re: [classlib][logging] a test suite shouldn't touch any of JRE config files!!!

2006-09-05 Thread Stepan Mishura
On 9/5/06, Paulex Yang wrote: Stepan Mishura wrote: > On 9/4/06, *Paulex Yang* wrote: > > Stepan Mishura wrote: > > On 9/1/06, Paulex Yang wrote: > >> > >> Stepan Mishura wrote: > >> > Hi Andrew, > >> > > >> > I've just looked into static initialization block and then

Re: [jira] Updated: (HARMONY-1334) [classlib][internationalization]Internationalization of the sound module

2006-09-05 Thread Ilya Okomin
Ooops...I've seen your comments that you've already removed these changes in jira a bit later. I'll take a look at the applied patch results today. Regards, Ilya. On 9/5/06, Ilya Okomin <[EMAIL PROTECTED]> wrote: Yep, you are right, we can left such messages without internationalization. I m

Re: [jira] Updated: (HARMONY-1334) [classlib][internationalization]Internationalization of the sound module

2006-09-05 Thread Ilya Okomin
Yep, you are right, we can left such messages without internationalization. I made this automatically. Thanks for pointing this Mikhail, I'll update the patch. Regards, Ilya. On 9/5/06, Mikhail Loenko <[EMAIL PROTECTED]> wrote: Ilya Does it make sense? -throw new Error("not yet

Re: [classlib][security] Exception compatibility

2006-09-05 Thread Boris Kuznetsov
BC provider throws the same exceptions as SUN provider (at least for standard digest alg. names: SHA, MD2, MD5, SHA-256, SHA-384, SHA-512). But what about other third party providers? On 9/5/06, Mikhail Loenko <[EMAIL PROTECTED]> wrote: IMHO we should look from the perspective of migrating the a

[classlib][text] ChoiceFormat pattern parser compatibility

2006-09-05 Thread Denis Kishenko
People what do you think about HARMONY-1110? Problem is we have to reproduce behavior of ChoiceFormat pattern parser without specification. There is only one example in Java doc which doesn't allow understand when RI assumes that pattern is incorrect. Thanks -- Denis M. Kishenko Intel Middlewar

Re: [classlib][security] Exception compatibility

2006-09-05 Thread Mikhail Loenko
let's talk about it on a different thread 2006/9/5, Denis Kishenko <[EMAIL PROTECTED]>: By the way, people what do you think about HARMONY-1110? Problem is we have to reproduce behavior of pattern parser without specification. There is only one example in Java doc which doesn't allow understand

Re: [jira] Updated: (HARMONY-1334) [classlib][internationalization]Internationalization of the sound module

2006-09-05 Thread Mikhail Loenko
Ilya Does it make sense? -throw new Error("not yet implemented"); +// sound.00=not yet implemented +throw new Error(Messages.getString("sound.00")); //$NON-NLS-1$ Thanks, Mikhail 2006/9/4, Ilya Okomin (JIRA) <[EMAIL PROTECTED]>: [ http://issues.apache.o

Re: [classlib][security] Exception compatibility

2006-09-05 Thread Denis Kishenko
By the way, people what do you think about HARMONY-1110? Problem is we have to reproduce behavior of pattern parser without specification. There is only one example in Java doc which doesn't allow understand when pattern is incorrect. 2006/9/5, Denis Kishenko <[EMAIL PROTECTED]>: Boris thank yo

Re: [classlib][logging] A non bug difference from RI?

2006-09-05 Thread Paulex Yang
Stepan Mishura wrote: On 9/1/06, Paulex Yang wrote: Stepan Mishura wrote: > Andrew, thanks for the test. But working test doesn't mean that there > is no > bug :-) > > AFAIK in our case an operation on file (if file is not exist - create > file) > should be atomic. And it looks like Harmony im

Re: [DRLVM] GC heap verification infrastructure

2006-09-05 Thread Robin Garner
Weldon Washburn wrote: On 7/18/06, Volynets, Vera <[EMAIL PROTECTED]> wrote: Hi, I didn't find any bugs in gc_v4 at the moment, Vera, its good to know the verifier found zero bugs in GCV4! but this feature is really very useful especially if you modify gc_v4 or design a new gc. Of course, it

Re: Re: Re: [classlib][TestNG] groups of Harmony test

2006-09-05 Thread Richard Liang
On 9/5/06, Vladimir Ivanov <[EMAIL PROTECTED]> wrote: On 9/5/06, Andrew Zhang <[EMAIL PROTECTED]> wrote: ... > > > How to define platform? Get platform information in test code? > > > > > > Yes. It is just one line of code. For example, from Support_Exec.java > > class: > > boolean onUnix = Fil

Re: [classlib][security] Exception compatibility

2006-09-05 Thread Mikhail Loenko
IMHO we should look from the perspective of migrating the apps. So let's try to make behavior of "Harmony + BC provider" close to "Sun + Sun's provider" If without the checks the combination Harmony+BC works similar to Sun+Sun's provider, then let's remove the checks. Otherwise let's keep it to

Re: Re: Re: [classlib][TestNG] groups of Harmony test

2006-09-05 Thread Vladimir Ivanov
On 9/5/06, Andrew Zhang <[EMAIL PROTECTED]> wrote: ... > > How to define platform? Get platform information in test code? > > > Yes. It is just one line of code. For example, from Support_Exec.java > class: > boolean onUnix = File.separatorChar == '/'; Yes, it does work sometimes, but ... Ho

Re: [classlib][security] Exception compatibility

2006-09-05 Thread Denis Kishenko
Boris thank you for your question. I asked myself the same question and choose the same answer as you. Unfortunately as people wrote above we were wrong and they are reasonable. I have already written patch for HARMONY-1120 to follow RI behavior. 2006/9/5, Stepan Mishura <[EMAIL PROTECTED]>: On

Re: [classlib][logging] a test suite shouldn't touch any of JRE config files!!!

2006-09-05 Thread Stepan Mishura
On 9/5/06, Paulex Yang wrote: Stepan Mishura wrote: > On 9/4/06, *Paulex Yang* wrote: > > Stepan Mishura wrote: > > On 9/1/06, Paulex Yang wrote: > >> > >> Stepan Mishura wrote: > >> > Hi Andrew, > >> > > >> > I've just looked into static initialization block and then