[security-dev 01759]: hg: jdk7/tl/jdk: 6941130: Semaphore should throw if number of permits overflows or underflows

martinrb at google.com martinrb at google.com
Wed Apr 7 13:08:28 PDT 2010


Changeset: fc7c38b2584c
Author:    martin
Date:      2010-04-07 12:30 -0700
URL:       http://hg.openjdk.java.net/jdk7/tl/jdk/rev/fc7c38b2584c

6941130: Semaphore should throw if number of permits overflows or underflows
Summary: Check if release could make number of permits negative
Reviewed-by: dl, dholmes

! src/share/classes/java/util/concurrent/Semaphore.java
+ test/java/util/concurrent/Semaphore/PermitOverflow.java




More information about the security-dev mailing list