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

2006-08-28 Thread Alexey Petrenko
+1 2006/8/28, Geir Magnusson Jr [EMAIL PROTECTED]: +1 Geir Magnusson Jr wrote: All is in order and in SVN for Harmony-1225 wrt BCC and ACQ. Please vote to accept or reject this set of patches and fixes into the Apache Harmony class library : [ ] + 1 Accept [ ] -1 Reject (provide reason

Re: [app] ant with ecj

2006-08-28 Thread Vladimir Gorr
Indeed this issue exists if JAVA_HOME refers to Harmony JRE: echo $JAVA_HOME .../classlib/trunk/deploy/jdk/jre echo $LD_LIBRARY_PATH .../classlib/trunk/deploy/jdk/jre/bin echo $CLASSPATH=.../classlib/trunk/depends/jars/ecj_3.2/ecj_3.2.jar ant

Re: [app] ant with ecj

2006-08-28 Thread Alexey Petrenko
2006/8/28, Jordan Justen [EMAIL PROTECTED]: My JAVA_HOME is set to harmony/jdk/jre. Are you sure ant is running with harmony's jvm and classlibs when JAVA_HOME is set to sun's path? Ant can set bootclasspath for compiler or any other subsequent jvm calls. But it will use original vm. So if

Re: [app] ant with ecj

2006-08-28 Thread Alexey Petrenko
2006/8/28, Vladimir Gorr [EMAIL PROTECTED]: Indeed this issue exists if JAVA_HOME refers to Harmony JRE: echo $JAVA_HOME .../classlib/trunk/deploy/jdk/jre echo $LD_LIBRARY_PATH .../classlib/trunk/deploy/jdk/jre/bin echo $CLASSPATH=.../classlib/trunk/depends/jars/ecj_3.2/ecj_3.2.jar ant

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

2006-08-28 Thread Vladimir Gorr
I see these improvements don't contain very important thing allowing us to automatically build (or get) the gl library. Or is this another story? Otherwise only the advanced people can look at these enhancements :-). Nevertheless +1 for me. Thanks, Vladimir. On 8/28/06, Alexey Petrenko [EMAIL

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

2006-08-28 Thread Alexey Petrenko
2006/8/28, Vladimir Gorr [EMAIL PROTECTED]: I see these improvements don't contain very important thing allowing us to automatically build (or get) the gl library. Or is this another story? This is another story. Otherwise only the advanced people can look at these enhancements :-).

Re: [app] xmlbeans

2006-08-28 Thread Richard Liang
Nathan Beyer wrote: I take it that means the issue is pretty obvious (very easy to recreate). Can you tell us what you did to recreate it and what class in Harmony is at issue? It seems a bug of java.util.ArrayList. I will attach a patch to fix it. Best regards, Richard -Nathan

Re: [drlvm] how does drlvm insert the safe point into a method

2006-08-28 Thread Egor Pasko
On the 0x1D3 day of Apache Harmony Fan Bin wrote: Hi, I have a question about jit compiler in drlvm. I want to suspend the thread manually on a particular point. I know that the thread can only be suspended at safe point. I guess the safe point is inserted by jit compiler when it compile the

Re: [classlib] Sun compiler change?

2006-08-28 Thread Spark Shen
Alexey Petrenko 写道: 2006/8/28, Spark Shen [EMAIL PROTECTED]: Richard Liang 写道: Richard Liang wrote: Nathan Beyer wrote: Is anyone else using the latest Sun JDK, v5.0 Update 8 on Windows? I'm seeing a compilation error in the LUNI that I don't see with 5.0 Update 7. Here's the error

[classlib][luni] A problem about behavior of EnumMap

2006-08-28 Thread Spark Shen
Hi All: When I develop EnumMap,I find EnumMap strange on RI. As the following code describes, the method entrySet() of EnumMap returns a set view of mappings contained in this map. Then we get the set's iterator and use the iterator's next() method to get an Entry which contains one mapping.

Re: [classlib] [ldap] support for multiple VMs?

2006-08-28 Thread Paulex Yang
Oliver Deakin wrote: Hi Alexey, I have taken a look at the patch - generally it looks good to me, and if it all works ok when you test it, it's fine by me. I think if there are cases where some functionality is repeated many times, it would be good to see it split out somewhere central.

Re: [vm] ArgoUML application crashes IBM VME

2006-08-28 Thread Paulex Yang
Vladimir Gorr wrote: Yes, it makes sense, I think. Although I don't know what the right place is? there is a section named what can it do[1], and it would be very useful to add a new page for Argo on the test procedure/result/missing class etc, and add the link to that section. [1]

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

2006-08-28 Thread Ilya Okomin
+1 On 8/28/06, Alexey Petrenko [EMAIL PROTECTED] wrote: 2006/8/28, Vladimir Gorr [EMAIL PROTECTED]: I see these improvements don't contain very important thing allowing us to automatically build (or get) the gl library. Or is this another story? This is another story. Otherwise only the

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

2006-08-28 Thread Ivanov, Alexey A
+1 -- Alexey A. Ivanov Intel Middleware Product Division -Original Message- From: Ilya Okomin [mailto:[EMAIL PROTECTED] Sent: Monday, August 28, 2006 12:10 PM To: harmony-dev@incubator.apache.org Subject: Re: [vote] HARMONY-1225 : Assorted fixes and enhancements for AWT and Swing +1

RE: [classlib][TestNG] How to handle bootclasspath tests

2006-08-28 Thread Ivanov, Alexey A
-Original Message- From: Mark Hindess [mailto:[EMAIL PROTECTED] Sent: Thursday, August 24, 2006 6:37 PM To: harmony-dev@incubator.apache.org Subject: Re: [classlib][TestNG] How to handle bootclasspath tests On 24 August 2006 at 13:58, Oliver Deakin [EMAIL PROTECTED] wrote: Richard

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

2006-08-28 Thread Ivanov, Alexey A
-Original Message- From: Richard Liang [mailto:[EMAIL PROTECTED] Sent: Friday, August 25, 2006 7:18 PM To: harmony-dev@incubator.apache.org Subject: [classlib][TestNG] groups of Harmony test Hello All, Now let's talk about the TestNG groups. I have read the related threads which posted

Re: [build-test] Re: Build-Test regular expression matcher pb

2006-08-28 Thread Paulex Yang
Jean, Sorry for response so late, do you still get this error? I use Sun JVM 1.5.0_06 and ant 1.6.5 on WinXP SP2, I think this env should be similar with you, but I cannot reproduce it. If you still cannot get it work, would you please raise a JIRA? Jean-frederic Clere wrote: Geir

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

2006-08-28 Thread Andrew Zhang
On 8/28/06, Ivanov, Alexey A [EMAIL PROTECTED] wrote: -Original Message- From: Richard Liang [mailto:[EMAIL PROTECTED] Sent: Friday, August 25, 2006 7:18 PM To: harmony-dev@incubator.apache.org Subject: [classlib][TestNG] groups of Harmony test Hello All, Now let's talk about the

Re: [app] xmlbeans

2006-08-28 Thread Richard Liang
Richard Liang wrote: Nathan Beyer wrote: I take it that means the issue is pretty obvious (very easy to recreate). Can you tell us what you did to recreate it and what class in Harmony is at issue? It seems a bug of java.util.ArrayList. I will attach a patch to fix it. I have raised a

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

2006-08-28 Thread Ivanov, Alexey A
-Original Message- From: Andrew Zhang [mailto:[EMAIL PROTECTED] Sent: Monday, August 28, 2006 1:06 PM To: harmony-dev@incubator.apache.org Subject: Re: [classlib][TestNG] groups of Harmony test On 8/28/06, Ivanov, Alexey A [EMAIL PROTECTED] wrote: -Original Message- From:

[kernel][reflect] Should we copy bug of RI JVM ?

2006-08-28 Thread Alexey Varlamov
There is a test[1] in classlib, which verifies that reflection access from enclosing class to a private member of a nested class results in IllegalAccessException. However, this is against the language specification (para 6.6.1 of the JLS3): if the member or constructor is declared private, then

Re: [classlib] Sun compiler change?

2006-08-28 Thread Krzysztof Sobolewski
Spark Shen wrote: Seems that in new version of JDK, EnumSetE and capture of ? extends E (E was previously stated as E extends EnumE) are not considered compatible. After changing EnumSetE set = (EnumSetE)collection; into EnumSet set = (EnumSet)collection; , compilation using ant in

Re: [classlib] Sun compiler change?

2006-08-28 Thread Spark Shen
Krzysztof Sobolewski 写道: Spark Shen wrote: Seems that in new version of JDK, EnumSetE and capture of ? extends E (E was previously stated as E extends EnumE) are not considered compatible. After changing EnumSetE set = (EnumSetE)collection; into EnumSet set = (EnumSet)collection; ,

Re: [drlvm] how does drlvm insert the safe point into a method

2006-08-28 Thread Mikhail Fursov
On 8/28/06, Weldon Washburn [EMAIL PROTECTED] wrote: When the JITed code sees the flag set, it will suspend the thread and report the live references. As far as I know the DRLVM JIT you are looking at does not quite do this yet. Weldon, AFAIK both DRLVM JITs: Jitrino.JET Jitrino.OPT do back

Re: [classlib] Sun compiler change?

2006-08-28 Thread Krzysztof Sobolewski
Spark Shen wrote: As far as I understand generics, SomeClassA and SomeClassB, where B extends A, *are* incompatible (per the spec). Generic types are not polymorphic. The problematic line IMO should read: EnumSet? extends E set = (EnumSet? extends E)collection; Do you mean to change

Re: [kernel][reflect] Should we copy bug of RI JVM ?

2006-08-28 Thread Vladimir Gorr
On 8/28/06, Alexey Varlamov [EMAIL PROTECTED] wrote: There is a test[1] in classlib, which verifies that reflection access from enclosing class to a private member of a nested class results in IllegalAccessException. However, this is against the language specification (para 6.6.1 of the JLS3):

Re: [DRLVM][VM] -- which header bits are available for GC mark and GC forwarding use?

2006-08-28 Thread Robin Garner
From talking to the MMTk guys (Steve Blackburn) it seems MMTk wants to have one byte of object header for private use. Its unclear to me if this will be a performance problem for a product JVM. Yep. We found a nice mark-sweep

[classlib][build] bug of RI 1.5.0_08 compiler

2006-08-28 Thread Richard Liang
Hello, Our incremental build does not work under the new compiler. 1) ant clean 2) ant 3) modify a piece of code 4) ant Then, lots of compilation error are reported. To make the build pass, call ant clean before the build. Could anyone re-produce this issue? Thanks a lot. Best regards, --

Re: [drlvm] how does drlvm insert the safe point into a method

2006-08-28 Thread Fan Bin
Thank you very much for your answer and your bearing my awful english:). and thanks to Egor and Mikhail. Yes, my question is about the safe point in JITed code. Your answer are really helps. I want to suspend a thread from another thead, not for the reason of GC, but for some other reasons.

Re: [classlib] HARMONY-790 is not reproducible

2006-08-28 Thread Denis Kishenko
2006/8/25, Mark Hindess [EMAIL PROTECTED]: Thanks for helping by looking at these. If you spot others and send messages and/or add comments in JIRA I'll take a look at them. Mark There are a lot of unassigned issues with patches in JIRA. For example most of issues listed bellow were created

Re: [classlib][luni] Enable tests.api.java.net.DatagramSocketTest?

2006-08-28 Thread Alexey Varlamov
Guys, Please take a look at HARMONY-1295 - debug build of DRLVM revealed funny bug(s). -- Alexey - Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [classlib] Sun compiler change?

2006-08-28 Thread Spark Shen
Krzysztof Sobolewski 写道: Spark Shen wrote: As far as I understand generics, SomeClassA and SomeClassB, where B extends A, *are* incompatible (per the spec). Generic types are not polymorphic. The problematic line IMO should read: EnumSet? extends E set = (EnumSet? extends E)collection;

Re: [classlib] Sun compiler change?

2006-08-28 Thread Krzysztof Sobolewski
Spark Shen wrote: Did you (refer to thread [app] ant with ecj) put Eclipse compiler JAR on Ant's execution classpath to execute the javac task. If so, may be that's why It always gives you unchecked cast warning, no errors. Well, I created a new EnumSet class in completly unrelated

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

2006-08-28 Thread Richard Liang
Richard Liang wrote: Hello All, Now let's talk about the TestNG groups. I have read the related threads which posted by George, Vladimir Ivanov and Alexei Zakharov. All of them are good discussion about TestNG groups. IMHO, we may define Harmony test groups according the following 4

Re: [classlib] Sun compiler change?

2006-08-28 Thread Spark Shen
Krzysztof Sobolewski 写道: Spark Shen wrote: Did you (refer to thread [app] ant with ecj) put Eclipse compiler JAR on Ant's execution classpath to execute the javac task. If so, may be that's why It always gives you unchecked cast warning, no errors. Well, I created a new EnumSet

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

2006-08-28 Thread Sergey Soldatov
+1 On 8/28/06, Ivanov, Alexey A [EMAIL PROTECTED] wrote: +1 -- Alexey A. Ivanov Intel Middleware Product Division -Original Message- From: Ilya Okomin [mailto:[EMAIL PROTECTED] Sent: Monday, August 28, 2006 12:10 PM To: harmony-dev@incubator.apache.org Subject: Re: [vote]

Re: [classlib][build] bug of RI 1.5.0_08 compiler

2006-08-28 Thread Paulex Yang
I got this error reproduced, more than 50 compile errors when I switched to Sun JDK 1.5.0_08 with ant 1.6.5 on WinXP. The mysterious thing is the build passed after ant clean, while failed again when I modified one file then built without clean. Anyone others have same issue? Any ideas what

Re: [DRLVM][VM] -- which header bits are available for GC mark and GC forwarding use?

2006-08-28 Thread Weldon Washburn
Robin, Good points. Given that Object.hashCode() implementation sortof, kindof depends on a copying mature space, does it make sense for the GC to own the Object.hashCode() implementation? That way, we eliminate the vm-wide debate about giving object hash one or two or even 12 header bits. It

Re: [DRLVM][VM] -- which header bits are available for GC mark and GC forwarding use?

2006-08-28 Thread Ivan Volosyuk
+1, for GC to own Object.hashCode(). That's exactly, what I propose. Slightly outdated patch with the changes included can be found in HARMONY-1269. I can update it to reflect recent TM changes or you can redo this work by yourself. -- Thanks, Ivan On 8/28/06, Weldon Washburn [EMAIL PROTECTED]

[classlib][ldap] contribution of missing javax.naming.ldap 1.4 classes

2006-08-28 Thread Daniel Gandara
Hi all, on http://issues.apache.org/jira/browse/HARMONY-1296 we have contributed the missing classes for v1.4 of the javax.naming.ldap package.At the ITC we are working to complete the 1.5 version of the package, in the following weeks we plan to contribute it. Within the

Re: [drlvm] Helper inlining in JIT

2006-08-28 Thread Mikhail Fursov
Folks, Here is the example of fast allocation helper written in Java with the help of VMMagic If nobody objects I'm starting to implement VMMagic support in Jitrino.OPTthis week. private static final int GC_TLS_OFFSET = 10; private static final int GC_CURRENT_OFFSET= GC_TLS_OFFSET + 0; private

[DRLVM][VM] set_hash_bits() in vmcore/src/thread/mon_enter_exit.cpp -- is it a bug or a feature?

2006-08-28 Thread Weldon Washburn
While porting MMTk to harmony/drlvm, I hit an integration problem. It could even be a bug. set_hash_bits() assumes the least significant bit is zero. Assuming that the LSB can be owned by the garbage collector for its purposes, set_hash_bits() will fail if the GC sets this bit to one. Somehow

Re: [drlvm] Helper inlining in JIT

2006-08-28 Thread Weldon Washburn
On 8/28/06, Mikhail Fursov [EMAIL PROTECTED] wrote: Folks, Here is the example of fast allocation helper written in Java with the help of VMMagic If nobody objects I'm starting to implement VMMagic support in Jitrino.OPTthis week. I like it! It makes sense. No objections to what you propose.

Re: [app] xmlbeans

2006-08-28 Thread Jordan Justen
Thanks Richard! On 8/28/06, Richard Liang [EMAIL PROTECTED] wrote: Richard Liang wrote: Nathan Beyer wrote: I take it that means the issue is pretty obvious (very easy to recreate). Can you tell us what you did to recreate it and what class in Harmony is at issue? It seems a bug of

Re: [drlvm] how does drlvm insert the safe point into a method

2006-08-28 Thread Weldon Washburn
On 8/28/06, Fan Bin [EMAIL PROTECTED] wrote: I still have a question to Wedlon: What do you mean that As far as I know the DRLVM JIT you are looking at does not quite do this yet. Does it mean that the drlvm JIT(Jitrino.JET and OPT) I'm looking at can't insert the polling code, or just JET

Re: [drlvm] how does drlvm insert the safe point into a method

2006-08-28 Thread Andrey Chernyshev
On 8/28/06, Fan Bin [EMAIL PROTECTED] wrote: Thank you very much for your answer and your bearing my awful english:). and thanks to Egor and Mikhail. Yes, my question is about the safe point in JITed code. Your answer are really helps. I want to suspend a thread from another thead, not for

Re: [classlib][concurrent] Integrating into builds and snapshot

2006-08-28 Thread Andrey Chernyshev
On 8/21/06, Weldon Washburn [EMAIL PROTECTED] wrote: On 8/21/06, Geir Magnusson Jr [EMAIL PROTECTED] wrote: Nathan Beyer wrote: Now that we're getting some good submissions to make the java.util.concurrent code to work with DRLVM, I'd like make a proposal for getting the code in the

[DRLVM][GC] proposal: tools to help verify all live references are properly enumerated

2006-08-28 Thread Weldon Washburn
One of the harder GC debugging problems is verifying that all live references are indeed reported to the GC. In other words, verify the stuff that happens outside the GC that impacts the GC. This actually complements verifying that GC internals are functioning correctly. Both are important for

Re: [drlvm] Helper inlining in JIT

2006-08-28 Thread Xiao-Feng Li
Fursov, what are the intrinsics supports you want to implement? The code below you gave has only a few examples. I think it would be a good idea to well define the instrinsics before code them. Thanks, xiaofeng On 8/28/06, Mikhail Fursov [EMAIL PROTECTED] wrote: Folks, Here is the example of

Re: [jira] Created: (HARMONY-1295) [classlib][net] flaw in setReuseAddrAndReusePort()

2006-08-28 Thread Andrew Zhang
On 8/28/06, Alexey Varlamov (JIRA) [EMAIL PROTECTED] wrote: [classlib][net] flaw in setReuseAddrAndReusePort() -- Key: HARMONY-1295 URL: http://issues.apache.org/jira/browse/HARMONY-1295 Project:

RE: [classlib] Sun compiler change?

2006-08-28 Thread Nathan Beyer
There were some compiler changes according to the release notes [1]. Of particular note is this bug fix [2], which is related to a number of bugs. I think this may be it. -Nathan [1] https://java.sun.com/j2se/1.5.0/ReleaseNotes.html#150_08 [2]

RE: [app] ant with ecj

2006-08-28 Thread Nathan Beyer
-Original Message- From: Alexey Petrenko [mailto:[EMAIL PROTECTED] Sent: Monday, August 28, 2006 1:25 AM To: harmony-dev@incubator.apache.org Subject: Re: [app] ant with ecj 2006/8/28, Vladimir Gorr [EMAIL PROTECTED]: Indeed this issue exists if JAVA_HOME refers to Harmony JRE:

Re: [classlib]strings externalization

2006-08-28 Thread Tim Ellison
Thanks for waiting Ilya, I've applied the final patch on HARMONY-1201 (I'll check-in the tool when I get back from vacation). So now we can get to work on breaking out the messages into each component's message file. Regards, Tim Ilya Okomin wrote: On 8/11/06, Tim Ellison [EMAIL PROTECTED]

Re: [app] xmlbeans

2006-08-28 Thread Paulex Yang
HARMONY-1293 has been resolved at r437626, thank Richard to provide patch. Would anyone help to check the status of xmlbeans with Harmony now? Jordan Justen wrote: Thanks Richard! On 8/28/06, Richard Liang [EMAIL PROTECTED] wrote: Richard Liang wrote: Nathan Beyer wrote: I take it

Re: [classlib] Sun compiler change?

2006-08-28 Thread Spark Shen
Nathan Beyer 写道: There were some compiler changes according to the release notes [1]. Of particular note is this bug fix [2], which is related to a number of bugs. I think this may be it. So, I think at the moment, it is more safe to use the below pattern(different compiler implements

Re: [classlib] Sun compiler change?

2006-08-28 Thread Spark Shen
Krzysztof Sobolewski 写道: Spark Shen wrote: Did you (refer to thread [app] ant with ecj) put Eclipse compiler JAR on Ant's execution classpath to execute the javac task. If so, may be that's why It always gives you unchecked cast warning, no errors. Well, I created a new EnumSet

how to use the jet?

2006-08-28 Thread jingxia xing
I instrument some printf in the JIT_compile_method_with_params in jitrino/sr/jet/jet.cpp. But no output in my printf.Does it need some option to turn it on?Thansk.

Re: [classlib] Sun compiler change?

2006-08-28 Thread Alexey Varlamov
2006/8/29, Spark Shen [EMAIL PROTECTED]: Krzysztof Sobolewski 写道: Spark Shen wrote: Did you (refer to thread [app] ant with ecj) put Eclipse compiler JAR on Ant's execution classpath to execute the javac task. If so, may be that's why It always gives you unchecked cast warning, no

[DRLVM][MMTk GC] marksweep configuration works in user mode

2006-08-28 Thread Weldon Washburn
All, I just committed mods that allow MMTk marksweep configuration to run the simple tests in test.java. There were some workarounds in MMTk code itself. It does not make sense to commit these workarounds to drlvm/trunk or to put them in JIRA. Instead, I told Steve Blackburn what the MMTk

Re: how to use the jet?

2006-08-28 Thread Egor Pasko
On the 0x1D4 day of Apache Harmony jingxia xing wrote: I instrument some printf in the JIT_compile_method_with_params in jitrino/sr/jet/jet.cpp. But no output in my printf.Does it need some option to turn it on?Thansk. try the same with: jet.cpp:223: compile_with_params which works for me :)

Re: [jira] Created: (HARMONY-1295) [classlib][net] flaw in setReuseAddrAndReusePort()

2006-08-28 Thread Alexey Varlamov
2006/8/29, Andrew Zhang [EMAIL PROTECTED]: On 8/28/06, Alexey Varlamov (JIRA) [EMAIL PROTECTED] wrote: [classlib][net] flaw in setReuseAddrAndReusePort() -- Key: HARMONY-1295 URL: