summaryrefslogtreecommitdiff
path: root/src/it
diff options
context:
space:
mode:
Diffstat (limited to 'src/it')
-rw-r--r--src/it/it0003-jni/src/main/java/it0003/HelloWorldJNI.java2
-rw-r--r--src/it/it0003-jni/src/test/java/it0003/test/HelloWorldJNITest.java3
-rw-r--r--src/it/it0004-java-dep-jni/src/test/java/it0004/test/HelloWorldJavaDepJNITest.java3
-rw-r--r--src/it/it0005-jni-static/src/main/java/it0005/HelloWorldStaticJNI.java2
-rw-r--r--src/it/it0005-jni-static/src/test/java/it0005/test/HelloWorldStaticJNITest.java3
-rw-r--r--src/it/it0006-jni-3rdparty/src/test/java/it0006/test/HelloThirdPartyJNITest.java3
-rw-r--r--src/it/it0009-jni-dep-lib-shared/src/main/java/it0009/HelloWorldSharedLibJNI.java2
-rw-r--r--src/it/it0009-jni-dep-lib-shared/src/test/java/it0009/test/HelloWorldSharedLibJNITest.java3
-rw-r--r--src/it/it0012-jni-dep-lib-static/src/main/java/it0012/HelloWorldSharedLibJNI.java2
-rw-r--r--src/it/it0012-jni-dep-lib-static/src/test/java/it0012/test/HelloWorldSharedLibJNITest.java3
-rw-r--r--src/it/it0014-multi-module/it0014-jni-dep-lib-shared/src/main/java/it0014/HelloWorldSharedLibJNI.java2
-rw-r--r--src/it/it0017-toolchain/src/main/java/it0017/HelloWorldJNI.java2
-rw-r--r--src/it/it0017-toolchain/src/test/java/it0017/test/HelloWorldJNITest.java3
13 files changed, 13 insertions, 20 deletions
diff --git a/src/it/it0003-jni/src/main/java/it0003/HelloWorldJNI.java b/src/it/it0003-jni/src/main/java/it0003/HelloWorldJNI.java
index b1f3a84..8a5284f 100644
--- a/src/it/it0003-jni/src/main/java/it0003/HelloWorldJNI.java
+++ b/src/it/it0003-jni/src/main/java/it0003/HelloWorldJNI.java
@@ -26,7 +26,7 @@ public class HelloWorldJNI
NarSystem.loadLibrary();
}
- public native String sayHello();
+ public final native String sayHello();
public static void main( String[] args )
{
diff --git a/src/it/it0003-jni/src/test/java/it0003/test/HelloWorldJNITest.java b/src/it/it0003-jni/src/test/java/it0003/test/HelloWorldJNITest.java
index 718acb4..15b85b5 100644
--- a/src/it/it0003-jni/src/test/java/it0003/test/HelloWorldJNITest.java
+++ b/src/it/it0003-jni/src/test/java/it0003/test/HelloWorldJNITest.java
@@ -25,8 +25,7 @@ import org.junit.Test;
public class HelloWorldJNITest
{
- @Test
- public void testNativeHelloWorldJNI()
+ @Test public final void testNativeHelloWorldJNI()
throws Exception
{
HelloWorldJNI app = new HelloWorldJNI();
diff --git a/src/it/it0004-java-dep-jni/src/test/java/it0004/test/HelloWorldJavaDepJNITest.java b/src/it/it0004-java-dep-jni/src/test/java/it0004/test/HelloWorldJavaDepJNITest.java
index 00686d6..e61551d 100644
--- a/src/it/it0004-java-dep-jni/src/test/java/it0004/test/HelloWorldJavaDepJNITest.java
+++ b/src/it/it0004-java-dep-jni/src/test/java/it0004/test/HelloWorldJavaDepJNITest.java
@@ -25,8 +25,7 @@ import org.junit.Test;
public class HelloWorldJavaDepJNITest
{
- @Test
- public void testNativeHelloWorldJavaDepJNI()
+ @Test public final void testNativeHelloWorldJavaDepJNI()
throws Exception
{
HelloWorldJNI app = new HelloWorldJNI();
diff --git a/src/it/it0005-jni-static/src/main/java/it0005/HelloWorldStaticJNI.java b/src/it/it0005-jni-static/src/main/java/it0005/HelloWorldStaticJNI.java
index eb02f52..e2b1d23 100644
--- a/src/it/it0005-jni-static/src/main/java/it0005/HelloWorldStaticJNI.java
+++ b/src/it/it0005-jni-static/src/main/java/it0005/HelloWorldStaticJNI.java
@@ -26,7 +26,7 @@ public class HelloWorldStaticJNI
NarSystem.loadLibrary();
}
- public native String sayHello();
+ public final native String sayHello();
public static void main( String[] args )
{
diff --git a/src/it/it0005-jni-static/src/test/java/it0005/test/HelloWorldStaticJNITest.java b/src/it/it0005-jni-static/src/test/java/it0005/test/HelloWorldStaticJNITest.java
index 50d45fe..7e47d7f 100644
--- a/src/it/it0005-jni-static/src/test/java/it0005/test/HelloWorldStaticJNITest.java
+++ b/src/it/it0005-jni-static/src/test/java/it0005/test/HelloWorldStaticJNITest.java
@@ -25,8 +25,7 @@ import org.junit.Test;
public class HelloWorldStaticJNITest
{
- @Test
- public void testNativeHelloWorldJNI()
+ @Test public final void testNativeHelloWorldJNI()
throws Exception
{
HelloWorldStaticJNI app = new HelloWorldStaticJNI();
diff --git a/src/it/it0006-jni-3rdparty/src/test/java/it0006/test/HelloThirdPartyJNITest.java b/src/it/it0006-jni-3rdparty/src/test/java/it0006/test/HelloThirdPartyJNITest.java
index 178cdef..2b559ab 100644
--- a/src/it/it0006-jni-3rdparty/src/test/java/it0006/test/HelloThirdPartyJNITest.java
+++ b/src/it/it0006-jni-3rdparty/src/test/java/it0006/test/HelloThirdPartyJNITest.java
@@ -25,8 +25,7 @@ import org.junit.Test;
public class HelloThirdPartyJNITest
{
- @Test
- public void testNativeHelloThirdPartyJNI()
+ @Test public final void testNativeHelloThirdPartyJNI()
throws Exception
{
HelloWorldJNI app = new HelloWorldJNI();
diff --git a/src/it/it0009-jni-dep-lib-shared/src/main/java/it0009/HelloWorldSharedLibJNI.java b/src/it/it0009-jni-dep-lib-shared/src/main/java/it0009/HelloWorldSharedLibJNI.java
index 001ec98..04eb225 100644
--- a/src/it/it0009-jni-dep-lib-shared/src/main/java/it0009/HelloWorldSharedLibJNI.java
+++ b/src/it/it0009-jni-dep-lib-shared/src/main/java/it0009/HelloWorldSharedLibJNI.java
@@ -26,7 +26,7 @@ public class HelloWorldSharedLibJNI
NarSystem.loadLibrary();
}
- public native String sayHello();
+ public final native String sayHello();
public static void main( String[] args )
{
diff --git a/src/it/it0009-jni-dep-lib-shared/src/test/java/it0009/test/HelloWorldSharedLibJNITest.java b/src/it/it0009-jni-dep-lib-shared/src/test/java/it0009/test/HelloWorldSharedLibJNITest.java
index e1e9af1..e052096 100644
--- a/src/it/it0009-jni-dep-lib-shared/src/test/java/it0009/test/HelloWorldSharedLibJNITest.java
+++ b/src/it/it0009-jni-dep-lib-shared/src/test/java/it0009/test/HelloWorldSharedLibJNITest.java
@@ -25,8 +25,7 @@ import org.junit.Test;
public class HelloWorldSharedLibJNITest
{
- @Test
- public void testNativeHelloWorldSharedLibJNI()
+ @Test public final void testNativeHelloWorldSharedLibJNI()
throws Exception
{
HelloWorldSharedLibJNI app = new HelloWorldSharedLibJNI();
diff --git a/src/it/it0012-jni-dep-lib-static/src/main/java/it0012/HelloWorldSharedLibJNI.java b/src/it/it0012-jni-dep-lib-static/src/main/java/it0012/HelloWorldSharedLibJNI.java
index de48437..effc91b 100644
--- a/src/it/it0012-jni-dep-lib-static/src/main/java/it0012/HelloWorldSharedLibJNI.java
+++ b/src/it/it0012-jni-dep-lib-static/src/main/java/it0012/HelloWorldSharedLibJNI.java
@@ -26,7 +26,7 @@ public class HelloWorldSharedLibJNI
NarSystem.loadLibrary();
}
- public native String sayHello();
+ public final native String sayHello();
public static void main( String[] args )
{
diff --git a/src/it/it0012-jni-dep-lib-static/src/test/java/it0012/test/HelloWorldSharedLibJNITest.java b/src/it/it0012-jni-dep-lib-static/src/test/java/it0012/test/HelloWorldSharedLibJNITest.java
index 28dedd1..1a7e4b2 100644
--- a/src/it/it0012-jni-dep-lib-static/src/test/java/it0012/test/HelloWorldSharedLibJNITest.java
+++ b/src/it/it0012-jni-dep-lib-static/src/test/java/it0012/test/HelloWorldSharedLibJNITest.java
@@ -25,8 +25,7 @@ import org.junit.Test;
public class HelloWorldSharedLibJNITest
{
- @Test
- public void testNativeHelloWorldSharedLibJNI()
+ @Test public final void testNativeHelloWorldSharedLibJNI()
throws Exception
{
HelloWorldSharedLibJNI app = new HelloWorldSharedLibJNI();
diff --git a/src/it/it0014-multi-module/it0014-jni-dep-lib-shared/src/main/java/it0014/HelloWorldSharedLibJNI.java b/src/it/it0014-multi-module/it0014-jni-dep-lib-shared/src/main/java/it0014/HelloWorldSharedLibJNI.java
index a6959ae..54abdb3 100644
--- a/src/it/it0014-multi-module/it0014-jni-dep-lib-shared/src/main/java/it0014/HelloWorldSharedLibJNI.java
+++ b/src/it/it0014-multi-module/it0014-jni-dep-lib-shared/src/main/java/it0014/HelloWorldSharedLibJNI.java
@@ -26,7 +26,7 @@ public class HelloWorldSharedLibJNI
NarSystem.loadLibrary();
}
- public native String sayHello();
+ public final native String sayHello();
public static void main( String[] args )
{
diff --git a/src/it/it0017-toolchain/src/main/java/it0017/HelloWorldJNI.java b/src/it/it0017-toolchain/src/main/java/it0017/HelloWorldJNI.java
index 4e4de59..b41439a 100644
--- a/src/it/it0017-toolchain/src/main/java/it0017/HelloWorldJNI.java
+++ b/src/it/it0017-toolchain/src/main/java/it0017/HelloWorldJNI.java
@@ -26,7 +26,7 @@ public class HelloWorldJNI
NarSystem.loadLibrary();
}
- public native String sayHello();
+ public final native String sayHello();
public static void main( String[] args )
{
diff --git a/src/it/it0017-toolchain/src/test/java/it0017/test/HelloWorldJNITest.java b/src/it/it0017-toolchain/src/test/java/it0017/test/HelloWorldJNITest.java
index 9d39f6e..7ac0a79 100644
--- a/src/it/it0017-toolchain/src/test/java/it0017/test/HelloWorldJNITest.java
+++ b/src/it/it0017-toolchain/src/test/java/it0017/test/HelloWorldJNITest.java
@@ -25,8 +25,7 @@ import org.junit.Test;
public class HelloWorldJNITest
{
- @Test
- public void testNativeHelloWorldJNI()
+ @Test public final void testNativeHelloWorldJNI()
throws Exception
{
HelloWorldJNI app = new HelloWorldJNI();