Advertisement
Guest User

Untitled

a guest
Oct 7th, 2015
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.90 KB | None | 0 0
  1. SelfFlatProfilePrinter.java:
  2.  
  3. package org.jruby.runtime.profile.builtin;
  4. // because: MethodData is not public in org.jruby.runtime.profile.builtin; cannot be accessed from outside package
  5.  
  6. import org.jruby.runtime.profile.builtin.ProfilePrinter;
  7. import org.jruby.runtime.profile.builtin.ProfileData;
  8. import org.jruby.runtime.profile.builtin.Invocation;
  9. import org.jruby.runtime.profile.builtin.MethodData;
  10.  
  11. (copy of FlatProfilePrinter)
  12. public class SelfFlatProfilePrinter extends ProfilePrinter {
  13.   // ...
  14. }
  15.  
  16. Java::JavaLang::IllegalAccessError: tried to access class org.jruby.runtime.profile.builtin.MethodData from class org.jruby.runtime.profile.builtin.SelfFlatProfilePrinter
  17. from java.lang.reflect.Method.invoke(java/lang/reflect/Method.java:606)
  18.  
  19. Java::JavaLang::IllegalAccessError: org/jruby/runtime/profile/builtin/MethodData
  20. from java.lang.reflect.Method.invoke(java/lang/reflect/Method.java:606)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement