Commit Graph

48 Commits

Author SHA1 Message Date
Andy Clement
d09d4f0b29 consider dispatch methods synthetic 2014-06-06 12:32:52 -07:00
Andy Clement
55a1ffd690 extended with a bit more configurability 2014-06-06 12:32:35 -07:00
Andy Clement
544c978ca0 Allow user packages to start with the four characters 'java' 2014-06-06 12:31:45 -07:00
Andy Clement
e75cea3c41 Merge pull request #65 from zyro23/issue-64
fixes #64: support spaces in CodeSource URLs
2014-06-04 07:30:34 -07:00
Andy Clement
de12b9ce67 Merge pull request #66 from zyro23/issue-43
fixes #43: only print stacktrace if debugplugins is enabled
2014-06-04 07:29:59 -07:00
Andy Clement
e33dad83c7 Workaround for issue #69
Made rewriting all system classes optional, to enable easy testing
of whether a given problem is simply that some system classes
are currently being ignored.
2014-06-03 23:43:24 -07:00
zyro
d95c34821e fixes #43: only print stacktrace if debugplugins is enabled 2014-05-31 10:43:55 +02:00
zyro
61c308cdbb fixes #64: support spaces in CodeSource URLs 2014-05-31 10:36:20 +02:00
Andy Clement
9baf7b5514 Fixes #55: not respecting cacheDir if not in grails profile 2014-05-21 06:53:11 -07:00
Andy Clement
9574b11446 Allow for class not yet loaded when rewriting invokedynamic 2014-05-20 22:53:41 -07:00
Andy Clement
8c49ba3822 Performance work
1. types now keep track of their subtypes, enabling smarters checks
   after reloading: "has anything in my hierarchy been reloaded?"
   instead of "has anything at all been reloaded?"

2. Building on that, caches related to info built during reflective
   calls like 'getDeclaredMethods()' and 'getMethods()' is cleared
   from types (and subtypes) during reload. The caches will
   subsequently be rebuilt/reused on the next request for that
   info.

3. New guards in ivicheck/etc: 'have things in my
   hierarchy been reloaded?'
2014-05-20 11:29:23 -07:00
Andy Clement
65a333238c asm 5 changes for visitMethodInsn 2014-05-20 11:28:02 -07:00
Andy Clement
11ab77be77 polish 2014-05-20 10:25:24 -07:00
Andy Clement
0787767b09 Upgrade to asm-5.0.2
This ASM has a different visitMethodInsn() instruction so
there are big changes throughout the code. The tests are running
fine but as new testcases are added related to Java8 we may need
further fixes to take account of the extra isInterface parameter
on visitMethodInsn()
2014-05-15 12:36:13 -07:00
Andy Clement
8f74625829 SpringPlugin: clear parameter names cache on reload 2014-05-13 23:16:51 -07:00
Andy Clement
4d9e6b287b Fixes #61: support invokevirtual bootstrap method type 2014-04-28 14:10:50 -07:00
Andy Clement
5279658db3 polish, remove this 2014-04-09 13:13:02 -07:00
Andy Clement
1b96b3da84 allow for com.sun.proxy prefixed proxy names 2014-04-07 13:04:11 -07:00
Andy Clement
8db3167a7c null guard 2014-03-25 08:06:10 -07:00
Andy Clement
37c6f5ba21 guard for github issue 52 2014-03-24 22:45:54 -07:00
Andy Clement
69645a24be Configurable enum limit 2014-03-12 10:31:00 -07:00
Andy Clement
93f9ab4444 Fix issue with Spring Boot now using Spring component in CGLIB names - github issue #49 2014-03-11 15:39:22 -07:00
Andy Clement
513257a84d Serialization handling - see github issue #24 2014-03-11 12:39:34 -07:00
Andy Clement
4bd2f93d71 Fixes #32: NPE in SpringLoadedPreProcessor 2014-03-06 13:29:59 -08:00
Andy Clement
ee3b3acc2f Fixing warnings and harness around running Java8 tests and separate JVM tests 2014-02-26 13:16:57 -08:00
Andy Clement
b474237898 Fixed remaining javadoc issues 2014-02-25 15:15:58 -08:00
Andy Clement
6082381468 Fixing javadoc issues 2014-02-25 11:24:30 -08:00
Andy Clement
b9c7cdf4a7 Fixes #40 - Error message with Spring 4 2014-02-24 16:33:45 -08:00
Andy Clement
658745a46b Fix github#27: NPE in TypeRegistry.loadPropertiesConfiguration 2014-02-22 11:11:41 -08:00
Andy Clement
ad6a825688 Allow changing of lambda SAM types (alter method descriptor)
This is currently the 'slow' implementation and actually
slows down invokeinterface too - need to get the fast version
done...
2014-02-21 09:15:27 -08:00
Andy Clement
e400e2da63 Working Java8 build!
- Split the AspectJ testcode out of the general testdata project.
- Adjusted tests to handle that JDT produces different code to AspectJ.
- Modified some tests to work better with javac compiled testdata (which
  is what happens when building on the command line or build machine)
2014-02-20 09:13:14 -08:00
Andy Clement
526a4d0901 Simplifying the build. Move Java8 code into the main module (springloaded).
This means the springloaded module must be built on top of a 1.8 JRE
although it can be built with 1.6 compliance.
2014-02-18 13:49:51 -08:00
Andy Clement
db06b6f619 Fixing the build process for Java8 2014-02-18 09:27:23 -08:00
Andy Clement
da7045b350 diagnostics added for when indy not rewritten 2014-02-17 17:38:30 -08:00
Andy Clement
28a600bb2f Java8 support polish 2014-02-17 17:36:23 -08:00
Andy Clement
39be705aa5 Java8 support 2014-02-17 16:24:52 -08:00
Andy Clement
9774e2a0d4 WIP on Java8. Looking at lambda reloading first (required invokedynamic handling) 2014-02-13 10:39:32 -08:00
Andy Clement
8dff505b88 Groundwork for performance related tests 2014-02-06 13:38:04 -08:00
Andy Clement
7afa2a3da7 Fix problem with not ignoring org.springsource.loaded classes 2014-02-06 13:36:36 -08:00
Andy Clement
77acb0aca9 improving the use of java util Logging 2014-02-05 10:47:20 -08:00
Andy Clement
fd4244aca1 Fix for problem with cglib proxies in spring boot apps 2014-02-04 15:09:48 -08:00
Andy Clement
59be31b9f9 GITHUB-34: final methods, interfaces and enums 2014-02-03 20:31:21 -08:00
Andy Clement
10b95ef8c1 organize imports 2014-02-03 20:27:44 -08:00
Andrew Clement
2337f84fdd Various changes:
- Fix for GRAILS-10411 (super dispatchers)
- Better forked JVM test harness
- Work in progress on improved logging/explain mode
2014-01-31 13:22:49 -08:00
Andy Clement
64cd7e84dc Fix GRAILS-10745: cope with null classname in cache handling logic 2014-01-27 15:30:59 -08:00
Andy Clement
db5447e060 GRAILS-7799: Adjust treatment of CGLIB generated types 2014-01-23 15:16:45 -08:00
Andy Clement
b253399eac Fix for enums test 2014-01-22 14:29:35 -08:00
Rob Winch
5361830d56 move to springloaded 2014-01-16 22:00:07 -06:00