bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/36179] New: Error in java.nio.Buffer.position(int) - triv


From: kalibera at cs dot purdue dot edu
Subject: [Bug classpath/36179] New: Error in java.nio.Buffer.position(int) - trivial to verify and fix
Date: 8 May 2008 03:35:11 -0000

In java.nio.Buffer.position(int), you have "if (newPosition <= mark)" 
instead of "if (newPosition < mark)".

It's easy to verify this using API spec (and Sun's code as well).


-- 
           Summary: Error in java.nio.Buffer.position(int) - trivial to
                    verify and fix
           Product: classpath
           Version: 0.97
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: classpath
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: kalibera at cs dot purdue dot edu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36179





reply via email to

[Prev in Thread] Current Thread [Next in Thread]