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

    Details

    • Subcomponent:
    • Resolved In Build:
      b04
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                twisti Christian Thalinger
                Reporter:
                twisti Christian Thalinger
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: