Re: [classlib] Intention to work on java.lang.instrument

2006-08-01 Thread Jimmy, Jing Lv
Leo Li wrote: On 7/31/06, Gregory Shimansky [EMAIL PROTECTED] wrote: 2006/7/31, Jimmy, Jing Lv [EMAIL PROTECTED]: Besides, Harmony VM now has actually support the feature of JVMTI on which we can implement instrument. Ah, can it work now? It'll be great convenient if so.

Re: [classlib] ldap

2006-08-01 Thread Richard Liang
Hello Daniel, Glad to know you are working on JNDI. As far as I know, the package is still incomplete (No JNDI-ldap development discussion in mailing list before :-) ). You may want to refer to this wiki page: http://wiki.apache.org/harmony/component_development_status Thanks a lot. Best

Re: [general]Snapshot cannot work on Win2K

2006-08-01 Thread Aleksey Ignatenko
Hi, it looks like your friend needs to install Microsoft Platform SDK on his PC . Another solution is to download and update version of dbghelp library from msdn site. I didn't check the second solution. If you don't not succeed for some reason, simply modify nt_exception_filter.cpp file

Re: [classlib] ldap

2006-08-01 Thread George Harley
Hi Daniel, I don't think that there is any special reason for the absence of the classes you mention; the package looks to be incomplete because of lack of time. So far as I am aware there is no one actively working in this area so any contributions you could make would be a terrific help to

Re: [general]Snapshot cannot work on Win2K

2006-08-01 Thread Paulex Yang
I've tried to update dbghelp yesterday, but it didn't work, will try after installing Platform SDK soon. Thank you very much, Aleksey. Aleksey Ignatenko wrote: Hi, it looks like your friend needs to install Microsoft Platform SDK on his PC . Another solution is to download and update version

Re: [classlib][nio-charset] RI is inconsistent with spec when loading charset provider

2006-08-01 Thread Richard Liang
Andrew Zhang wrote: On 7/31/06, Mikhail Fursov [EMAIL PROTECTED] wrote: On 7/31/06, Andrew Zhang [EMAIL PROTECTED] wrote: Shall we follow RI or spec? I'd like to suggest follow RI for this specific case, because: 1. If we follow spec, it may cause legacy applications fail. I do not

Re: [testing] metadata approach

2006-08-01 Thread Alexei Zakharov
Hi Alex, some ways we can achieve this. Do we want to finish deciding that before the migration, or are we confident that we will get to a point where a decision is made and we can start transitioning beforehand? Well, IMHO adding some extra javadoc tag will not break anything. There are

Re: [testing] metadata approach

2006-08-01 Thread Richard Liang
Alexei Zakharov wrote: Hi, I have created this new thread as a single place for discussions started in Re: [testing] Peace and [classlib] Testing conventions – a proposal threads. What did we have in the previous threads? * Test classification proposed by Vladimir * Test classification and

Re: [general]Snapshot cannot work on Win2K

2006-08-01 Thread Salikh Zakirov
Aleksey Ignatenko wrote: Hi, it looks like your friend needs to install Microsoft Platform SDK on his PC . Another solution is to download and update version of dbghelp library from msdn site. I vaguely remember that Microsoft license allows to include dbghelp.dll to binary distributions.

Re: [classlib][java.math] combination of math packages

2006-08-01 Thread Vladimir Strigun
Daniel, Thank you for the new optimized version. We've analyzed your version and found it's very good. We can accept you version as default for Harmony but we'd like to add some improvements. :) I've updated H-935 and attach diffs for your code. We added optimization for small BigDecimal's

[classlib][text] Bidi returns directional runs in visual order rather than in logical

2006-08-01 Thread Ivanov, Alexey A
Hi all. Harmony implementation of java.text.Bidi returns directional runs (getRunStart(), getRunLimit(), getRunLevel()) in visual order if paragraph reading order is Right-to-Left. I mean the first run is at the end of character buffer, and the last is at the beginning. I'd expect directional

Re: [testing] metadata approach

2006-08-01 Thread Alexei Zakharov
Hi Richard, Not sure if we really want to involve another migration: TestNG javadoc - TestNG annotation. Any comments? Well, IMHO this depends on time constraints - when do we plan to have the support for anotations? If the answer is about a couple of weeks - no problem, we can wait. But if

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

2006-08-01 Thread Alexei Zakharov
Anton, I have no objections here, just thinking about Harmony-hosted Harmony web site - it can become really good self explanatory reliability test. Not today, I agree. But may be some day. With Regards, 2006/8/1, Anton Luht [EMAIL PROTECTED]: Hello Alexei, I believe that there are more

Re: [rant] Memory options in VM -- why is the default not 'unlimited'

2006-08-01 Thread Gregory Shimansky
On Tuesday 01 August 2006 01:53 Alex Blewitt wrote: On 31/07/06, Salikh Zakirov [EMAIL PROTECTED] wrote: Alex Blewitt wrote: Don't get me wrong; being able to specify minimum/maximum is a reasonable idea for optimising a VM if you know what to put; but by default, there shouldn't be

[performance] performance measurement of HDK

2006-08-01 Thread Vladimir Strigun
Our project is now in a good shape and we started encouraging people to try real applications on top of Harmony. One of the important parts of the feedback will be general impression of stability, reliability and performance of the HDK. We are doing pretty good in fixing bugs and developing new

[tools] [patch] Modifications to harmony eclipse plugin to make it work with DRLVM

2006-08-01 Thread Salikh Zakirov
Hi, I have been reviewing the DRLVM JIRA issues, and came across HARMONY-699 [DRLVM] modification to eclipse plugin should be applied to plugin itself So I took the hyplugin.patch from DRLVM distribution and applied the changes to plugin source tree, taking into account, that DRLVM executable

Re: [classlib] Uncertain behavior of new Socket(0.0.0.0, 1099);

2006-08-01 Thread Alexey Petrenko
I've attached a fix for this issue. SY, Alexey 2006/7/21, Victor A Martynov [EMAIL PROTECTED]: Hello Geir, I created new JIRA: HARMONY-946 on this issue. = Warm Regards, Victor Martynov, Intel Middleware Product Division On 7/20/06, Geir Magnusson Jr [EMAIL PROTECTED] wrote: We

Re: [rant] Memory options in VM -- why is the default not 'unlimited'

2006-08-01 Thread Xiao-Feng Li
On 8/1/06, Gregory Shimansky [EMAIL PROTECTED] wrote: There is a method Runtime.freeMemory() which returns the memory available in the heap. I wonder what it should return when there is no limit. Some applications may rely on the value which this method returns. Just returning Long.MAX_VALUE

[doc]proposal to improve and expand website

2006-08-01 Thread Morozova, Nadezhda
Geir, all, I have thought that I could contribute by brushing up and expanding some of the pages on the Harmony website. My first attempt has been to edit the FAQ section, see JIRA issue 1032 [1]. Another thing I could do is to add content to the DRLVM page (a newly added page with no content

Re: [rant] Memory options in VM -- why is the default not 'unlimited'

2006-08-01 Thread Dalibor Topic
On Tue, Aug 01, 2006 at 10:39:03PM +0800, Xiao-Feng Li wrote: On 8/1/06, Gregory Shimansky [EMAIL PROTECTED] wrote: There is a method Runtime.freeMemory() which returns the memory available in the heap. I wonder what it should return when there is no limit. Some applications may rely on

Re: [rant] Memory options in VM -- why is the default not 'unlimited'

2006-08-01 Thread will pugh
How did Kaffe deal with SoftReferences? Did they ever go away when you did not have a memory limit? Dalibor Topic wrote: On Tue, Aug 01, 2006 at 10:39:03PM +0800, Xiao-Feng Li wrote: On 8/1/06, Gregory Shimansky [EMAIL PROTECTED] wrote: There is a method Runtime.freeMemory() which

Re: [performance] performance measurement of HDK

2006-08-01 Thread Anton Luht
Vladimir, I've found some more Java benchmarks in bookmarks, maybe some of them will be interesting sor someone. - Richards and deltaBlue [1] - first simulates the task dispatcher in the kernel of an operating system, second is constraint solver benchmark in the Java programming language. -

[DRLVM/MMTk] remaining vmmagic bugs in jitrino.jet

2006-08-01 Thread Weldon Washburn
All, I added a bunch of missing regression tests. The only ones missing at this point are the atomic operations. The regression tests are currently in the process of being donated. Thus I can't simply post these tests to Harmony JIRA :( In any case below are the current tests that fail when

Re: [rant] Memory options in VM -- why is the default not 'unlimited'

2006-08-01 Thread Chris Gray
On Tuesday 01 August 2006 18:07, will pugh wrote: How did Kaffe deal with SoftReferences? Did they ever go away when you did not have a memory limit? Why are we discussing Kaffe in the past tense? -- Chris Gray/k/ Embedded Java Solutions BE0503765045 Embedded Mobile Java, OSGi

RE: [rant] Memory options in VM -- why is the default not 'unlimited'

2006-08-01 Thread Magnusson, Geir
-Original Message- From: Chris Gray [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 01, 2006 3:16 PM To: harmony-dev@incubator.apache.org Subject: Re: [rant] Memory options in VM -- why is the default not 'unlimited' On Tuesday 01 August 2006 18:07, will pugh wrote: How did

Re: [rant] Memory options in VM -- why is the default not 'unlimited'

2006-08-01 Thread will pugh
Yes. I apologize. I stated it in the past because the issue was resolved in the past. More precise english probably would have been either: How did Kaffe decide to deal with SoftReferences? or How does Kaffe deal with SoftReferences? Although, still interested in the answer to either of

Re: [performance] performance measurement of HDK

2006-08-01 Thread Stefano Mazzocchi
Vladimir Strigun wrote: Our project is now in a good shape and we started encouraging people to try real applications on top of Harmony. One of the important parts of the feedback will be general impression of stability, reliability and performance of the HDK. We are doing pretty good in

Re: [classlib][html] Should we try to be binary compatible with Sun's bdtd?

2006-08-01 Thread Diego Mercado
HARMONY-948 has a serialized dtd file called transitional401.bdtd. When I try to read it by calling DTD.read(DataInputStream) I get a java.io.EOFException. But, on the other hand, when I create a binary DTD by calling DTDUtilities.create(String) I can get it with succeed. How can I read

Re: [classlib] Intention to work on java.lang.instrument

2006-08-01 Thread Leo Li
On 8/1/06, Gregory Shimansky [EMAIL PROTECTED] wrote: On Tuesday 01 August 2006 09:47 Leo Li wrote: I agree with this approach. Do you know which API functions and events you will need for such agent? Hi, we will need VM Initialization Event to run premain functions and Class File Load

Re: [testing] metadata approach

2006-08-01 Thread Richard Liang
Alexei Zakharov wrote: Hi Richard, Not sure if we really want to involve another migration: TestNG javadoc - TestNG annotation. Any comments? Well, IMHO this depends on time constraints - when do we plan to have the support for anotations? If the answer is about a couple of weeks - no

Re: AWT 2D PERFORMANCE ISSUE

2006-08-01 Thread Paulex Yang
Ivanov, Alexey A wrote: -Original Message- From: Igor Stolyarov [mailto:[EMAIL PROTECTED] Sent: Friday, July 28, 2006 1:04 PM To: harmony-dev@incubator.apache.org Subject: Re: AWT 2D PERFORMANCE ISSUE I think using WeakReference and ReferenceQueue can't help because according

Re: [Portlib]Proposal to extend portlib with enhanced mmap functions:

2006-08-01 Thread Paulex Yang
Thank you for all your attention on this:), because seems no one objects, I'm going to assign HARMONY-982 to myself, and start to extend the portlib. Paulex Yang wrote: Sorry I forgot to add the prefix just now. Paulex Yang wrote: Hi, all I raise HARMONY-982

[classlib] Plan on work on java.lang.instrument

2006-08-01 Thread Jimmy, Jing Lv
Hi, If no objection, I shall go on with the plan of instrument :) Refer to Harmony status page[1], INSTRUMENT is missing, so this module shall named as instrument. I shall open a wiki-page for its status like other modules on [2]. For Java codes, API classes/interfaces can be

Re: [classlib] Plan on work on java.lang.instrument

2006-08-01 Thread Stepan Mishura
On 8/2/06, Jimmy, Jing Lv wrote: Hi, If no objection, I shall go on with the plan of instrument :) Refer to Harmony status page[1], INSTRUMENT is missing, so this module shall named as instrument. I shall open a wiki-page for its status like other modules on [2]. For Java codes,

Re: [classlib][nio-charset] RI is inconsistent with spec when loading charset provider

2006-08-01 Thread Stepan Mishura
On 8/1/06, Richard Liang wrote: Andrew Zhang wrote: On 7/31/06, Mikhail Fursov [EMAIL PROTECTED] wrote: On 7/31/06, Andrew Zhang [EMAIL PROTECTED] wrote: Shall we follow RI or spec? I'd like to suggest follow RI for this specific case, because: 1. If we follow spec, it may

Re: [classlib] Plan on work on java.lang.instrument

2006-08-01 Thread Geir Magnusson Jr
It is a lang package, right? Stepan Mishura wrote: On 8/2/06, Jimmy, Jing Lv wrote: Hi, If no objection, I shall go on with the plan of instrument :) Refer to Harmony status page[1], INSTRUMENT is missing, so this module shall named as instrument. I shall open a wiki-page for its

Re: [Portlib]Proposal to extend portlib with enhanced mmap functions:

2006-08-01 Thread Geir Magnusson Jr
Sorry I didn't reply sooner. Have fun :) geir Paulex Yang wrote: Thank you for all your attention on this:), because seems no one objects, I'm going to assign HARMONY-982 to myself, and start to extend the portlib. Paulex Yang wrote: Sorry I forgot to add the prefix just now. Paulex

Re: AWT 2D PERFORMANCE ISSUE

2006-08-01 Thread Igor Stolyarov
Thank you Paulex, may be it is that what is needed. -- Igor V. Stolyarov Intel Middleware Products Division

Re: [classlib] Plan on work on java.lang.instrument

2006-08-01 Thread Stepan Mishura
Yes, it is. But accoriding to [1] the code should be put into separate 'instrument' module. So the patch should start with 'modules/'instrument'. Thanks, Stepan. [1]http://wiki.apache.org/harmony/componentization On 8/2/06, Geir Magnusson Jr wrote: It is a lang package, right? Stepan

Re: [performance] performance measurement of HDK

2006-08-01 Thread Geir Magnusson Jr
Vladimir Strigun wrote: Our project is now in a good shape and we started encouraging people to try real applications on top of Harmony. One of the important parts of the feedback will be general impression of stability, reliability and performance of the HDK. We are doing pretty good in

Re: [classlib] Plan on work on java.lang.instrument

2006-08-01 Thread Geir Magnusson Jr
Never appeal to me using a Wiki as an authority :) It's like finding something written in chalk on the sidewalk. However, if you had pointed out http://incubator.apache.org/harmony/auth_cont_quest.html I'd have agreed w/o having the opportunity to make fun of the Wiki. So I agree :) geir

Re: [classlib] Plan on work on java.lang.instrument

2006-08-01 Thread Jimmy, Jing Lv
Stepan Mishura wrote: Yes, it is. But accoriding to [1] the code should be put into separate 'instrument' module. So the patch should start with 'modules/'instrument'. Ah ... you are right, thanks very much Stepan! :) So I shall put code to modules/ instrument/

Re: [doc]proposal to improve and expand website

2006-08-01 Thread Geir Magnusson Jr
Morozova, Nadezhda wrote: Geir, all, I have thought that I could contribute by brushing up and expanding some of the pages on the Harmony website. My first attempt has been to edit the FAQ section, see JIRA issue 1032 [1]. Patch applied and committed Another thing I could do is to

Re: [tools] [patch] Modifications to harmony eclipse plugin to make it work with DRLVM

2006-08-01 Thread Geir Magnusson Jr
Great. Can you augment this to be applied to a copy of the launcher code we'll keep in the DRLVM tree? And maybe a simpler buildfile that isn't a part of the DRLVM build infrastructure? (which we want to get away from...) geir Salikh Zakirov wrote: Hi, I have been reviewing the DRLVM JIRA

Re: [general]Snapshot cannot work on Win2K

2006-08-01 Thread Geir Magnusson Jr
Why is it needed? Clearly something is wrong w/ the binary snapshot, which is supposed to be a release build... geir Salikh Zakirov wrote: Aleksey Ignatenko wrote: Hi, it looks like your friend needs to install Microsoft Platform SDK on his PC . Another solution is to download and

Re: [classlib] Plan on work on java.lang.instrument

2006-08-01 Thread Jimmy, Jing Lv
Stepan Mishura wrote: On 8/2/06, Jimmy, Jing Lv wrote: Hi, If no objection, I shall go on with the plan of instrument :) Refer to Harmony status page[1], INSTRUMENT is missing, so this module shall named as instrument. I shall open a wiki-page for its status like other modules on

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

2006-08-01 Thread Geir Magnusson Jr
Anton Luht wrote: Hello, I know why this thread is so lazy - it's because everybody dislikes QA testing :) OK, now let me add my $0.02 about my vision about reporting of test results. I believe it's better to do this using HTTP rather than mail because some people may not have access

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

2006-08-01 Thread Geir Magnusson Jr
Anton Luht wrote: Hello Alexei, I believe that there are more installations that can execute CGI than those that can run servlets. I'm sure that for the first time the test infrastructure will be deployed to an existing installation but not to a dedicated server - that's why I decided

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

2006-08-01 Thread Geir Magnusson Jr
Alexei Zakharov wrote: Anton, I have no objections here, just thinking about Harmony-hosted Harmony web site - it can become really good self explanatory reliability test. Not today, I agree. But may be some day. Well, I have objections if I understand things correctly. There is no

Re: [classlib] Plan on work on java.lang.instrument

2006-08-01 Thread Jimmy, Jing Lv
Jimmy, Jing Lv wrote: Stepan Mishura wrote: On 8/2/06, Jimmy, Jing Lv wrote: Hi, If no objection, I shall go on with the plan of instrument :) Refer to Harmony status page[1], INSTRUMENT is missing, so this module shall named as instrument. I shall open a wiki-page for its status