rjb 1.1.4 → 1.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/ChangeLog +4 -0
  2. data/ext/jniwrap.h +1 -1
  3. data/ext/load.c +2 -2
  4. data/ext/rjb.c +2 -2
  5. metadata +2 -2
data/ChangeLog CHANGED
@@ -1,3 +1,7 @@
1
+ Mon Aug 25 arton
2
+ *ext/load.c
3
+ Fix checking the result for loading alternate_jvm_type.
4
+ (patch from Kumar, thanks)
1
5
  Thu Aug 14 arton
2
6
  *ext/rjb.c, load.c, etc
3
7
  change comment line // -> /* */ because AIX's compiler
@@ -12,7 +12,7 @@
12
12
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
13
  * Lesser General Public License for more details.
14
14
  *
15
- * $Id: jniwrap.h 78 2008-08-14 10:47:31Z arton $
15
+ * $Id: jniwrap.h 80 2008-08-25 12:56:50Z arton $
16
16
  */
17
17
  #ifndef _Included_jniwrap
18
18
  #define _Included_jniwrap
data/ext/load.c CHANGED
@@ -12,7 +12,7 @@
12
12
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
13
  * Lesser General Public License for more details.
14
14
  *
15
- * $Id: load.c 77 2008-08-14 10:22:35Z arton $
15
+ * $Id: load.c 80 2008-08-25 12:56:50Z arton $
16
16
  */
17
17
 
18
18
  #include <stdlib.h>
@@ -239,7 +239,7 @@ int rjb_create_jvm(JNIEnv** pjenv, JavaVMInitArgs* vm_args, char* userpath, VALU
239
239
 
240
240
  if (!RTEST(jvmdll))
241
241
  {
242
- if (!load_jvm(JVM_TYPE) && !load_jvm(ALT_JVM_TYPE))
242
+ if (!(load_jvm(JVM_TYPE) || load_jvm(ALT_JVM_TYPE)))
243
243
  {
244
244
  return -1;
245
245
  }
data/ext/rjb.c CHANGED
@@ -12,10 +12,10 @@
12
12
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
13
  * Lesser General Public License for more details.
14
14
  *
15
- * $Id: rjb.c 77 2008-08-14 10:22:35Z arton $
15
+ * $Id: rjb.c 80 2008-08-25 12:56:50Z arton $
16
16
  */
17
17
 
18
- #define RJB_VERSION "1.1.4"
18
+ #define RJB_VERSION "1.1.5"
19
19
 
20
20
  #include "ruby.h"
21
21
  #include "extconf.h"
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.0
3
3
  specification_version: 1
4
4
  name: rjb
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.1.4
7
- date: 2008-08-14 00:00:00 +09:00
6
+ version: 1.1.5
7
+ date: 2008-08-25 00:00:00 +09:00
8
8
  summary: Ruby Java bridge
9
9
  require_paths:
10
10
  - lib