Re: [testing] new subcomponent of Harmony?

2006-06-13 Thread Paulex Yang
Mark, Does it make sense to add the test coverage script into the step 3), as the tools in Harmony-564? Mark Hindess wrote: On 8 June 2006 at 8:01, Geir Magnusson Jr [EMAIL PROTECTED] wrote: Interesting. I wasn't thinking of having unit or implementation tests in here, as those still

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

2006-06-13 Thread Mikhail Loenko
Great! Is it possible to see uncovered classes/methods/lines? Thanks, Mikhail P.S. I think java.awt does not currently belong to beans module, though who knows what the future may bring us :) 2006/6/13, Vladimir Ivanov [EMAIL PROTECTED]: Latest Harmony API source coverage by Harmony API unit

Re: [announce] New Apache Harmony Committer : Mark Hindess

2006-06-13 Thread George Harley
Belated congratulations Mark ! -- George Geir Magnusson Jr wrote: Please join the Apache Harmony PPMC in welcoming the project's newest committer, Mark Hindess. Mark has demonstrated the elements that help build a healthy community, namely his ability to work together with others, continued

Re: svn commit: r413531 - /incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/FeatureDescriptor.java

2006-06-13 Thread Tim Ellison
Nathan Beyer wrote: -Original Message- From: Tim Ellison [mailto:[EMAIL PROTECTED] snip They are not quite equivalent, since the code above enumerates over the actual 'values' keySet. If code calling attributeNames() removes a value they are removing it from the FeatureDescriptor's

Using mx4j for javax.management

2006-06-13 Thread Mark Hindess
I created a JIRA about this issue, see: https://issues.apache.org/jira/browse/HARMONY-560 There is a patch attached if anyone wants to test it. The license is at: http://mx4j.sourceforge.net/docs/ch01s06.html Any thoughts or comments about whether this is a reasonable thing to do?

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

2006-06-13 Thread Vladimir Ivanov
The detailed info available at http://viv.byethost15.com/ (this address also pointed on wiki-page). Do you need additional information ? Thanks, Vladimir On 6/13/06, Mikhail Loenko [EMAIL PROTECTED] wrote: Great! Is it possible to see uncovered classes/methods/lines? Thanks, Mikhail

Re: [DRLVM] one more gc

2006-06-13 Thread Ivan Volosyuk
Weldon, Thank you, for your interest. The main idea of the implementation is just education of myself. I wanted to start with train algorithm to better understand its pros and cons. I didn't supposed to stick with that algorithm. Moreover, when just starting the implementation I noticed some

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

2006-06-13 Thread Mikhail Loenko
Cool! Sorry, I've missed it One more thing I've missed: what is the exclude list you've finally ended with? Thanks, Mikhail 2006/6/13, Vladimir Ivanov [EMAIL PROTECTED]: The detailed info available at http://viv.byethost15.com/ (this address also pointed on wiki-page). Do you need additional

[classlib][NIO|VMI]JNI 1.4 enhancement on ByteBuffer

2006-06-13 Thread Paulex Yang
There is some enhancement on JNI spec in JDK 1.4[1], and three methods are related to java.nio.ByteBuffer. * |NewDirectByteBuffer| http://java.sun.com/j2se/1.4.2/docs/guide/jni/jni-14.html#NewDirectByteBuffer * |GetDirectBufferAddress|

Re: [classlib][vm] Prerequisites for java.util.concurrent

2006-06-13 Thread Tim Ellison
Nathan Beyer wrote: snip Does this mean we can stub out the luni-kernel System and just get the VMs to implement it in their kernel classes using this method? That's what I was thinking, and we can implement it in the luni-kernel / classpathadapter as a reference for VMs if we so choose.

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

2006-06-13 Thread Vladimir Ivanov
One more thing I've missed: what is the exclude list you've finally ended with? I'm going to publish it ASAP. P.S. I think java.awt does not currently belong to beans module, though who knows what the future may bring us :) In fact, coverage information is gathered for each jar, that, to

Re: [classlib][vm] Prerequisites for java.util.concurrent

2006-06-13 Thread Paulex Yang
Ah, I'm sorry, I think it's me misunderstand you. Nathan Beyer wrote: Sorry if I was confusing, the PriorityQueue is just a dependency of the j.u.c. There are a few classes that us it internally, including the PriorityBlockingQueue. -Original Message- From: Paulex Yang

Re: [jira] Commented: (HARMONY-592) java.lang.Enum does not deserialize correctly

2006-06-13 Thread Tim Ellison
Richard Liang (JIRA) wrote: Hello Tim, The patch still cannot pass the provided test case. :-) So Please apply my patch. According to Java Spec 1.5, Enum constants are serialized differently than ordinary serializable or externalizable objects. To deserialize an enum

Re: [classlib] StringBuilder vs StringBuffer

2006-06-13 Thread Alexey Varlamov
Nathan, I've attached suggested fix to the JIRA issue. Seems that now we can even beat the Reference Implementation on the microbenchmark ;) No new test failures introduced, I assume this is enough to ensure patch correctness. 2006/6/10, Nathan Beyer [EMAIL PROTECTED]: Go for it. Just work out

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

2006-06-13 Thread Vladimir Ivanov
I've update the web site by information about auth, crypto and rmi modules. The exclude list also was added. I'm not sure that all tests were run correctly so I'm going to verify test runs. Thanks, Vladimir On 6/13/06, Vladimir Ivanov [EMAIL PROTECTED] wrote: One more thing I've missed:

Re: [classlib][NIO|VMI]JNI 1.4 enhancement on ByteBuffer

2006-06-13 Thread Archie Cobbs
Paulex Yang wrote: There is some enhancement on JNI spec in JDK 1.4[1], and three methods are related to java.nio.ByteBuffer. * |NewDirectByteBuffer| http://java.sun.com/j2se/1.4.2/docs/guide/jni/jni-14.html#NewDirectByteBuffer * |GetDirectBufferAddress|

Re: Using mx4j for javax.management

2006-06-13 Thread Geir Magnusson Jr
That's been the plan :) I've had some conversations with Simone about this a while ago - I'd really like to see the code come here since I think he seens an end of life for MX4J as an indep project w/ jmx in Java SE. I'll see if I can rekindle that convo here... geir Mark Hindess wrote: I

Re: [jira] Commented: (HARMONY-592) java.lang.Enum does not deserialize correctly

2006-06-13 Thread Richard Liang
Tim Ellison wrote: Richard Liang (JIRA) wrote: Hello Tim, The patch still cannot pass the provided test case. :-) So Please apply my patch. According to Java Spec 1.5, Enum constants are serialized differently than ordinary serializable or externalizable objects. To deserialize

[classlib] Modularising the native code - it begins!

2006-06-13 Thread Oliver Deakin
Hi all, As you have probably noticed, I recently raised HARMONY-596 (which Mark has already kindly applied) to make .lib and .a files generate straight into the deploy/lib directory. I think that now we are in a position to finally modularise the classlib native code. I've volunteered to do

[tools] HARMONY-598 (Keytool - added keystore loading, keytool-specific exception type, misc.)

2006-06-13 Thread Mikhail Loenko
Hi Anton Sorry I'm not a guru in keytools but why catch exceptions and resend them? +try { +// try to load the keystore +keyStore.load(fis, storePass); +} catch (NoSuchAlgorithmException e) { +throw new NoSuchAlgorithmException( +

Re: [classlib] Modularising the native code - it begins!

2006-06-13 Thread Geir Magnusson Jr
Oliver Deakin wrote: Hi all, As you have probably noticed, I recently raised HARMONY-596 (which Mark has already kindly applied) to make .lib and .a files generate straight into the deploy/lib directory. I think that now we are in a position to finally modularise the classlib native

Re: [DRLVM] one more gc

2006-06-13 Thread Rana Dasgupta
Hi Ivan, On 6/13/06, Ivan Volosyuk [EMAIL PROTECTED] wrote: Btw, I have found small performance improvement to GCv4 which can be easily added to it. Could you please post more details about this possible perf enhancement to V4? ... Well, I'm going to do this development just for

Re: [DRLVM] one more gc

2006-06-13 Thread Rana Dasgupta
Ivan, Even if the vtable gc data layout change is small and code specific, it will be interesting to see the change proposal here first, specially if you are considering submitting it. Sounds quite promising. 1.5% is not small. Some details of which workload saw the 1.5% collection delta would

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

2006-06-13 Thread Nathan Beyer
Is there any possibility of adding this to an Ant script that can optionally be run with the build scripts? I'd like to make this easier for everyone to run while developing. Has anyone tried any other coverage tools? Like TPTP for Eclipse, Clover or Corbetura (sp)? -Nathan -Original

Re: [classlib][NIO|VMI]JNI 1.4 enhancement on ByteBuffer

2006-06-13 Thread Andrew Zhang
On 6/13/06, Paulex Yang [EMAIL PROTECTED] wrote: There is some enhancement on JNI spec in JDK 1.4[1], and three methods are related to java.nio.ByteBuffer. * |NewDirectByteBuffer| http://java.sun.com/j2se/1.4.2/docs/guide/jni/jni-14.html#NewDirectByteBuffer *

Re: [classlib][NIO|VMI]JNI 1.4 enhancement on ByteBuffer

2006-06-13 Thread Jimmy, Jing Lv
Paulex Yang wrote: There is some enhancement on JNI spec in JDK 1.4[1], and three methods are related to java.nio.ByteBuffer. * |NewDirectByteBuffer| http://java.sun.com/j2se/1.4.2/docs/guide/jni/jni-14.html#NewDirectByteBuffer * |GetDirectBufferAddress|

Re: [classlib][NIO|VMI]JNI 1.4 enhancement on ByteBuffer

2006-06-13 Thread Paulex Yang
Archie Cobbs wrote: Paulex Yang wrote: There is some enhancement on JNI spec in JDK 1.4[1], and three methods are related to java.nio.ByteBuffer. * |NewDirectByteBuffer| http://java.sun.com/j2se/1.4.2/docs/guide/jni/jni-14.html#NewDirectByteBuffer * |GetDirectBufferAddress|

Re: [classlib][NIO|VMI]JNI 1.4 enhancement on ByteBuffer

2006-06-13 Thread Paulex Yang
Jimmy, Jing Lv wrote: Paulex Yang wrote: There is some enhancement on JNI spec in JDK 1.4[1], and three methods are related to java.nio.ByteBuffer. * |NewDirectByteBuffer| http://java.sun.com/j2se/1.4.2/docs/guide/jni/jni-14.html#NewDirectByteBuffer * |GetDirectBufferAddress|

RE: [classlib][vm] Prerequisites for java.util.concurrent

2006-06-13 Thread Nathan Beyer
I stubbed out the method in luni-kernel (as well as two other methods that were missing). I looked at DRLVM and it already has nanoTime implementation, but it's not using the method you mentioned. I took a peek at the JCHEVM/classlibadaptar, but I couldn't quite discern the various artifacts.

Re: Problems with builth path!

2006-06-13 Thread Richard Liang
Tim Ellison wrote: Richard Liang wrote: I launch Eclipse 3.2 RC7 with options -Xms256M -Xmx256M -vm D:\jdk\RI\jdk1.5.0_06\bin\javaw -Dpde.allowCycles=true -Dpde.jreProfile=none, But LUNI still cannot add luni-kernel-stubs.jar to its Plug-in Dependencies. So I have to add