2020-05-30 11:24 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0000569Spring engineGeneralpublic2007-08-07 20:50
Reporterredstar 
Assigned Totvo 
PrioritynormalSeverityfeatureReproducibilityalways
StatusresolvedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0000569: [PATCH] Java bindings version number
DescriptionAdds a function to the Java interface allowing java programs to query for an interface version. Initial version number set at 2.
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files
  • patch file icon Java Bindings Interface Version function.patch (865 bytes) 2007-07-27 22:39 -
    Index: javabind.cpp
    ===================================================================
    --- javabind.cpp	(revision 3975)
    +++ javabind.cpp	(working copy)
    @@ -20,6 +20,8 @@
     
     #define NAMEBUF_SIZE 4096
     
    +#define JNI_BINDINGS_VERSION 2
    +
     // JNIEXPORT doesn't define default visibility
     #ifdef __GNUC__
     #pragma GCC visibility push(default)
    @@ -90,6 +92,15 @@
     	* Method:    GetSpringVersion
     	* Signature: ()Ljava/lang/String;
     	*/
    +	JNIEXPORT jint JNICALL Java_aflobby_CUnitSyncJNIVersion_GetVersion
    +		(JNIEnv *env, jclass myobject){
    +			return JNI_BINDINGS_VERSION;
    +		}
    +	/*
    +	* Class:     aflobby_CUnitSyncJNIBindings
    +	* Method:    GetSpringVersion
    +	* Signature: ()Ljava/lang/String;
    +	*/
     	JNIEXPORT jstring JNICALL Java_aflobby_CUnitSyncJNIBindings_GetSpringVersion
     		(JNIEnv *env, jclass myobject){
     			return env->NewStringUTF(GetSpringVersion());
    
    patch file icon Java Bindings Interface Version function.patch (865 bytes) 2007-07-27 22:39 +

-Relationships
+Relationships

-Notes

~0001050

tvo (reporter)

committed, thanks (r4152)
+Notes

-Issue History
Date Modified Username Field Change
2007-07-27 22:39 redstar New Issue
2007-07-27 22:39 redstar File Added: Java Bindings Interface Version function.patch
2007-08-07 20:50 tvo Status new => resolved
2007-08-07 20:50 tvo Resolution open => fixed
2007-08-07 20:50 tvo Assigned To => tvo
2007-08-07 20:50 tvo Note Added: 0001050
+Issue History