When f5850a5 was created, the org.jruby.java.proxies.ClassValueProxyCache class was renamed as org.jruby.util.collections.Java7ClassValue. But that class was only referenced via reflection, and so IDE-based refactoring did not catch it, and Java7ClassValue ended up being totally unused.
Actually use Java7ClassValue when using Java 7+.
This should be included into jruby-1_7 branch as well, right?
@atambo Yeah, I didn't know which branch I should use as a base when doing pull requests. I know that @enebo does cherry-pick commits into jruby-1_7, but I guess in future, I should just use that branch as the base for pull requests.
@cky jruby-1_7 is preferred for 1.8, 1.9+ compat fixes and other non-risky backwards compatible changes. If there is any risk or if public signatures change then master is a better place. It sounds like this could have went to jruby-1_7 as well. Don't sweat it though we are used to moving stuff around across branches...
I cherry-picked it to jruby-1_7 here: f1d3620