o change the mail address
"harmony-dev@incubator.apache.org" to
"[EMAIL PROTECTED]" or so tomorrow?
--
Spark Shen
China Software Development Lab, IBM
Alexey Petrenko 写道:
2006/11/6, Spark Shen <[EMAIL PROTECTED]>:
Alexey Petrenko 写道:
> Hi, Mike.
>
> You can find compatybility guideline for Harmony here:
>
http://incubator.apache.org/harmony/subcomponents/classlibrary/compat.html
>
>
> According to your testca
nce is that Harmony's underlying implementation is taken from ICU
which supports options other than what is specified by the RI.
Should this difference be considered a bug?
Thanks,
Mike Ringrose
--
Spark Shen
China Software Development Lab, IBM
harm to get properties for request after
connected, I
will still follow RI although the manner is a little odd if no one
objects.
Leo Li
China Software Development Lab, IBM
--
Spark Shen
China Software Development Lab, IBM
cho %errorlevel%", we got 1 of
RI, -1 of DRLVM and 0 for IBMVM.
a testcase of apache ant failed for this issue.
--
Spark Shen
China Software Development Lab, IBM
.
Thanks all!
geir
--
Spark Shen
China Software Development Lab, IBM
g them (and then tell them to get back to
work...) :)
The Harmony PPMC
--
Spark Shen
China Software Development Lab, IBM
the test suites themself to lift up the test rate on harmony?
Best regards
--
Spark Shen
China Software Development Lab, IBM
30 PM eastern, + delta
for mail outage.
Thanks
geir
-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Spark Shen
China Software Development Lab, IBM
Tony Wu 写道:
you mean it fails when f.setReadOnly();?
Hi Tony:
No, setReadOnly is used to change the access privilege. After this
change harmony and RI behaves differently.
Best regards
On 10/20/06, Spark Shen <[EMAIL PROTECTED]> wrote:
Hi All:
When login as 'root'
different file object on many
different file system, would any one test File behavior on other file
systems.
Best regards
--
Spark Shen
China Software Development Lab, IBM
-
Terms of use : http://incubator.apache.org/harmon
ny Wu
China Software Development Lab, IBM
-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Spark
On 10/13/06, Spark Shen <[EMAIL PROTECTED]> wrote:
Hi Anton:
There are still two problems here:
1. Error message printed out on Harmony in console:
java.util.regex.PatternSyntaxException: unmatched ) near index: 1
b)a
^
java.util.regex.PatternSyntaxException: unmatched ) near inde
he required
ACQs and BCC.
Again, thanks for your hard work so far, and welcome.
The Apache Harmony PPMC
-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addi
now, thank you.
Best regards
On 10/16/06, Spark Shen <[EMAIL PROTECTED]> wrote:
Nathan Beyer 写道:
> try to either a 'rebuild' or 'clean' then 'build'
I tried rebuild, but still fail
[mkdir] Created dir: C:\spark\harmony\build\classes
[javac] Since compiler
or
outpu
t for details.
Total time: 1 minute 9 seconds
--
Best regards,
Andrew Zhang
-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-m
--
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Spark Shen
China Software Development Lab, IBM
--
cribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Spark Shen
China Software Development Lab, IBM
-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe
lopment Lab, IBM
-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Spark Shen
China Software Deve
gt; java.util.regex.PatternSyntaxException: unmatched ) near index: 5
> bbg())a
> ^
> java.util.regex.PatternSyntaxException: unmatched ) near index: 7
> cdb(?i))a
> ^
> are printed in the testCompileStringint().
> This test is needed to verify that appropriate exceptions are
on this project. Refer to
http://wiki.apache.org/harmony
Best regards
--
Spark Shen
China Software Development Lab, IBM
-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL
Tony Wu 写道:
> just one test failure on RI
>
> On 10/12/06, Spark Shen <[EMAIL PROTECTED]> wrote:
>> Tony Wu 写道:
>> > I have tried the Apache ant 1.6.5 on lateset harmony classlib on Win32
>> > system. It got 97.16% passed, seems not bad ;-)
>> > I
, I could not locate where
these error message comes from:
java.util.regex.PatternSyntaxException: unmatched ) near index: 1
b)a
^
java.util.regex.PatternSyntaxException: unmatched ) near index: 4
bcde)a
^
java.util.regex.PatternSyntaxException: unmatched ) near index: 5
bbg())a
^
java.util.regex.PatternSyntaxException: un
...
I corrected the patch and attached it to the issue.
I verified that regex and luni tests pass normally with the patch
applied.
Thanks,
Anton
OK, I will check it ASSP.
Best regards
--
Spark Shen
China Software Development Lab, IBM
http://wiki.apache.org/harmony/Apache_Ant
Anyone have interest are welcome to join me:)
Hi Tony:
What is pass rate of RI?
Best regards
--
Spark Shen
China Software Development Lab, IBM
-
Terms of use : http://incubator.apache.org/ha
p; S_IROTH) != 0;
This way, code is more readable and the method name
getPlatformIsReadable semantically matches it implemantation.
(The original name getPlatformIsWriteOnly seems not consistent with its
implmentation, correct me if I am wrong).
If no one objects, I want to supply a patch to do th
assLibrary
Dive into the result to find if it is a bug of Harmony. Raise JIRA or
post on mailing list if necessary.
something needs attention,
1.Make sure you are running right JDK.
2.Record any special settings&steps on harmony wiki.
Suggestions? Comments? Additions?
+1
Best regards
--
S
Spark Shen 写道:
Tim Ellison 写道:
So I checked in a patch for HARMONY-688's regex fix, and it passed the
regex unit tests, but causes the existing luni tests to fail in
java.util.Scanner. I've not figured out the base cause of the failure
so I've backed out the changes.
Regar
ince in Scanner implementation, the pattern "(\\p{javaDigit})++" is
heavily utilized to recognize integer numbers, then many of Scanner
tests fail.
Greedy quantifiler here works fine.
Would any regular expression guru look at this issue?
Best regards
--
S
Spark Shen 写道:
Tim Ellison 写道:
So I checked in a patch for HARMONY-688's regex fix, and it passed the
regex unit tests, but causes the existing luni tests to fail in
java.util.Scanner. I've not figured out the base cause of the failure
so I've backed out the changes.
Regards
l look into the issue.
Best regards
--
Spark Shen
China Software Development Lab, IBM
-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ore such files to deal? Thanks!
If no objection, I'll raise JIRAs and fix them.
That would be great, go ahead.
--
Spark Shen
China Software Development Lab, IBM
-
Terms of use : http://incubator.apache.org/harmony/mailing.
l? Thanks!
Put them in places where are appropriate according to various guide lines.
Best regards
--
Spark Shen
China Software Development Lab, IBM
-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe,
rmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Spark Shen
China Software Development Lab, IBM
-
Terms of use : http://incubator.apache.org/harmony/mailing.ht
il: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
the
component to non-bug difference.
Best regards
This means that #1126 is, actually, a bug. Am I correct?
On 9/21/06, Spark Shen <[EMAIL PROTECTED]> wrote:
> [snip]
> >
> >
> > >>Vladimir Ivanov
> > <http://issues.apache.org/jira/secure/ViewProfile.j
Thank you, I am trying :-).
2006/9/22, Vladimir Gorr <[EMAIL PROTECTED]>:
On 9/22/06, Spark Shen <[EMAIL PROTECTED]> wrote:
>
> Vladimir Gorr 写道:
> > When I roll away the latest changes for Character.java (H-1500
*Refactor
> > some methods in java.lang.Character*)
se we will be very hard to catch any errors like this. Any
> thoughts?
>
> Thanks,
> Vladimir.
>
>
> On 9/21/06, Vladimir Gorr <[EMAIL PROTECTED]> wrote:
>>
>>
>>
>> On 9/21/06, Spark Shen <[EMAIL PROTECTED]> wrote:
>> >
>&g
ecial handling
for file system is needed.
Best regards
--
Spark Shen
China Software Development Lab, IBM
-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
(special handling for Win
should be added)
[ Show » <http://issues.apache.org/jira/browse/HARMONY-1126> ]
Vladimir Ivanov
<http://issues.apache.org/jira/secure/ViewProfile.jspa?name=vladimir>
[09/Aug/06 09:05 PM] unit test. Seems, that patch will be system
dependent (special han
Stepan Mishura 写道:
> On 9/21/06, Spark Shen wrote:
>>
>> Tony Wu 写道:
>> > I had a look at the comparison result on kaffe.org[1] and I'm very
>> > glad to see it had fully achieved the 90 percent code coverage in this
>> > September :)
>> > I
:3078)
[junit] at java.util.Properties.load(Properties.java:378)
[junit] at java.util.PropertyResourceBundle.(
PropertyResourceBundle.java:44)
snipped
Does anybody observe this issue? As for Linux all works fine.
I am looking into this issue.
Best regards
Thanks,
Vladimir.
--
Spark Shen
China
l join you to supply patch for them.
Best regards
--
Spark Shen
China Software Development Lab, IBM
-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional c
Nathan Beyer 写道:
>
>> -Original Message-
>> From: Spark Shen [mailto:[EMAIL PROTECTED]
>> Sent: Wednesday, September 20, 2006 9:39 PM
>> To: harmony-dev@incubator.apache.org
>> Subject: Re: [classlib][luni] JIRA 1492 Constructor of HashMap throw
>&g
etter fix this problem. :-)
>>
>>
>> On 9/20/06, Alexey Petrenko <[EMAIL PROTECTED]> wrote:
>>
>>> Are you trying to say that the methods in Harmony can use only methods
>>> used in corresponding RI implementations?
>>>
>>> 2006/9/2
etter fix this problem. :-)
>>
>>
>> On 9/20/06, Alexey Petrenko <[EMAIL PROTECTED]> wrote:
>>
>>> Are you trying to say that the methods in Harmony can use only methods
>>> used in corresponding RI implementations?
>>>
>>> 2006/9/2
better fix this problem. :-)
On 9/20/06, Alexey Petrenko <[EMAIL PROTECTED]> wrote:
>
> Are you trying to say that the methods in Harmony can use only methods
> used in corresponding RI implementations?
>
> 2006/9/20, Spark Shen <[EMAIL PROTECTED]>:
> > Sp
cific case
before considering it as a rule, this is not yet another "reverse
engineering", the testcase is clear, without injection or reflection,
and the method under test is a constructor which invokes a public
method, so that user may have risk cannot to init their subclass of
HashMap.
>
&
regards
2006/9/20, Spark Shen <[EMAIL PROTECTED]>:
Spark Shen 写道:
> Hi :
> Following is the discussion about JIRA 1492, shall we discuss it here?
>
> public class SubMapTest extends TestCase {
> public void testSubclass() {
> HashMap map = new HashMap();
> map.put("a&qu
Spark Shen 写道:
Hi :
Following is the discussion about JIRA 1492, shall we discuss it here?
public class SubMapTest extends TestCase {
public void testSubclass() {
HashMap map = new HashMap();
map.put("a", "a");
SubMap map2 = new SubMap(map); // Harmony will throw an unexpe
not sure I would consider this a valid issue. What's a real use
case for this type of sub-classing?
<http://issues.apache.org/jira/secure/ViewProfile.jspa?name=spark+shen>>Spark
Shen
>What if change the RuntimeException to UnsupportedOperationException?
[ Show » <http://issue
9411.main(bug9411.java:17)
Harmony
java.lang.IllegalArgumentException
at
java.text.ChoiceFormat.applyPattern(ChoiceFormat.java:127)
at
java.text.ChoiceFormat.(ChoiceFormat.java:66)
at bug9411.main(bug9411.java:7)
2.0#ok #ab
2.0#ok spark shen
&l
regards
-Nathan
-Original Message-
From: Spark Shen [mailto:[EMAIL PROTECTED]
Sent: Monday, September 18, 2006 8:49 PM
To: harmony-dev@incubator.apache.org
Subject: [classlib][build] failure?
Hi All:
When building today's(Sep 19, r447671) classlib on window xp, I got the
foll
error
occurred while
executing this line:
C:\spark\harmony\make\properties.xml:258: exec returned: 2
Could any one check it?
Best regards
--
Spark Shen
China Software Development Lab, IBM
-
Terms of use : http://incubator.apache.org/h
Andrew. Where
it's impossible, just let it go.
Best regards
--
Spark Shen
China Software Development Lab, IBM
-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED
nd of course, I will
comment it on the JIRA.
The patch acompany JIRA 1367 has not any test cases and already
outdated, the patch should also be renewed.
Best regards
--
Spark Shen
China Software Development Lab, IBM
--
Alexey Varlamov 写道:
> 2006/9/13, Spark Shen <[EMAIL PROTECTED]>:
>> Nathan Beyer 写道:
>> > Here are a few things that I think might help with getting through
>> some of
>> > the older outstanding issues, as well as new ones.
>> >
>> > * If
Geir Magnusson Jr. 写道:
> Spark Shen wrote:
>
>> Paulex Yang 写道:
>>
>>> Nathan Beyer wrote:
>>>
>>>
>>>> Here are a few things that I think might help with getting through some of
>>>> the older outstanding issu
uesday, September 12, 2006 10:26 PM
>> To: harmony-dev@incubator.apache.org
>> Subject: Re: [classlib]volunteer to supply patches for old JIRAs
>>
>> On 9/13/06, Spark Shen <[EMAIL PROTECTED]> wrote:
>>
>>> Tony Wu 写道:
>>>
>>&g
just close it or leave it as-is.
> And further, if possible, I suggest to look at related JIRAs in one run,
> for example, there may be several issues/patches related to
> ObjectOutputStream, if you fixed/updated one, another patch may be
> outdated, a better way is to link them and consider them tog
Nathan Beyer 写道:
-Original Message-
From: Spark Shen [mailto:[EMAIL PROTECTED]
+assertEquals("Should return -0.0", -0.0, Math.cbrt(-0.0), 0D);
This assertion is not correct here. The spec of
java.lang.Math.cbrt(double) says:
'If the argument is
there may be several issues/patches related to
> ObjectOutputStream, if you fixed/updated one, another patch may be
> outdated, a better way is to link them and consider them together.
>
It's a good idea. I have already see many JIRAs linked
--
Spark Shen
China Software Development L
(0.0));
+.tanh(Double.NEGATIVE_INFINITY), 0D);
+assertEquals("Should return +0.0", +0.0, StrictMath.tanh(+0.0), 0D);
+assertEquals("Should return -0.0", -0.0, StrictMath.tanh(-0.0), 0D);
+assertEquals("Should return 0.0", 0.0, Strict
gt;
>
> On 9/13/06, Spark Shen <[EMAIL PROTECTED]> wrote:
>>
>> Andrew Zhang 写道:
>> > On 9/13/06, Spark Shen <[EMAIL PROTECTED]> wrote:
>> >>
>> >> Tony Wu 写道:
>> >> > Hi all,
>> >> > I noticed there're
Andrew Zhang 写道:
> On 9/13/06, Spark Shen <[EMAIL PROTECTED]> wrote:
>>
>> Tony Wu 写道:
>> > Hi all,
>> > I noticed there're many unresolved JIRAs posted so long time. I
>> > purpose to
>> > dive into and find whether it is in
start from the middle. :-)
Best regards
--
Spark Shen
China Software Development Lab, IBM
-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
;
Thanks,
Mikhail
-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Spark Shen
China Software Development Lab, IBM
--
ICU team.
Should I handle the U+2007 by ourselves to follow RI or just document
this
problem in testcase?
IMO, it's natural to follow RI, and the challenge is to fix it
gracefully with ICU implementation.
--
Spark Shen
China Software Development Lab, IBM
-
Robert Hu 写道:
Tony Wu 写道:
Great news! go ahead :)
On 9/11/06, Spark Shen <[EMAIL PROTECTED]> wrote:
Hi All:
There are some newly added methods of class
java.lang.Math/java.lang.StrictMath in JDK 1.5(compared with JDK 1.4),
but not implemented in Harmony.
They are
* *
ement them if no one objects.
Best regards
--
Spark Shen
China Software Development Lab, IBM
-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
Paulex Yang 写道:
Spark Shen wrote:
Spark Shen 写道:
I guess on RI, the returned iterator maintains a reference to
current entry and returns this reference in iter.next() method.
I do not think RI's behavior makes sense here. So I suggest not to
follow RI on the behavior.
I want to adop
Spark Shen 写道:
I guess on RI, the returned iterator maintains a reference to current
entry and returns this reference in iter.next() method.
I do not think RI's behavior makes sense here. So I suggest not to
follow RI on the behavior.
I want to adopt the behavior described below becau
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
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 c
PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Spark Shen
China Software Development Lab, IBM
-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For ad
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 c
Krzysztof Sobolewski 写道:
Spark Shen wrote:
As far as I understand generics, SomeClass and SomeClass, where B
extends A, *are* incompatible (per the spec). Generic types are not
polymorphic.
The problematic line IMO should read:
EnumSet set = (EnumSet)collection;
Do you mean to
Krzysztof Sobolewski 写道:
Spark Shen wrote:
As far as I understand generics, SomeClass and SomeClass, where B
extends A, *are* incompatible (per the spec). Generic types are not
polymorphic.
The problematic line IMO should read:
EnumSet set = (EnumSet)collection;
Do you mean to
Krzysztof Sobolewski 写道:
Spark Shen wrote:
Seems that in new version of JDK, EnumSet and (E was previously stated as >) are not considered
compatible.
After changing
EnumSet set = (EnumSet)collection;
into
EnumSet set = (EnumSet)collection;
, compilation using ant in command line succe
ference to current
entry and returns this reference in iter.next() method.
I do not think RI's behavior makes sense here. So I suggest not to
follow RI on the behavior.
Best regards
--
Spark Shen
China Software Development Lab, IBM
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?
>>>
>>>
>>>
>
n I compile in Eclipse 3.2 there's no error.
-Nathan
--
Spark Shen
China Software Development Lab, IBM
-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
The curious thing is whether we should behave as RI since it says "it
> may or
> may not show the effects of any modifications to the set that occur while
> the iteration is in progress".
>
>
So, what is your opinion? Should we follow RI on this behavior?
Best regar
e the iteration is in progress."
Best regards
On 8/19/06, Spark Shen <[EMAIL PROTECTED]> wrote:
Hi All:
The following behavior of RI java.util.EnumSet seems odd. Do you have
any opinion on whether it is a bug of RI?
import java.util.EnumSet;
import java.util.Iterator;
public class
Jimmy, Jing Lv 写道:
Spark Shen wrote:
Hi All:
The following behavior of RI java.util.EnumSet seems odd. Do you have
any opinion on whether it is a bug of RI?
import java.util.EnumSet;
import java.util.Iterator;
public class Test {
static enum EnumFoo {
a, b,
}
public static void main(String
));
// The output value is 64
System.out.println(set.size());
}
}
IMHO, when (1) is executed, an IllegalStateException should be thrown
out, since the element EnumFoo.a does not exist at the moment.
Any thoughts?
Best regards
--
Spark Shen
China Software Development Lab, IBM
Alexey Varlamov 写道:
2006/8/15, Spark Shen <[EMAIL PROTECTED]>:
Hi All:
Constructor of EnumMap -- EnumMap(Class keyType) behaves a little
odd:
I first synthesis an enum type with class body as below:
enum color {
blue{},
red{},
}
Then constructs java.util.EnumMap(Class) using this Enu
rException will be thrown out from the bolded line. While
using enum type without a class body, no such exception
will be thrown out. This behavior is unspecified on spec. IMO, this is a
bug of RI.
What is your opinion about this behavior?
Best regards
--
Spark Shen
China Software Developmen
Hi All:
After reading the serialized form of EnumSet, I found an inner class
java.util.EnumSet.SerializationProxy.
This class does not have any extra explaination. Does any one has any
suggestion on how to deal with it?
Best regards
--
Spark Shen
China Software Development Lab, IBM
quot;CD").getDisplayCountry());
And the displayed message is:
The Democratic Republic Of Congo
The same as SUN JDK 1.5, that is to say, IBM do the 'broken' thing. And
I think I agree with the point:
then we should do as well and note it in our "differences
from spec' list
B
ater. So I'd say, let's go with the ISO-3166 for everything.
Alex.
On 10/08/06, Ilya Okomin <[EMAIL PROTECTED]> wrote:
> On 8/10/06, Spark Shen <[EMAIL PROTECTED]> wrote:
>
> > 2006/8/10, Richard Liang <[EMAIL PROTECTED]>:
> > >
> >
2006/8/10, Richard Liang <[EMAIL PROTECTED]>:
Spark Shen wrote:
> Hi All:
> Construct a locale like this:
> Locale l = new Locale("", "CD");
> On RI, l.getDisplayCountry() will return "The Democratic Republic Of
> Congo",
> which
l_countryCD.getDisplayCountry());
}
I need to add a mapping into harmony locale data. But which?
"CD"->"CONGO, THE DEMOCRATIC REPUBLIC OF THE"
or
"CD"->"Congo, the Democratic Republic of the"
or
"CD"->"The Democrat
RI to deserialize SubMap, the behavior
should be the same
as using RI itself to serialize/deserialize SubMap. A little Tricky. :-)
Best regards
On 8/8/06, Spark Shen <[EMAIL PROTECTED]> wrote:
> Hi, thank you for your information.
>
> I slightly modified my second test c
release serialized form may have
changed.
--
Oleg
On 8/7/06, Spark Shen <[EMAIL PROTECTED]> wrote:
Hi:
This is a long post, thanks for your patient to read it through :-)
I wrote a test case as below:
public void test_SubMap_Serializable() throws Exception {
TreeMap map = new TreeMap();
map
to follow RI to make the returned SortedMap
serializable like this?
Best regards
--
Spark Shen
China Software Development Lab, IBM
-
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail
tion seriously..
Best regards
>
> On 8/4/06, Spark Shen <[EMAIL PROTECTED]> wrote:
>> Oleg Khaschansky 写道:
>> > Yes, I mean exactly one long type, not array. And I think that for
>> > this case the code in the BitSet and EnumSet implementation would be
>>
ld be
> useful.
Thank you very much for your suggestion.
Best regards.
>
> On 8/3/06, Spark Shen <[EMAIL PROTECTED]> wrote:
>> Oleg Khaschansky 写道:
>> > Hi all!
>> >
>> > I'd like to add to this discussion that, IMHO, implementation of the
>&
ong.
Best regards
>
> Thank you.
> --
> Oleg Khaschansky,
> Intel MPD
>
> On 8/3/06, Spark Shen <[EMAIL PROTECTED]> wrote:
>>
>> Richard Liang 写道:
>> >
>> >
>> > Spark Shen wrote:
>> >> Hi All:
>> >>
>> >>
Richard Liang 写道:
Spark Shen wrote:
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 s
1 - 100 of 119 matches
Mail list logo