Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-1250740

java.util.BitSet(int) doc does not describe behavior with negative bit number

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      1.1.1
    • CPU:
      sparc
    • OS:
      solaris_2.4
    • Verification:
      Not verified

      Description

      Documentation for java.util.BitSet class does not describe behavior when you try
      to create a BitSet with a negative number of bits:

      BitSet b = new BitSet( -1 );

      Documentation also does not describe what happens when you try to access
      a negative bit such as:
      int i = b.get( -1 );

        Attachments

          Activity

            People

            Assignee:
            fyellinsunw Frank Yellin (Inactive)
            Reporter:
            kasmithsunw Kevin Smith (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: