I was looking at HARMONY-788 today, and I'd like to be able to
incorporate some of the jasmin tests into our infrastructure.
I presume that the techniques for creating arbitrary class files will
be useful for classlib as well?
Anyone have any thoughts on how we might go forward here, in DRLVM
I constructed a MockComparator as below:
public static class MockComparatorT implements ComparatorT {
public int compare(T o1, T o2) {
if(null == o1) return -1;
if(o1.equals(o2)) {
return 0;
}
return 1;
}
}
This comparator
Hi all
We have strange exceptions behavior of RI implementation of
Character.codePointAt.method.
Spec 1.5 says
public static int codePointAt(char[] a, int index, int limit)
Throws:
NullPointerException - if a is null.
IndexOutOfBoundsException - if the index argument is negative or
not less
Spark Shen wrote:
I constructed a MockComparator as below:
public static class MockComparatorT implements ComparatorT {
public int compare(T o1, T o2) {
if(null == o1) return -1;
if(o1.equals(o2)) {
return 0;
}
return 1;
Richard Liang 写道:
Spark Shen wrote:
I constructed a MockComparator as below:
public static class MockComparatorT implements ComparatorT {
public int compare(T o1, T o2) {
if(null == o1) return -1;
if(o1.equals(o2)) {
return 0;
}
return 1;
}
}
This comparator regards null as the smallest
Hi,
Does following exception check code work?
if (index 0 || index = limit || limit 0 || limit seq.length)
{
throw new IndexOutOfBoundsException();
}
The above code also throws NullPointerException if seq is null, and the
order of exception seems the same as the
Hi Geir,
Well, if we will have a java-based webserver then there is no problem. As
far as I understand Anton wasn't sure we have one.
Regards,
2006/8/2, Geir Magnusson Jr [EMAIL PROTECTED]:
Alexei Zakharov wrote:
Anton,
I have no objections here, just thinking about Harmony-hosted
On 8/2/06, Spark Shen wrote:
Richard Liang 写道:
Spark Shen wrote:
I constructed a MockComparator as below:
public static class MockComparatorT implements ComparatorT {
public int compare(T o1, T o2) {
if(null == o1) return -1;
if(o1.equals(o2)) {
return 0;
}
return 1;
}
}
This
On 8/2/06, Geir Magnusson Jr [EMAIL PROTECTED] wrote:
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
Hi all,
Does it make sense to follow the RI in this situation?
I'm asking this because one of the comments to this issue says we
shouldn't.
IMO we should.
Any other thoughts?
Regards,
--
Alexey A. Ivanov
Intel Middleware Product Division
-Original Message-
From: Alexey A. Ivanov
Paulex,
JIRA isuue 718 seems to be duplicate of just fixed JIRA 946.
It is not reproducible now.
Close it as duplicate please.
Thanks in advance.
SY, Alexey
--
Alexey A. Petrenko
Intel Middleware Products Division
-
Terms
2006/8/2, Andrew Zhang [EMAIL PROTECTED]:
Does following exception check code work?
if (index 0 || index = limit || limit 0 || limit seq.length)
{
throw new IndexOutOfBoundsException();
}
The above code also throws NullPointerException if seq is null, and the
order
I agree with Sergey that RI behaviour is strange in this case and
there is more logic in Harmony.
But... We still need to be compatible with RI. So I vote for fixing this bug.
SY, Alexey
2006/8/2, Ivanov, Alexey A [EMAIL PROTECTED]:
Hi all,
Does it make sense to follow the RI in this
Stepan Mishura 写道:
On 8/2/06, Spark Shen wrote:
Richard Liang 写道:
Spark Shen wrote:
I constructed a MockComparator as below:
public static class MockComparatorT implements ComparatorT {
public int compare(T o1, T o2) {
if(null == o1) return -1;
if(o1.equals(o2)) {
return 0;
Hi Spark,
When both are null, -1 will be returned. This mocked comparator is used
as a boundary test condition, and under this condition,
if there is null entry contained in tree map, is will not be included in
the SortedMap returned by headMap(null) method.
IMHO you need to be carefull here
On 7/27/06, Tim Ellison [EMAIL PROTECTED] wrote:
Ilya Okomin wrote:
I share your point of view about Exceptions without description, it
isn't user friendly. But I think it will be another sort of 'manual'
scan :) There is a need to waste time to analyze surrounding code to
provide
In my opinion this is a very good idea to have public performance profile
with a hotspots identified.
So, if this idea is accepted by community we can start a discussion which
kind of profile might be useful.
I know that execution manager and optimizing JIT in DRLVM have a command
line keys to
Hi Ilya,
I'd like to notice that all template files are stored in the
msgstool.jarfile that is the result of ant build. For this reason this
tool will work
only if msgstool.jar file is in the user dir. I have to extract resources
from the jar file (open jar file) and don't know how to do this
Let's discuss compatibility issue.
Test
-
import java.math.BigDecimal;
public class Test {
public static void main(String args[] ) {
BigDecimal.valueOf(0L, -22).shortValueExact();
}
}
Results
Richard, good idea!
If no one objects, I'll try to implement it.
On 8/1/06, Richard Liang [EMAIL PROTECTED] 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
Alexei Zakharov 写道:
Hi Spark,
When both are null, -1 will be returned. This mocked comparator is used
as a boundary test condition, and under this condition,
if there is null entry contained in tree map, is will not be included in
the SortedMap returned by headMap(null) method.
IMHO you
I would like to announce another code contribution to Harmony project
on behalf of Intel corporation. This contribution contains the
implementation of the RMI registry service provider for JNDI.
The contribution can be found at:
http://issues.apache.org/jira/browse/HARMONY-1044
The RMI
Hello,
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 that CGI suites better.
But
Jetty or Tomcat will handle this fine.
geir
Alexei Zakharov wrote:
Hi Geir,
Well, if we will have a java-based webserver then there is no problem. As
far as I understand Anton wasn't sure we have one.
Regards,
2006/8/2, Geir Magnusson Jr [EMAIL PROTECTED]:
Alexei Zakharov wrote:
Vladimir Strigun wrote:
On 8/2/06, Geir Magnusson Jr [EMAIL PROTECTED] wrote:
Vladimir Strigun wrote:
Telco - this one mostly stresses BigInteger/BigDecimal functionality
GcOld - the purpose of this one is clear from the name :)
SciMark - java benchmark for scientific and numerical
Mikhail Fursov wrote:
In my opinion this is a very good idea to have public performance profile
with a hotspots identified.
So, if this idea is accepted by community we can start a discussion which
kind of profile might be useful.
I didn't think it was even a question :)
I know that
Anton,
How many pages do you plan to have in your application? I mean that
Struts is probably too heavy solution for couple of pages (if this is
your case). *IMHO*
Best Regards,
2006/8/2, Anton Luht [EMAIL PROTECTED]:
Hello,
I believe that there are more installations that can execute CGI
Alexei Zakharov wrote:
Anton,
How many pages do you plan to have in your application? I mean that
Struts is probably too heavy solution for couple of pages (if this is
your case). *IMHO*
I was thinking the same thing, but was going to keep quiet unless
someone else spoke up.
However, I
Geir Magnusson Jr wrote:
Great. Can you augment this to be applied to a copy of the launcher
code we'll keep in the DRLVM tree?
And why will we keep a copy of launcher (I assume you mean Eclipse Launching
plugin)
code in the DRLVM tree?
The changes below are meant to be general enough to
Finally I found a stable win2k installation(still server edition with
SP4) , and installed Windows Platform SDK, but same error happens, then
I restarted it, but nothing changed:(, my Platform SDK was downloaded at
end of 2005, did I make any mistakes? Do I have to recompile DRLVM on win2k?
Geir Magnusson Jr wrote:
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
Somehow,
Vladimir Strigun wrote:
[SNIP]
JavaWorld Benchmark - benchmark for low-level operations: loops,
accessing variables, method invocation, arithmetic operators, casting,
instantiation, exception handling, thread creation and switching.
Is this the Volano suite? I tried to run it, but it has
Having tested the issue more thoroughly, I must agree with Sergey it's
not a bug in our code. It seems that the RI performs no analysis where
text doesn't require it as in the case with text. It just constructs a
light-weight object, thus accepting any value to getRunLimit() and
similar methods.
Salikh Zakirov wrote:
Geir Magnusson Jr wrote:
Great. Can you augment this to be applied to a copy of the launcher
code we'll keep in the DRLVM tree?
And why will we keep a copy of launcher (I assume you mean Eclipse Launching
plugin)
code in the DRLVM tree?
Because we're going to
Geir,
I thought HARMONY-980 was intended for
enhanced/drlvm/trunk/build/make/build.xml
Could you please apply the change there too?
Thanks a lot!
--
Salikh Zakirov, Intel Middleware Products Division
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Paulex Yang wrote:
Finally I found a stable win2k installation(still server edition with
SP4) , and installed Windows Platform SDK, but same error happens, then
I restarted it, but nothing changed:(, my Platform SDK was downloaded at
end of 2005, did I make any mistakes? Do I have to
[SNIP]
For native codes, instrument need a new directory in
modules/luni/src/main/native named instrument, in my plan, there
should be two native code, one for instrument native implementation, and
another for laugher (for parameter -javaagent). Instrument shall be
compiled into a .DLL(.so)
Geir Magnusson Jr wrote:
Paulex Yang wrote:
Finally I found a stable win2k installation(still server edition with
SP4) , and installed Windows Platform SDK, but same error happens, then
I restarted it, but nothing changed:(, my Platform SDK was downloaded at
end of 2005, did I make any
Geir,
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
Thanks :)
Another thing I could do is to add content to the
Alexey Varlamov wrote:
[SNIP]
For native codes, instrument need a new directory in
modules/luni/src/main/native named instrument, in my plan, there
should be two native code, one for instrument native implementation, and
another for laugher (for parameter -javaagent). Instrument shall be
Geir,
I believe it is probably unintentional, but you
have forgot to include any comment on what the change
does to the code.
I think we should strive to make commit messages
self-sufficient. Specifying JIRA issues can be nice,
but in the long run, it is not very convenient
to have to look up
Not a bad idea :)
-Original Message-
From: Zakirov, Salikh [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 02, 2006 9:51 AM
To: harmony-dev@incubator.apache.org
Subject: [general] Commit comments
Geir,
I believe it is probably unintentional, but you
have forgot to include
On 8/2/06, Geir Magnusson Jr [EMAIL PROTECTED] wrote:
Vladimir Strigun wrote:
[SNIP]
JavaWorld Benchmark - benchmark for low-level operations: loops,
accessing variables, method invocation, arithmetic operators, casting,
instantiation, exception handling, thread creation and switching.
On Wednesday 02 August 2006 17:30 Paulex Yang wrote:
Alexey Varlamov wrote:
[SNIP]
For native codes, instrument need a new directory in
modules/luni/src/main/native named instrument, in my plan, there
should be two native code, one for instrument native implementation, and
another
I responded but it was rejected due to size...
Nothing was lost, as the comments are in JIRA. I wanted to get the
commit to be atomic, as we were accepting a single contribution.
geir
Zakirov, Salikh wrote:
I hoped that someone will take the time
to commit the changes individually,
On 8/2/06, Alexei Zakharov [EMAIL PROTECTED] wrote:
Hi Ilya,
I'd like to notice that all template files are stored in the
msgstool.jarfile that is the result of ant build. For this reason this
tool will work
only if msgstool.jar file is in the user dir. I have to extract
resources
from
Paulex Yang wrote:
Geir Magnusson Jr wrote:
Paulex Yang wrote:
Finally I found a stable win2k installation(still server edition with
SP4) , and installed Windows Platform SDK, but same error happens, then
I restarted it, but nothing changed:(, my Platform SDK was downloaded at
end of
Morozova, Nadezhda wrote:
I scanned the svn repository for classlib packages, and found a few more
that had docs with them, namely the JNDI DNS Service Provider, the AWT
framework and the Java2D implementation. I could move their docs to the
externals/ directory as well.
Now, this makes
Geir Magnusson Jr wrote:
I responded but it was rejected due to size...
Nothing was lost, as the comments are in JIRA. I wanted to get the
commit to be atomic, as we were accepting a single contribution.
Ah, okay, this explains a lot.
But then, any bulk contribution will look like a ...
Salikh Zakirov wrote:
Geir Magnusson Jr wrote:
I responded but it was rejected due to size...
Nothing was lost, as the comments are in JIRA. I wanted to get the
commit to be atomic, as we were accepting a single contribution.
Ah, okay, this explains a lot.
But then, any bulk
done. Out of curiosity... what svn client are you using?
Zakirov, Salikh wrote:
Geir,
I thought HARMONY-980 was intended for
enhanced/drlvm/trunk/build/make/build.xml
Could you please apply the change there too?
Thanks a lot!
--
Salikh Zakirov, Intel Middleware Products
Diego,
I tried to read this file using both J9 and DRLVM, and I didn't manage.
Hence using serialization is not the best approach, and we need to
choose another archive format.
Serialization might fail because it contains some classes which
serialized form is not specified (Element, Entity etc.)
Daniel,
Thank you very much for your work!
Here are my fixits to the doc:
# Intel RMI
This package complies with J2SE 1.4.2 specification. Interoperability
with RI has been taken into care (through an intensive and exhaustive
wire protocol analysis); package has proved to be interoperable with
Geir Magnusson Jr wrote:
done. Out of curiosity... what svn client are you using?
It is not me having the problem, but I understand the problem.
I am using svn, version 1.2.0 (r14790)
and it accepts --non-interactive okay.
I suspect that the older version, which came with the Cygwin
bundled in
Make em upgrade :)
geir
--
Geir Magnusson Jr
SSG/MPD
[EMAIL PROTECTED]
+1 203 665 6437
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Salikh Zakirov
Sent: Wednesday, August 02, 2006 12:09 PM
To: harmony-dev@incubator.apache.org
Subject: Re: Remove
As I suggested earlier, I would use ASN.1. I don't like it, but there are
several arguments for using it:
1) We can make a formal description of the format, so anyone can write his
own encoder/decoder. Something like:
BDTD ::= SEQUENCE {
Entity SET OF HTMLEntity,
Element SET OF
Geir,
Let me double-check what exactly you are proposing:
I wonder if it's time we pull that stuff out of classlib/ and move to
the site itself...
Do you mean that we do the following:
1) Move the ASN1 and REGEXP docs out of docs/externals to
xdocs/subcomponents/classlib by converting them
Vladimir,
thank you very much for reviewing H-935 and improving it. It shows
significantly better performance for BigDecimal that fit in 64 bits
with no harm for the remaining cases.
I agree with the changes you have made and are willing to continue
improving our common math from now on.
Check out the continuous performance measurement the CACAO team is doing:
http://www.complang.tuwien.ac.at/cacaojvm/tgolem/
http://www.complang.tuwien.ac.at/cacaojvm/tgolem/testing/benchmark_history.html
Wes Felter - [EMAIL PROTECTED]
That's very cool - thanks for the link
Wes Felter wrote:
Check out the continuous performance measurement the CACAO team is doing:
http://www.complang.tuwien.ac.at/cacaojvm/tgolem/
http://www.complang.tuwien.ac.at/cacaojvm/tgolem/testing/benchmark_history.html
Wes Felter - [EMAIL
Daniel,
thank you for the analysis of our patch. Now I think we all should
vote for our combined version and put it to SVN as default one.
Thanks,
Vladimir.
On 8/2/06, Daniel Fridlender [EMAIL PROTECTED] wrote:
Vladimir,
thank you very much for reviewing H-935 and improving it. It shows
Vladimir Strigun wrote:
Daniel,
thank you for the analysis of our patch. Now I think we all should
vote for our combined version and put it to SVN as default one.
+1
and a big applause for all the parties involved in this merge: it is an
amazing example of why open development and
Hi All:
IMHO, EnumSet provides a set view of enum types. According to its spec,
Enum sets are represented internally as bit vectors.
To avoid to re-invent the wheel, it could be more reasonable to utilize
java.util.BitSet class to support the implementation of EnumSet.
While current API
+1 for the combined version
2006/8/3, Vladimir Strigun [EMAIL PROTECTED]:
Daniel,
thank you for the analysis of our patch. Now I think we all should
vote for our combined version and put it to SVN as default one.
Thanks,
Vladimir.
On 8/2/06, Daniel Fridlender [EMAIL PROTECTED] wrote:
https://issues.apache.org/jira/browse/HARMONY-935
I figure we should make it a clear vote thread so people don't miss it.
Lots of great work has been done on this subject by many people showing
great community spirit, collaboration and teamwork, and it's time to
bring it to closure.
There has
This patch seems fine. My concern is that the original patch would make the
code unreadable and confusing. Post a new patch file to the JIRA issue and
I'll apply it. Thanks.
-Nathan
-Original Message-
From: Denis Kishenko [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 02, 2006 3:31
+1 - Good work; glad to see this all come together.
-Nathan
-Original Message-
From: Geir Magnusson Jr [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 02, 2006 9:49 PM
To: harmony-dev@incubator.apache.org
Subject: [vote] accept HARMONY-935 as our implementation of math
+1
(note, this is a vote by lazy consensus... we'll let it go a day or two
and then keep moving...)
Geir Magnusson Jr wrote:
https://issues.apache.org/jira/browse/HARMONY-935
I figure we should make it a clear vote thread so people don't miss it.
Lots of great work has been done on this
+1
I'm glad it happened. For now this package will contain all the best from
two previous contributions for java.math.
Thanks,
Vladimir.
On 8/3/06, Geir Magnusson Jr [EMAIL PROTECTED] wrote:
+1
(note, this is a vote by lazy consensus... we'll let it go a day or two
and then keep moving...)
69 matches
Mail list logo