Re: OPEN Specification

2006-05-31 Thread Anton Luht
Etienne, I didn't mean that every Harmony JVM should follow OPEN interface. It is not necessary to implement but maybe JVMs can benefit from following it (or any kind of standard interface accepted by the community). It is just a proposal with some simple ideas behind it: First, JVM should be

Re: [VOTE] Acceptance of HARMONY-438 : DRL Virtual Machine Contribution

2006-05-31 Thread Mark Hindess
+1 -Mark On 30 May 2006 at 20:06, Geir Magnusson Jr [EMAIL PROTECTED] wrote: I have received the ACQs and the BCC for Harmony-438, so I can assert that the critical provenance paperwork is in order and in SVN. Please vote to accept or reject this codebase into the Apache Harmony class

Re: [VOTE] Acceptance of HARMONY-438 : DRL Virtual Machine Contribution

2006-05-31 Thread Enrico Migliore
+ 1 I have received the ACQs and the BCC for Harmony-438, so I can assert that the critical provenance paperwork is in order and in SVN. Please vote to accept or reject this codebase into the Apache Harmony class library : [ ] + 1 Accept [ ] -1 Reject (provide reason below) Lets let this

Re: [VOTE] Acceptance of HARMONY-438 : DRL Virtual Machine Contribution

2006-05-31 Thread Oliver Deakin
+1 Geir Magnusson Jr wrote: I have received the ACQs and the BCC for Harmony-438, so I can assert that the critical provenance paperwork is in order and in SVN. Please vote to accept or reject this codebase into the Apache Harmony class library : [ ] + 1 Accept [ ] -1 Reject (provide

Re: [classlib] internationalization (was: Re: svn commit: r407780 - in /incubator/harmony/enhanced/classlib/trunk/modules/archive/src: main/java/java/util/jar/Attributes.java test/java/org/apache/harm

2006-05-31 Thread Mikhail Loenko
2006/5/25, Tim Ellison [EMAIL PROTECTED]: Mikhail Loenko wrote: We also agreed to put only internationalized messages and to have a single catalog by module. Yep, that's a good task for somebody who is looking for a simple way to contribute to Harmony's classlibs. If anyone wants to

Re: [VOTE] Acceptance of HARMONY-438 : DRL Virtual Machine Contribution

2006-05-31 Thread Paulex Yang
+1 Geir Magnusson Jr wrote: I have received the ACQs and the BCC for Harmony-438, so I can assert that the critical provenance paperwork is in order and in SVN. Please vote to accept or reject this codebase into the Apache Harmony class library : [ ] + 1 Accept [ ] -1 Reject (provide

Re: [classlib] internationalization

2006-05-31 Thread Tim Ellison
Mikhail Loenko wrote: 2006/5/25, Tim Ellison [EMAIL PROTECTED]: Mikhail Loenko wrote: We also agreed to put only internationalized messages and to have a single catalog by module. Yep, that's a good task for somebody who is looking for a simple way to contribute to Harmony's classlibs.

Re: JSSE provider contribution

2006-05-31 Thread Tim Ellison
great, thanks Boris. Tim Boris Kuznetsov wrote: Dear all, I would like to announce one more contribution to Harmony on behalf of Intel. The archive with the contribution is uploaded to the following location: http://issues.apache.org/jira/browse/HARMONY-536 This contribution contains

Re: [classlib] millions of rmi tests

2006-05-31 Thread Alexei Zakharov
Hi, Just like to pay your attention on JUnit best practices concerning this topic (in case if you are talking about UNIT tests): http://junit.sourceforge.net/doc/faq/faq.htm#best_2 Especially paragraphs two and three. 2006/5/31, Mikhail Loenko [EMAIL PROTECTED]: Hi Daniel, I think what we

Re: [classlib] millions of rmi tests

2006-05-31 Thread Geir Magnusson Jr
Mikhail Loenko wrote: 2006/5/30, Geir Magnusson Jr [EMAIL PROTECTED]: Mikhail Loenko wrote: It seems that instead of those million test cases we need just a few that would verify that getXXX() methods return what was passed into constructor plus possibly some tests that pass

Re: [classlib] logging from within our implementation

2006-05-31 Thread Geir Magnusson Jr
Chris Gray wrote: It's probably also not a good idea to rely too much on JIT optimisations, given that Harmony should run on a number of VMs and not all of these will have a fully optimising JIT in all circumstances. It should be possible to compile the class libraries with or without

Re: [classlib] internationalization

2006-05-31 Thread Alex Blewitt
Not sure if it's particularly relevant, but the piece on Eclipse performance bloopers is a good read: http://www.eclipse.org/eclipse/development/performance/bloopers.html Specifically, it mentions items to do with using string keys, the dangers of using substring() and why they created their

Re: [classlib] logging from within our implementation

2006-05-31 Thread Geir Magnusson Jr
Alex Blewitt wrote: They removed the debugging statements, and it ran so fast that they discovered all kinds of race conditions that they hadn't designed for. So they had to put the debugging statements back in to slow it down before shipping it to the customer :-) Mind you, I expect that

Re: [classlib] millions of rmi tests

2006-05-31 Thread Geir Magnusson Jr
Mikhail Loenko wrote: 2006/5/31, Geir Magnusson Jr [EMAIL PROTECTED]: Are there really 5000+ tests against *one* CTOR? [SNIP] I did not review all the 5000+ tests manually. I'm actually very happy to hear that. geir

Re: [classlib] millions of rmi tests

2006-05-31 Thread Thorbjørn Ravn Andersen
Alexei Zakharov skrev den 31-05-2006 11:50: Hi, Just like to pay your attention on JUnit best practices concerning this topic (in case if you are talking about UNIT tests): http://junit.sourceforge.net/doc/faq/faq.htm#best_2 Especially paragraphs two and three. If I understand this correctly

Re: [VOTE] Acceptance of HARMONY-438 : DRL Virtual Machine Contribution

2006-05-31 Thread Weldon Washburn
+1 On 5/30/06, Geir Magnusson Jr [EMAIL PROTECTED] wrote: I have received the ACQs and the BCC for Harmony-438, so I can assert that the critical provenance paperwork is in order and in SVN. Please vote to accept or reject this codebase into the Apache Harmony class library : [ ] + 1 Accept [

Re: [classlib] HARMONY vs. J2SE API source, binary compatibility: JAPI for 1.5 required

2006-05-31 Thread Vladimir Ivanov
Looking through the mail thread: [classlib] JAPI data to drive packages to completion and following the link I found that looks like JAPI somehow supports part of 1.5 features (at least generics). It would be interesting to know for sure which of 1.5 features JAPI supports and which not, to

Re: [VOTE] Acceptance of HARMONY-438 : DRL Virtual Machine Contribution

2006-05-31 Thread Etienne Gagnon
+1 Etienne Geir Magnusson Jr wrote: I have received the ACQs and the BCC for Harmony-438, so I can assert that the critical provenance paperwork is in order and in SVN. Please vote to accept or reject this codebase into the Apache Harmony class library : [ ] + 1 Accept [ ] -1 Reject

Re: [DRLVM] adding write barriers to Jitrino.JET

2006-05-31 Thread Mikhail Fursov
On 5/31/06, Weldon Washburn [EMAIL PROTECTED] wrote: DRLVM contains a simple JIT called Jitrino.JET in addition to a highly optimizing JIT. The simple JIT seems to be a better choice for starting the write barrier work. Looking at Jitrino.JET sources, it looks like the best place to add write

Re: [classlib] internationalization

2006-05-31 Thread Tim Ellison
Yep, we discussed that a while ago. IIRC there was some debate about how the message keys should look. Today we have short strings (e.g. K1234) and there was a proposal to make that module.id (e.g. beans.42). I recall some objections to that proposal but cannot recreate them right now. We

Re: [classlib] logging from within our implementation

2006-05-31 Thread Egor Pasko
On the 0x17A day of Apache Harmony Alex Blewitt wrote: Moral 1: saying 'It's OK, debug logging can be turned off and log.debug(msg) is inexpensive' is a lie. If you really feel the need for sprinkling debug statements everywhere (and I'm with others in using a good IDE to track down problems)

Re: [DRLVM] adding write barriers to Jitrino.JET

2006-05-31 Thread Ivan Volosyuk
2006/5/31, Mikhail Fursov [EMAIL PROTECTED]: No, this method is used to store operand stack item to local variable. If you're interested in writing to fields then Compiler::gen_field_op is the right place. We can generate a call to VM or GC helper in this method. To create a call to any VM

Re: [VOTE] Acceptance of HARMONY-438 : DRL Virtual Machine Contribution

2006-05-31 Thread Tim Ellison
+1 Geir Magnusson Jr wrote: I have received the ACQs and the BCC for Harmony-438, so I can assert that the critical provenance paperwork is in order and in SVN. Please vote to accept or reject this codebase into the Apache Harmony class library : [ ] + 1 Accept [ ] -1 Reject (provide

Re: OPEN Specification

2006-05-31 Thread Andrey Yakushev
Etienne, Some words about your example. OPEN doesn't rely on any particular object layout, but tries to define functional interface for object access purposes. Open_Managed_Object_Handle is used to access this functionality from the components other than VM Core. In order to eliminate

RE: [VOTE] Acceptance of HARMONY-438 : DRL Virtual Machine Contribution

2006-05-31 Thread Nathan Beyer
+1 -Original Message- From: Geir Magnusson Jr [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 30, 2006 9:06 PM To: harmony-dev@incubator.apache.org Subject: [VOTE] Acceptance of HARMONY-438 : DRL Virtual Machine Contribution I have received the ACQs and the BCC for Harmony-438, so I

RE: [classlib] deploy directory reorganised into HDK shape

2006-05-31 Thread Nathan Beyer
Does this have any affect on the Eclipse Plug-in for Harmony VM type? Do we just point at 'deploy/jdk' instead of 'deploy' now? -Nathan -Original Message- From: Oliver Deakin [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 31, 2006 3:48 AM To: harmony-dev@incubator.apache.org

Re: [classlib] deploy directory reorganised into HDK shape

2006-05-31 Thread Oliver Deakin
Hi Nathan, Good catch - you will need to point your Installed JREs dialog at the deploy/jdk/jre directory instead of deploy/jre. No changes to the plug-in itself should be needed however. Thanks for spotting that! Regards, Oliver Nathan Beyer wrote: Does this have any affect on the Eclipse

Re: [DRLVM] adding write barriers to Jitrino.JET

2006-05-31 Thread Rana Dasgupta
On 5/31/06, Ivan Volosyuk [EMAIL PROTECTED] wrote: 2006/5/31, Mikhail Fursov [EMAIL PROTECTED]: No, this method is used to store operand stack item to local variable. If you're interested in writing to fields then Compiler::gen_field_op is the right place. We can generate a call to VM or GC

Re: [classlib] logging from within our implementation

2006-05-31 Thread Soeren Strassfeld
Hi all, How about using Velocity as Preprocessor. You could put all logging Statements between an //#if ($debug) and //#end So the Code would stay pure java, and the debug Version could be compiled without a Preprocessor. Regards, Soeren Anton Luht schrieb: It is possible to remove all calls

Re: [classlib] logging from within our implementation

2006-05-31 Thread robert burrell donkin
On 5/30/06, Gregory Shimansky [EMAIL PROTECTED] wrote: On Wednesday 31 May 2006 00:46 Ivan Volosyuk wrote: Any good behaving optimizing runtime would inline empty methods into nothing and therefore no performance impact would be made. Excelent! This is much better and simplier. public

Re: [DRLVM] adding write barriers to Jitrino.JET

2006-05-31 Thread Weldon Washburn
On 5/31/06, Rana Dasgupta [EMAIL PROTECTED] wrote: On 5/31/06, Ivan Volosyuk [EMAIL PROTECTED] wrote: 2006/5/31, Mikhail Fursov [EMAIL PROTECTED]: No, this method is used to store operand stack item to local variable. If you're interested in writing to fields then Compiler::gen_field_op

Re: [DRLVM] adding write barriers to Jitrino.JET

2006-05-31 Thread Ivan Volosyuk
2006/6/1, Rana Dasgupta [EMAIL PROTECTED]: How will it affect VM or GC ? The WBs will also require support from both VM and GC. Do you have ideas on VM/GC interface for this? Also what will be usage and testing scenarios in the nearest future? The VMGC interfaces is already exists in

Re: JSSE provider contribution

2006-05-31 Thread Stefano Mazzocchi
Tim Ellison wrote: great, thanks Boris. +1! that's awesome! Tim Boris Kuznetsov wrote: Dear all, I would like to announce one more contribution to Harmony on behalf of Intel. The archive with the contribution is uploaded to the following location:

RE: [classlib] generics puzzler (was: Re: Thanks Stepan! (was: Re: [jira] Resolved: (HARMONY-454) [classlib][luni] java.util.Set generics uplift and related changes))

2006-05-31 Thread Nathan Beyer
For anyone interested, I finally figured out the answer to this puzzle. The following code compiles without error or warning using the new foreach loop. for (Map.Entry? extends K, ? extends V entry : map.entrySet()) { entry.toString(); } The way to make this work without a compile error

RE: [VOTE] Acceptance of HARMONY-438 : DRL Virtual Machine Contribution

2006-05-31 Thread bootjvm
+1 [Original Message] From: Geir Magnusson Jr [EMAIL PROTECTED] To: harmony-dev@incubator.apache.org Date: 5/30/06 10:10:22 PM Subject: [VOTE] Acceptance of HARMONY-438 : DRL Virtual Machine Contribution I have received the ACQs and the BCC for Harmony-438, so I can assert that the

Re: [VOTE] Acceptance of HARMONY-438 : DRL Virtual Machine Contribution

2006-05-31 Thread Stepan Mishura
+1 -Stepan. On 5/31/06, Geir Magnusson Jr [EMAIL PROTECTED] wrote: I have received the ACQs and the BCC for Harmony-438, so I can assert that the critical provenance paperwork is in order and in SVN. Please vote to accept or reject this codebase into the Apache Harmony class library : [ ]

[jchevm] Re: jchevm status?

2006-05-31 Thread Geir Magnusson Jr
That's great news... And given the increase of activity around jchevm, can we remember to prefix the subject line with [jchevm]... (I don't recall who started this thread... doesn't matter... just a reminder) Ivan Volosyuk wrote: Archie, I have made some progress with classlib adapter. Now

Re: [classlib] logging from within our implementation

2006-05-31 Thread Geir Magnusson Jr
Anton Luht wrote: It is possible to remove all calls to logging below a certain level from .class files using BCEL: http://surguy.net/articles/removing-log-messages.xml . In this example logging is removed on fly when class is loaded, but this tool can be run against class files in the process

Re: [DRLVM] adding write barriers to Jitrino.JET

2006-05-31 Thread Weldon Washburn
On 5/31/06, Ivan Volosyuk [EMAIL PROTECTED] wrote: 2006/6/1, Rana Dasgupta [EMAIL PROTECTED]: It may be worth considering if we want JET to just call the barrier functionality( with from/to/and slot locations )and the barrier helper actually do everything ... including generating the

Re: jchevm status?

2006-05-31 Thread Archie Cobbs
Archie Cobbs wrote: Ivan Volosyuk wrote: This code checks access control in eclipse. The caller of the method should be member function of class EditorsUI. As jchevm also reports exception creation stack frames the access check doesn't work. I can make a workaround in classlibadapter, but I