[libbluray-devel] Fix linking native methods

hpi1 git at videolan.org
Tue Jun 24 13:22:50 CEST 2014


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Tue Jun 24 14:19:33 2014 +0300| [f975d5e3caea58fd5d5e13fc4b6770faa533465d] | committer: hpi1

Fix linking native methods

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=f975d5e3caea58fd5d5e13fc4b6770faa533465d
---

 src/libbluray/bdj/native/register_native.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/libbluray/bdj/native/register_native.c b/src/libbluray/bdj/native/register_native.c
index 18e72ce..6990382 100644
--- a/src/libbluray/bdj/native/register_native.c
+++ b/src/libbluray/bdj/native/register_native.c
@@ -46,7 +46,7 @@ int bdj_register_native_methods(JNIEnv *env)
                            Java_java_awt_BDFontMetrics_methods,
                            Java_java_awt_BDFontMetrics_methods_count)
       *
-      bdj_register_methods(env, "java/awt/BDGraphics",
+      bdj_register_methods(env, "java/awt/BDGraphicsBase",
                            Java_java_awt_BDGraphics_methods,
                            Java_java_awt_BDGraphics_methods_count)
       ;
@@ -54,7 +54,7 @@ int bdj_register_native_methods(JNIEnv *env)
 
 void bdj_unregister_native_methods(JNIEnv *env)
 {
-    bdj_unregister_methods(env, "java/awt/BDGraphics");
+    bdj_unregister_methods(env, "java/awt/BDGraphicsBase");
     bdj_unregister_methods(env, "java/awt/BDFontMetrics");
     bdj_unregister_methods(env, "org/videolan/Libbluray");
     bdj_unregister_methods(env, "org/videolan/Logger");



More information about the libbluray-devel mailing list