-
-
Notifications
You must be signed in to change notification settings - Fork 925
Comparing changes
Open a pull request
base repository: jruby/jruby
base: a733a327c2b9
head repository: jruby/jruby
compare: 90413a82ed64
Commits on Aug 31, 2016
-
extract install field helper into a standalone method (for later re-use)
also better error messages on fails - the whole field will now be printed
Configuration menu - View commit details
-
Copy full SHA for fe0ec0e - Browse repository at this point
Copy the full SHA fe0ec0eView commit details -
[ji] tidy-up Java field reader/writer impls - use same exception types
- for IllegalAccessException on get/set now always map to SecurityError - IllegalArgumentException on field set mapped as TypeError (as before)
Configuration menu - View commit details
-
Copy full SHA for b4d13bf - Browse repository at this point
Copy the full SHA b4d13bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5639518 - Browse repository at this point
Copy the full SHA 5639518View commit details -
cleanup class.rb and JavaSignature - export as_java_type helper
will know handle all primitive types correctly (inc :byte and :short) ! and there's no reliance on internals from org.jruby.ast.java_signature.*
Configuration menu - View commit details
-
Copy full SHA for 1d9f204 - Browse repository at this point
Copy the full SHA 1d9f204View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5aa263f - Browse repository at this point
Copy the full SHA 5aa263fView commit details -
anonymous Ruby classes should have a familiar Java class name
... for easier identification of which Ruby class they represent
Configuration menu - View commit details
-
Copy full SHA for 84eb04f - Browse repository at this point
Copy the full SHA 84eb04fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 297a03f - Browse repository at this point
Copy the full SHA 297a03fView commit details -
helpers for converting args with space left for proxy invocation-handler
... so that the Java (sub-class) proxy calls do not convert args twice also improved "Constructor invocation failed: " ArgumentError message
Configuration menu - View commit details
-
Copy full SHA for b6ec793 - Browse repository at this point
Copy the full SHA b6ec793View commit details -
[ji] semi-optimize for 1 constructor (with arity one) in Java proxies
... which is the most common (having zero or one arity) to stumble upon code is dup-ed but reduces garbage generated on 'optimized' invocations
Configuration menu - View commit details
-
Copy full SHA for bcfcbbe - Browse repository at this point
Copy the full SHA bcfcbbeView commit details -
avoid @JRubyMethod name/alias array copy-ing + review processing
... also AnnotationHelper can be re-used again from IndyBinder
Configuration menu - View commit details
-
Copy full SHA for 77fb92b - Browse repository at this point
Copy the full SHA 77fb92bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 975cfe6 - Browse repository at this point
Copy the full SHA 975cfe6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1fd1a96 - Browse repository at this point
Copy the full SHA 1fd1a96View commit details -
introduce ArraySupport helper for dealing with (small) array copy-ing
... arraycopy times added up on a profiling session and a quick bench session confirmed they can run quite faster for the usual small arrays
Configuration menu - View commit details
-
Copy full SHA for 3a67809 - Browse repository at this point
Copy the full SHA 3a67809View commit details -
Configuration menu - View commit details
-
Copy full SHA for 90a93bc - Browse repository at this point
Copy the full SHA 90a93bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for b2a0a59 - Browse repository at this point
Copy the full SHA b2a0a59View commit details -
Configuration menu - View commit details
-
Copy full SHA for 805bfe4 - Browse repository at this point
Copy the full SHA 805bfe4View commit details -
use ArraySupport copy-ing since it will mostly be a small array
+ potentially avoid another array copy from to_ary-zed array
Configuration menu - View commit details
-
Copy full SHA for 4fdbfa6 - Browse repository at this point
Copy the full SHA 4fdbfa6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7680cdc - Browse repository at this point
Copy the full SHA 7680cdcView commit details -
extract get_with_class guts into another getProxyClass
... was confusing the Ruby method is now never used from JRuby
Configuration menu - View commit details
-
Copy full SHA for 8c0f962 - Browse repository at this point
Copy the full SHA 8c0f962View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d4844c - Browse repository at this point
Copy the full SHA 0d4844cView commit details -
Configuration menu - View commit details
-
Copy full SHA for c79157b - Browse repository at this point
Copy the full SHA c79157bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 58c0310 - Browse repository at this point
Copy the full SHA 58c0310View commit details -
allow for (potential) JavaProxyClassFactory overrides ... as intented
since JavaProxyClass is user-supliable make it easy for them to only worry about the details -> overriding newProxyClass method and not worrying about possibly changing impl internals: JavaSupportImpl or the runtimeTLS. renamed JavaProxyClass' get->newProxyClass for clarity ... method delegates to the factory's newProxyClass and now does the existing Java proxy class checking on its own! also removed the "wild" Error catch (never a good idea) since we're re-throwing the 'unexpected' exceptions + added a message assertion
Configuration menu - View commit details
-
Copy full SHA for c4a44b8 - Browse repository at this point
Copy the full SHA c4a44b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb74efb - Browse repository at this point
Copy the full SHA fb74efbView commit details -
[test] try resolving javac from JAVA_HOME (for rake test:compile)
... will make sure test Java classes are compiled under same Java version
Configuration menu - View commit details
-
Copy full SHA for 90413a8 - Browse repository at this point
Copy the full SHA 90413a8View commit details
There are no files selected for viewing