Deprecated API
Contents
-
Deprecated InterfacesInterfaceDescription
-
Deprecated ClassesClassDescription
-
Deprecated Enums
-
Deprecated Exceptions
-
Deprecated FieldsFieldDescriptionuse RubyModule#getClassIndex()
-
Deprecated MethodsMethodDescriptionAs of JRuby 1.5.0, Replaced by getError()As of JRuby 1.5.0, replaced by getInput().As of JRuby 1.5.0, replaced by getOutput().As of JRuby 1.5.0. Use getProvider().getRuntime() method instead.Use setProfilingMode insteadkept due AR-JDBC (uses RubyClass.newInstance(...) to 'fast' allocate a Date instance)internal Date.new!internal Date.new!internal Date.new!internal Date.new!org.jruby.ext.securerandom.SecureRandomLibrary.random_bytes
(ThreadContext, IRubyObject, IRubyObject) Internal API - no longer usedUse ThreadContext.safeRecurse.use #newInstance()internal API, to be hiddeninternal API, to be removedUse ThreadContext.safeRecurseUse the versions with zero, one, or two args.Use the versions with zero, one, or two args.Use the versions with zero, one, or two args.Use the versions with zero, one, or two args.RubyArray implements List, use it directlyUse the versions with zero, one, or two args.Use the versions with zero, one, or two args.Use the versions with zero, one, or two args.org.jruby.RubyBasicObject.singleton_method_removed19(ThreadContext, IRubyObject, IRubyObject, Block) Use finvoke if you do not want visibility-checking or invokeFrom if you do.Use finvoke if you do not want visibility-checking or invokeFrom if you do.Use finvoke if you do not want visibility-checking or invokeFrom if you do.Use finvoke if you do not want visibility-checking or invokeFrom if you do.Use finvoke if you do not want visibility-checking or invokeFrom if you do.Use finvoke if you do not want visibility-checking or invokeFrom if you do.Use finvoke if you do not want visibility-checking or invokeFrom if you do.Use finvoke if you do not want visibility-checking or invokeFrom if you do.Use finvoke if you do not want visibility-checking or invokeFrom if you do.Use finvoke if you do not want visibility-checking or invokeFrom if you do.no longer usedno longer useduse RubyHash.op_aref insteaduse RubyHash.op_aset insteadNo longer used, internal API!no longer used - uses Java's System.outuseRubyTime.getMicros()insteaduseRubyTime.setMicros(int)insteadUseIRubyObject.checkStringType()instead.org.jruby.runtime.Helpers.invoke(ThreadContext, IRubyObject, String, IRubyObject[], CallType, Block) Use finvoke if you do not want visibility-checking or invokeFrom if you do.Use finvoke if you do not want visibility-checking or invokeFrom if you do.Use finvoke if you do not want visibility-checking or invokeFrom if you do.org.jruby.runtime.Helpers.isJavaExceptionHandled(Throwable, IRubyObject, IRubyObject, ThreadContext) This was only used by Module#const_defined, but was difficult to match MRI's equivalent in this formNo replacement; not intended to be made publicOpens a new input stream to read the contents of a resource and returns it. Note that implementations may be allocating native memory for the stream, so callers need to close this when they are done with it. users of this method should follow the pattern: close the stream where you open it.useFileResource.openChannel(int, int)insteadprefer usingLoggerFactory.getLogger(java.lang.Class)if possible
-
Deprecated Enum Constants
-
Deprecated Annotation Type ElementsAnnotation Type ElementDescription
MonomorphicCallSite