ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/tck/RecursiveActionTest.java
(Generate patch)

Comparing jsr166/src/test/tck/RecursiveActionTest.java (file contents):
Revision 1.7 by jsr166, Wed Aug 5 01:17:30 2009 UTC vs.
Revision 1.8 by jsr166, Tue Nov 17 12:31:23 2009 UTC

# Line 162 | Line 162 | public class RecursiveActionTest extends
162       */
163      public void testForkTimedGetNPE() {
164          RecursiveAction a = new RecursiveAction() {
165 <                public void compute() {
166 <                    try {
167 <                        FibAction f = new FibAction(8);
168 <                        f.fork();
169 <                        f.get(5L, null);
170 <                        shouldThrow();
171 <                    } catch (NullPointerException success) {
172 <                    } catch (Exception ex) {
173 <                        unexpectedException(ex);
174 <                    }
165 >            public void compute() {
166 >                try {
167 >                    FibAction f = new FibAction(8);
168 >                    f.fork();
169 >                    f.get(5L, null);
170 >                    shouldThrow();
171 >                } catch (NullPointerException success) {
172 >                } catch (Exception ex) {
173 >                    unexpectedException(ex);
174                  }
175 <            };
175 >            }};
176          mainPool.invoke(a);
177      }
178  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines