[admin] Automated Monthly Reminder

2006-06-01 Thread geirm
This is a monthly automated mailing to the Apache Harmony dev list. The Apache Harmony project welcomes the participation and input of anyone interested in open source Java SE, the goal of our project. For more information about the Apache Harmony project, please see the project website.

Re: [jira] Commented: (HARMONY-499) Java 5 Enhancement: java.net.HttpURLConnection should send request head with a connection-field of Keep-Alive

2006-06-01 Thread Paulex Yang
Alexander Kleymenov (JIRA) wrote: [ http://issues.apache.org/jira/browse/HARMONY-499?page=comments#action_12414202 ] Alexander Kleymenov commented on HARMONY-499: - Hello, I am working on HttpsURLConnection and noticed this JIRA report. I went

Re: [classlib] internationalization

2006-06-01 Thread Anton Avtamonov
On 5/31/06, Tim Ellison [EMAIL PROTECTED] wrote: 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

Re: [classlib] logging from within our implementation

2006-06-01 Thread Alexei Zakharov
Hi Soeren, 2006/6/1, Soeren Strassfeld [EMAIL PROTECTED]: 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. Is this something

Re: [classlib] logging from within our implementation

2006-06-01 Thread Alexei Zakharov
As far as I understand they use ObjectWEb ASM rather than BCEL in their example. But in any case, this approach implies trust in these code-manipulation libraries. Does it stable enough? Can't it produce corrupted byte-code? 2006/6/1, Geir Magnusson Jr [EMAIL PROTECTED]: Anton Luht wrote: It

Re: [jira] Commented: (HARMONY-499) Java 5 Enhancement: java.net.HttpURLConnection should send request head with a connection-field of Keep-Alive

2006-06-01 Thread Alexander Kleymenov
Paulex, I make HttpsURLConnection as a wrapper over the existing HttpURLConnection implementation (due to HTTPs spec: Simply use HTTP over TLS precisely as you would use HTTP over TCP. RFC 2818). I.e. I do not reimplement HTTP functionality, just reuse it (although some minor updates of the

Re: [classlib] logging from within our implementation

2006-06-01 Thread Anton Luht
Alexei, I've suggested BCEL but not ASM because it is an Apache product and its license certainly fits Harmony and the author tells that he used BCEL before. I've used it a couple of times and everything worked just fine. No code corruptions ever happened. It is mentioned in Sun Developer

Re: [jira] Commented: (HARMONY-499) Java 5 Enhancement: java.net.HttpURLConnection should send request head with a connection-field of Keep-Alive

2006-06-01 Thread Paulex Yang
Alexander, Please see my comments below. Alexander Kleymenov wrote: Paulex, I make HttpsURLConnection as a wrapper over the existing HttpURLConnection implementation (due to HTTPs spec: Simply use HTTP over TLS precisely as you would use HTTP over TCP. RFC 2818). I.e. I do not

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

2006-06-01 Thread Ivan Volosyuk
2006/6/1, Weldon Washburn [EMAIL PROTECTED]: 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

[testing] Re: AWT, Java2D and SWING contribution

2006-06-01 Thread Anton Luht
Hello, Some time ago I've read in Danese Cooper's blog that Sun doesn't have compatibility tests for Swing/AWT. I think it means that there are no such tests in other companies or projects as well. We can see if our implementation is compatible with Sun's only by launching some application on

Re: [classlib] logging from within our implementation

2006-06-01 Thread Vladimir Gorr
We need to remember the class file transformation via BCEL implies the performance degradation at load-time. IMO using the source code like this *static final boolean DEBUG = false; if (DEBUG) { // wiped away by java compiler log(my useful log message); } * will give better performance but

Re: [testing] Re: AWT, Java2D and SWING contribution

2006-06-01 Thread Chris Gray
I believe that Classpath uses the VisualTestEngine we developed at Acunia. Requires manual operation, but it has facilities for explanatory texts, pass/ fail indications, etc.. It will even run applets if you ask it nicely. You can find it in the SVN repository at www.wonka-vm.org (which is down

Sun Says GPL Is a Possibility for OSS Java

2006-06-01 Thread theUser BL
JavaONE 2006 is over. Sun have not opend Java, as many people have hoped. But Sun hold on the speculations, if Suns Java will be OpenSource or not. At OSNews.com at http://www.osnews.com/comment.php?news_id=14770 stand, that a GPL Java could be possible. The links ends up at Jonathan Schwatzs

Re: When will be a new Harmony-snapshot with integrated Swing published?

2006-06-01 Thread Geir Magnusson Jr
theUser BL wrote: Would be nice, if anybody could publish some screenshots of Harmony with AWT, Swing and Java2D. It will appear very much like programs running under other JREs :) I'll see if I can do that somewhere... Or - which would be better - if anybody could create a new snapshot

Re: Sun Says GPL Is a Possibility for OSS Java

2006-06-01 Thread Geir Magnusson Jr
theUser BL wrote: JavaONE 2006 is over. Sun have not opend Java, as many people have hoped. No one really expected it. The thing that JS did was formally commit his company to doing so in public. It's a step forward. But Sun hold on the speculations, if Suns Java will be OpenSource or

Re: [testing] Re: AWT, Java2D and SWING contribution

2006-06-01 Thread Anton Avtamonov
On 6/1/06, Chris Gray [EMAIL PROTECTED] wrote: I believe that Classpath uses the VisualTestEngine we developed at Acunia. Requires manual operation, but it has facilities for explanatory texts, pass/ fail indications, etc.. It will even run applets if you ask it nicely. You can find it in the

Re: Sun Says GPL Is a Possibility for OSS Java

2006-06-01 Thread Shashank \Shanky\ Tiwari
If all the specifications get GPLed, what might be impact on commercial vendors who sell JVMs and containers? Any ideas? shanky On 6/1/06, Geir Magnusson Jr [EMAIL PROTECTED] wrote: theUser BL wrote: JavaONE 2006 is over. Sun have not opend Java, as many people have hoped. No one really

Re: [classlib] logging from within our implementation

2006-06-01 Thread Stefano Mazzocchi
Alexei Zakharov wrote: However, I like the general idea of using Velocity as a Java preprocessor :) I really don't. -- Stefano. - Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail:

Re: Sun Says GPL Is a Possibility for OSS Java

2006-06-01 Thread Stefano Mazzocchi
Geir Magnusson Jr wrote: The links ends up at Jonathan Schwatzs blog at http://blogs.sun.com/jonathan where he writes But all in all, a really great week - we're now making serious progress on open sourcing Java (and despite the cynics, using a GPL license is very much *on* the table),

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

2006-06-01 Thread Mikhail Loenko
2006/6/1, Geir Magnusson Jr [EMAIL PROTECTED]: Mikhail Loenko wrote: There is a test tests.api.java.net.Inet6AddressTest.test_getByNameLjava_lang_String Nice package name. That's the first thing to be fixed :) that iterates over arrays of valid ip adresses (array.length = 11) and

Re: Sun Says GPL Is a Possibility for OSS Java

2006-06-01 Thread Geir Magnusson Jr
Stefano Mazzocchi wrote: shrug who cares, we have enough momentum to get to certification before their lawyers even finish the above discussions :-) That's the goal :) geir - Terms of use :

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

2006-06-01 Thread Geir Magnusson Jr
Mikhail Loenko wrote: 2006/6/1, Geir Magnusson Jr [EMAIL PROTECTED]: I don't quite grok what you mean - could you post what you are suggesting in code here on -dev? Index: modules/luni/src/test/java/tests/api/java/net/Inet6AddressTest.java

Re: [classlib] logging from within our implementation

2006-06-01 Thread Geir Magnusson Jr
Stefano Mazzocchi wrote: Maybe we should start thinking more with that in mind and think about scratching our own itches in terms of development... we might find some serious innovation on the way to there. I think the disagreement boils down to defining the itch. I'm not interested in

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

2006-06-01 Thread Mikhail Loenko
2006/6/1, Geir Magnusson Jr [EMAIL PROTECTED]: Mikhail Loenko wrote: 2006/6/1, Geir Magnusson Jr [EMAIL PROTECTED]: I don't quite grok what you mean - could you post what you are suggesting in code here on -dev? Index: modules/luni/src/test/java/tests/api/java/net/Inet6AddressTest.java

Re: [testing] Re: AWT, Java2D and SWING contribution

2006-06-01 Thread Mark Hindess
On 1 June 2006 at 18:25, Anton Avtamonov [EMAIL PROTECTED] wrote: On 6/1/06, Mark Hindess [EMAIL PROTECTED] wrote: On 1 June 2006 at 17:36, Alexey Petrenko [EMAIL PROTECTED] wrote: Which thing will this tool compare? Created windows or displays pixel by pixel? The syntax I

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

2006-06-01 Thread Mark Hindess
Anyone tried using emma (emma.sf.net) to look at test coverage for our tests? That might help ensure we don't trim them down too much? I suspect we will soon reach a point where there are significantly fewer obvious opportunities for small contributions - e.g. 1.5 generification, etc from

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

2006-06-01 Thread Ivan Volosyuk
2006/6/1, Weldon Washburn [EMAIL PROTECTED]: On 6/1/06, Ivan Volosyuk [EMAIL PROTECTED] wrote: 2006/6/1, Weldon Washburn [EMAIL PROTECTED]: On 5/31/06, Ivan Volosyuk [EMAIL PROTECTED] wrote: 2006/6/1, Rana Dasgupta [EMAIL PROTECTED]: We have in DRLVM implementation the atomic exchange

Re: [classlib] logging from within our implementation

2006-06-01 Thread Soeren Strassfeld
Hi Alexei, I think the result in both examples is quite the same, I just liked the Idea to just add java comments to the code, so you don´t need a precompiler as long as you build the classlib with logging statements. Cheers, Soeren Alexei Zakharov schrieb: Hi Soeren, 2006/6/1, Soeren

Re: [classlib] logging from within our implementation

2006-06-01 Thread Alexei Zakharov
I worry about the situation when we got something Velocity-like in java code. Strings like #foreach or smth. like it in comments. This will probably break the V. compiler. 2006/6/1, Soeren Strassfeld [EMAIL PROTECTED]: Hi Alexei, I think the result in both examples is quite the same, I just

Re: [classlib] logging from within our implementation

2006-06-01 Thread Soeren Strassfeld
That´s true, of course! Alexei Zakharov schrieb: I worry about the situation when we got something Velocity-like in java code. Strings like #foreach or smth. like it in comments. This will probably break the V. compiler. 2006/6/1, Soeren Strassfeld [EMAIL PROTECTED]: Hi Alexei, I think the

Re: how to build Harmony on Windows (with minimum of commercial soft)

2006-06-01 Thread Gregory Shimansky
Hello I decided to ressurrect this thread because I have some news. At home I decided to try to use as free software as possible and here is what I have. First I decided to use the current MS free software to repeat what is done by commercial. Nowdays MS offers VS.NET 2005 express edition (no

Re: [classlib] logging from within our implementation

2006-06-01 Thread Geir Magnusson Jr
Alexei Zakharov wrote: I worry about the situation when we got something Velocity-like in java code. Strings like #foreach or smth. like it in comments. This will probably break the V. compiler. Hey now Where do we have #foreach in our code? geir 2006/6/1, Soeren Strassfeld [EMAIL

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

2006-06-01 Thread Rana Dasgupta
Hi Weldon/Ivan, This has been a long thread/dialog. I am going to try and summarize where we stand at this stage ( for my own understanding ) and also to invite comments on implementation direction and suggestions from knowledgeable VM developers on the list. Please fill in if I miss or

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

2006-06-01 Thread Paulex Yang
Mark, I'm glad that there is someone else has interest on emma, I've tried it before. AFAIK, emma works by instrumentation, but sometimes for classes in bootclasspath, the instrumentation cannot work, there are two cases: 1. Some instrumented classes cannot be loaded by VM. 2. Some classes

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

2006-06-01 Thread Weldon Washburn
On 6/1/06, Rana Dasgupta [EMAIL PROTECTED] wrote: Hi Weldon/Ivan, This has been a long thread/dialog. I am going to try and summarize where we stand at this stage ( for my own understanding ) and also to invite comments on implementation direction and suggestions from knowledgeable VM

[DRLVM] write barrier -- some preliminary design ideas for Jitrino.JET

2006-06-01 Thread Weldon Washburn
All, I have been reading both MMTK and Jitrino.JET sources with write barrier design specifically in mind. Below are my current thoughts. Integrating MMTK with Jitrino.JET. In Compiler::gen_field_op(), use gen_invoke() to emit a call to org.mmtk.plan.PlanLocal.writeBarrier(ObjectReference src,

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

2006-06-01 Thread Mark Hindess
On 2 June 2006 at 10:37, Paulex Yang [EMAIL PROTECTED] wrote: Mark, I'm glad that there is someone else has interest on emma, I've tried it before. AFAIK, emma works by instrumentation, but sometimes for classes in bootclasspath, the instrumentation cannot work, there are two cases: 1.

[DRLVM] MMTK porting issues, take one

2006-06-01 Thread Weldon Washburn
All, Perhaps the following is already covered in documentation. If this is the case, please tell me where to find it. Below are some initial questions regarding porting MMTK to DRLVM. A question about org.vmmagic.pragma.InlinePragma class. The comments in the code says, This pragma indicates