diff options
author | Andy Clement <andrew.clement@gmail.com> | 2012-10-01 15:09:15 -0700 |
---|---|---|
committer | Andy Clement <andrew.clement@gmail.com> | 2012-10-01 15:09:15 -0700 |
commit | 8a6608f4d5d1a2aa8aa49a0a38da66a54d53c917 (patch) | |
tree | eb9e96e988a63e1aa48896b279adae9bc41f9084 /tests/features171/pr386341/A.java | |
parent | 9a3cc2bc5c824d252140fb3d1e2e27f2163e6d53 (diff) | |
download | aspectj-8a6608f4d5d1a2aa8aa49a0a38da66a54d53c917.tar.gz aspectj-8a6608f4d5d1a2aa8aa49a0a38da66a54d53c917.zip |
386341
Diffstat (limited to 'tests/features171/pr386341/A.java')
-rw-r--r-- | tests/features171/pr386341/A.java | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/features171/pr386341/A.java b/tests/features171/pr386341/A.java new file mode 100644 index 000000000..98bbf4fb4 --- /dev/null +++ b/tests/features171/pr386341/A.java @@ -0,0 +1,29 @@ +/******************************************************************************* + * Copyright (c) 2010 Contributors + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Andy Clement - Repro test case + * Abraham Nevado + *******************************************************************************/ + +class AtomicAction { + int status() { return 1; } + int commit(int n) { return 1; } +} + +public class A { + public static void main(String []argv) throws Exception { + A a = new A(); + a.m(); + } + + public void m() throws Exception{ + Thread.sleep(5*1000); + } + +} + |