Skip to content

Commit

Permalink
Fix: needs cast, doesn't build, at least on Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
dblock committed Jun 27, 2014
1 parent 6379317 commit ea2ccff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/com/sun/jna/NativeTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ public static void main(String[] args) {
for (int i=0;i < args.length;i++) {
System.out.println("Running tests on class " + args[i]);
try {
junit.textui.TestRunner.run(Class.forName(args[i]));
junit.textui.TestRunner.run((Class<? extends TestCase>) Class.forName(args[i]));
}
catch(Throwable e) {
e.printStackTrace();
Expand Down

0 comments on commit ea2ccff

Please sign in to comment.