Skip to content

Commit

Permalink
Move 'jruby/serialization' library under org.jruby.ext.jruby
Browse files Browse the repository at this point in the history
  • Loading branch information
headius committed Sep 12, 2011
1 parent 17b117b commit c49e012
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/org/jruby/Ruby.java
Expand Up @@ -1479,7 +1479,7 @@ private void initBuiltins() {
addLazyBuiltin("timeout.rb", "timeout", "org.jruby.ext.timeout.Timeout");
addLazyBuiltin("socket.jar", "socket", "org.jruby.ext.socket.SocketLibrary");
addLazyBuiltin("rbconfig.rb", "rbconfig", "org.jruby.ext.rbconfig.RbConfigLibrary");
addLazyBuiltin("jruby/serialization.rb", "serialization", "org.jruby.libraries.JRubySerializationLibrary");
addLazyBuiltin("jruby/serialization.rb", "serialization", "org.jruby.ext.jruby.JRubySerializationLibrary");
addLazyBuiltin("ffi-internal.jar", "ffi-internal", "org.jruby.ext.ffi.FFIService");
addLazyBuiltin("tempfile.rb", "tempfile", "org.jruby.libraries.TempfileLibrary");
addLazyBuiltin("fcntl.rb", "fcntl", "org.jruby.libraries.FcntlLibrary");
Expand Down
@@ -1,4 +1,4 @@
package org.jruby.util.io;
package org.jruby.ext.jruby;

import java.io.InputStream;
import java.io.ObjectInputStream;
Expand Down
@@ -1,12 +1,11 @@
package org.jruby.libraries;
package org.jruby.ext.jruby;

import org.jruby.Ruby;
import org.jruby.util.io.JRubyObjectInputStream;
import org.jruby.runtime.load.Library;
import java.io.IOException;

public class JRubySerializationLibrary implements Library {
public void load(Ruby runtime, boolean wrap) throws IOException {
JRubyObjectInputStream.createJRubyObjectInputStream(runtime);
JRubyObjectInputStream.createJRubyObjectInputStream(runtime);
}
}

0 comments on commit c49e012

Please sign in to comment.