Commit Graph

73 Commits

Author SHA1 Message Date
Andy Clement
773d25019b Support the InvokeDynamicInsnNode case in the type diff computer
Issue: #119
2015-06-26 14:32:24 -07:00
Andy Clement
a3d98e4fc1 Log exceptions rather than slapping them on the console
Issue: #120
2015-06-26 14:10:03 -07:00
Andy Clement
4e1db7fef0 Fixed coping with nulls on include patterns too
Issue: #122
2015-06-26 13:45:06 -07:00
Andy Clement
7c57f7073f Cope with null slashedname when processing exclude patterns
Issue: #122
2015-06-26 13:34:55 -07:00
Andy Clement
8381a562da use APIs available on < 1.8 jdk 2015-05-05 22:32:58 -07:00
Andy Clement
56d0c00822 Rudimentary jar watching
New options watchJars takes a colon separated list of jars
(just the jar names, not paths).  For example:

-Dspringloaded=watchJars=foo.jar:bar.jar

Committed some very basic tests that are passing, they are in
the SpringLoadedTestsInSeparateJVM test class, see the
tests with 'jar' in the name.
2015-05-05 17:50:57 -07:00
Andy Clement
d313c506ca Fix for #116: NPE fixing up system classes
I haven't recreated this problem but I've put a guard in place
that tries an alternative way to get a useful classloader.
2015-05-02 16:36:35 -07:00
Andy Clement
ea9d1a482f Modified version of copy fix, this one avoids the test failures that the other fix causes. 2015-03-16 21:39:35 -07:00
Andy Clement
22bc5e3c02 carriage returns removed from sources 2015-03-15 21:37:23 -07:00
Andy Clement
a36a14527c Spring formatting rules committed and applied 2015-03-15 21:29:11 -07:00
Andy Clement
8f299288dd pick the first public candidate 2015-03-15 19:57:01 -07:00
Andy Clement
c89a0d0a23 fix for copy field problem in issue 98 2015-03-12 21:09:04 -07:00
Andy Clement
1eb033f7e6 lambda reloading, invokeinterface support - fixes #82 2015-03-07 22:11:49 -08:00
Andy Clement
ad81779bff possible fix for https://github.com/spring-projects/spring-loaded/issues/98 2015-03-05 11:03:03 -08:00
Joe Schweitzer
65bf33fa72 Check for null codeSource before attempting to access
codeSource.getLocation()
2015-02-06 01:29:38 -05:00
Sergey Tselovalnikov
1a51c0063a Fix missing constants. Fix Ratpack compatibility. 2015-01-16 20:06:57 +03:00
Sebastien Deleuze
9cc6639566 Polish SpringPlugin 2014-08-27 16:52:11 +02:00
Sebastien Deleuze
58631b3a06 Fix @RequestMapping reloading with Spring Framework >= 4.0.6 2014-08-27 16:44:48 +02:00
Sebastien Deleuze
b98a6caa70 Fix #80: NoSuchFieldException with Spring 4.1 2014-08-26 18:17:07 +02:00
zyro
6745d4720a another occurrence of printStackTrace that should only be run if
GlobalConfiguration.debugplugins is true
2014-07-09 16:52:53 +02:00
Andy Clement
bbfd4a0d77 Preliminary but currently inactive JSR45 work 2014-06-06 12:33:13 -07:00
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
001c21bf26 more testcases for performance optimization infrastructure changes 2014-06-06 12:32:13 -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
d1942dc498 for future debugging in here 2014-04-09 13:13:30 -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
9346b7749b Remove use of Comparator to ease ECJ compilation 2014-03-06 13:27:28 -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