Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7200949

JSR 292: rubybench/bench/time/bench_base64.rb fails with jruby.jar not on boot class path

XMLWordPrintable

    • b04
    • generic
    • generic

        The problem is in the declared signature returned by ciBytecodeStream::get_method which was added with 7192406.

        We create a ciSignature object with the constant pool holder as accessing class. ciEnv::get_klass_by_name_impl doesn't delegate to its parent class loaders and we can't call SystemDictionary::resolve_or_null because we are in the compiler thread. Thus all lookups happen in the class loader of the accessing class.

        This leads to supposedly unloaded classes like org/jruby/RubyString or even java/lang/Object.

              twisti Christian Thalinger (Inactive)
              twisti Christian Thalinger (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: