You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Tim Ellison (JIRA)" <ji...@apache.org> on 2007/06/18 13:43:26 UTC

[jira] Created: (HARMONY-4214) [classlib][luni] BitSet failure

[classlib][luni] BitSet failure
-------------------------------

                 Key: HARMONY-4214
                 URL: https://issues.apache.org/jira/browse/HARMONY-4214
             Project: Harmony
          Issue Type: Bug
          Components: App-Oriented Bug Reports, Classlib
            Reporter: Tim Ellison


Reported on the dev list by Aleksei Ivaschenko...

I found that Jetty scenario recently started to fail because of bug in
java.util.BitSet. This simple test behaves differently on Harmony and
RI:

import java.util.BitSet;

public class BSTest {

    public static void main(String[] args) throws Exception {
        BitSet bs1 = new BitSet(256);
        BitSet bs2 = new BitSet(256);
        bs1.set('a');
        bs2.set('%');
        bs1.andNot(bs2);
        System.out.println("'a' allowed in bs1: " + bs1.get('a'));
    }
}

Harmony prints:

'a' allowed in bs1: false

while RI prints:

'a' allowed in bs1: true

I've checked it on r547680 - the problem still exists.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-4214) [classlib][luni] BitSet failure

Posted by "Mikhail Markov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-4214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12505903 ] 

Mikhail Markov commented on HARMONY-4214:
-----------------------------------------

I've marked this issue as duplicate of HARMONY-4213 and posted the patch there.
(Sorry, Tim - Alexei was first :-)).

> [classlib][luni] BitSet failure
> -------------------------------
>
>                 Key: HARMONY-4214
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4214
>             Project: Harmony
>          Issue Type: Bug
>          Components: App-Oriented Bug Reports, Classlib
>            Reporter: Tim Ellison
>
> Reported on the dev list by Aleksei Ivaschenko...
> I found that Jetty scenario recently started to fail because of bug in
> java.util.BitSet. This simple test behaves differently on Harmony and
> RI:
> import java.util.BitSet;
> public class BSTest {
>     public static void main(String[] args) throws Exception {
>         BitSet bs1 = new BitSet(256);
>         BitSet bs2 = new BitSet(256);
>         bs1.set('a');
>         bs2.set('%');
>         bs1.andNot(bs2);
>         System.out.println("'a' allowed in bs1: " + bs1.get('a'));
>     }
> }
> Harmony prints:
> 'a' allowed in bs1: false
> while RI prints:
> 'a' allowed in bs1: true
> I've checked it on r547680 - the problem still exists.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (HARMONY-4214) [classlib][luni] BitSet failure

Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tim Ellison closed HARMONY-4214.
--------------------------------

    Resolution: Duplicate

Closing as duplicate.


> [classlib][luni] BitSet failure
> -------------------------------
>
>                 Key: HARMONY-4214
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4214
>             Project: Harmony
>          Issue Type: Bug
>          Components: App-Oriented Bug Reports, Classlib
>            Reporter: Tim Ellison
>
> Reported on the dev list by Aleksei Ivaschenko...
> I found that Jetty scenario recently started to fail because of bug in
> java.util.BitSet. This simple test behaves differently on Harmony and
> RI:
> import java.util.BitSet;
> public class BSTest {
>     public static void main(String[] args) throws Exception {
>         BitSet bs1 = new BitSet(256);
>         BitSet bs2 = new BitSet(256);
>         bs1.set('a');
>         bs2.set('%');
>         bs1.andNot(bs2);
>         System.out.println("'a' allowed in bs1: " + bs1.get('a'));
>     }
> }
> Harmony prints:
> 'a' allowed in bs1: false
> while RI prints:
> 'a' allowed in bs1: true
> I've checked it on r547680 - the problem still exists.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.