ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/jtreg/util/Vector/IllegalConstructorArgs.java
(Generate patch)

Comparing jsr166/src/test/jtreg/util/Vector/IllegalConstructorArgs.java (file contents):
Revision 1.3 by jsr166, Sun Sep 5 21:32:20 2010 UTC vs.
Revision 1.4 by jsr166, Sat Oct 16 16:00:28 2010 UTC

# Line 39 | Line 39 | public class IllegalConstructorArgs {
39        public static void main(String argv[]) {
40            int testSucceeded=0;
41  
42 <        try{
42 >        try {
43             // this should generate an IllegalArgumentException
44             Vector bad1 = new Vector(-100, 10);
45          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines