summaryrefslogtreecommitdiffstats
path: root/luni/src/main/native/java_io_File.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2010-04-16 17:44:12 -0700
committerElliott Hughes <enh@google.com>2010-04-16 17:44:12 -0700
commitc08f9fb2a3be82bb1a3f477ca1524ddcf7a1d4b8 (patch)
treecc325048a7dc4cb15eb2f39244c3b881b284644d /luni/src/main/native/java_io_File.cpp
parent757a7942eed2b0aa457f8517a0259d2ac82c5b18 (diff)
downloadlibcore-c08f9fb2a3be82bb1a3f477ca1524ddcf7a1d4b8.zip
libcore-c08f9fb2a3be82bb1a3f477ca1524ddcf7a1d4b8.tar.gz
libcore-c08f9fb2a3be82bb1a3f477ca1524ddcf7a1d4b8.tar.bz2
Move the libcore registration out of libnativehelpers and into libcore.
Bug: 754114 Change-Id: Iaa03def509c10cbaa12fd2128584b93d4be4a6b7
Diffstat (limited to 'luni/src/main/native/java_io_File.cpp')
-rw-r--r--luni/src/main/native/java_io_File.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/luni/src/main/native/java_io_File.cpp b/luni/src/main/native/java_io_File.cpp
index 3006275..dc25057 100644
--- a/luni/src/main/native/java_io_File.cpp
+++ b/luni/src/main/native/java_io_File.cpp
@@ -15,7 +15,6 @@
* limitations under the License.
*/
-#include "AndroidSystemNatives.h"
#include "JNIHelp.h"
#include "LocalArray.h"
#include "ScopedByteArray.h"
@@ -395,7 +394,6 @@ static jboolean java_io_File_renameToImpl(JNIEnv* env, jobject, jbyteArray oldPa
}
static JNINativeMethod gMethods[] = {
- /* name, signature, funcPtr */
{ "canExecuteImpl", "([B)Z", (void*) java_io_File_canExecuteImpl },
{ "canReadImpl", "([B)Z", (void*) java_io_File_canReadImpl },
{ "canWriteImpl", "([B)Z", (void*) java_io_File_canWriteImpl },
@@ -420,6 +418,5 @@ static JNINativeMethod gMethods[] = {
{ "setLastModifiedImpl","([BJ)Z", (void*) java_io_File_setLastModifiedImpl },
};
int register_java_io_File(JNIEnv* env) {
- return jniRegisterNativeMethods(env, "java/io/File",
- gMethods, NELEM(gMethods));
+ return jniRegisterNativeMethods(env, "java/io/File", gMethods, NELEM(gMethods));
}