David Estes
d8be2da0ff
compatibility fix for java 1.5
2017-08-23 08:58:09 -04:00
David Estes
5fda980524
Resolving Issue #194 by swapping out a WeakHashMap for a ConcurrentWeakHashMap implementation
2017-08-18 09:58:53 -04:00
Andy Clement
3552a1c3ca
upgrade gradle
2017-03-21 14:54:03 -07:00
Andy Clement
f556964b68
Merge pull request #195 from graemerocher/issue-165
...
Don't rewrite non-reloading types.
2017-03-17 08:25:06 -07:00
graemerocher
0cfd2ff9f4
Fix broken logic that uses null owner class
...
Fixes https://github.com/spring-projects/spring-loaded/issues/173
Fixes https://github.com/spring-projects/spring-loaded/issues/187
Fixes https://github.com/spring-projects/spring-loaded/issues/175 §
2017-03-17 14:03:48 +01:00
graemerocher
d1d0864905
Don't rewrite non-reloading types.
...
Fixes https://github.com/spring-projects/spring-loaded/issues/165
2017-03-17 12:15:09 +01:00
Andy Clement
386a7dcb03
Fix #190 : remove printStackTrace from catch block
2017-01-11 09:56:55 -08:00
Andy Clement
658a8678a6
Fix #155 : adjust to new proxy generator method
2016-06-24 17:10:51 -07:00
Andy Clement
1fab188b2b
Some tests for ConstantPoolScanner
2016-04-11 12:45:54 -07:00
Andy Clement
a2d9606b15
new variant of ConstantPoolChecker called ConstantPoolScanner
2016-04-11 12:45:31 -07:00
Andy Clement
cfb3a22b8c
Fix #166 ? setAccessible before making invocation
2016-04-10 15:04:23 -07:00
Andy Clement
3c05197d48
Fix Grails-9829: avoid double processing classes for compiled callsites
2016-04-09 13:37:09 -07:00
Andy Clement
cc8958e6af
alternative strategy for preventing NPE in #138
2016-01-18 23:21:09 -08:00
Andy Clement
fe7eb32524
uncomment line
2016-01-18 23:06:20 -08:00
Andy Clement
f83b82d7cb
Cope with null classname to transformer ( #138 )
2016-01-18 22:57:28 -08:00
Andy Clement
bfb55e4c0e
WIP: default method reloading
2016-01-18 22:56:27 -08:00
Andy Clement
f161db7d98
use correct reference
2016-01-15 22:31:08 -08:00
Andy Clement
a06c0f1b0d
Merge pull request #158 from sam-ma/fix-concurrent-modification-exception
...
fix ConcurrentModificationException
2015-11-18 11:23:28 -08:00
Sam Ma
a3f91a4a22
fix ConcurrentModificationException
2015-11-08 15:30:22 +11:00
Lauri Hartikka
91e3e652aa
Add support for H_NEWINVOKESPECIAL
2015-10-18 17:38:46 +03:00
Andy Clement
743f2814c3
cope with IllegalArgumentException on reflective access
2015-10-07 15:41:31 -07:00
Andy Clement
9fd5ffcfa2
Grails 9309 - make the subtype message only appear on verbose mode
2015-10-06 22:24:03 -07:00
Andy Clement
409f95498a
Fixes #136 - two threads accessing package name lists
2015-09-23 13:19:54 -07:00
Andy Clement
3fc5dd056d
Reworking split package related changes.
...
Instead of considering things from jars to be reloadable if
they are in the same package as subtypes that are also reloadable
it is better to just make the test (isTopmostReloadable()) smarter.
This test determines which reloadable type is the highest in
the hierarchy and gets extra state added to it. With a 'dumb test'
it was assuming further parents were reloadable because they
were in the same package as the subtype. Now it does a more
costly, more precise check.
The original solution had problems because if you made some classes
from a jar reloadable, that confused handled of other subclasses
of those types in other jars (that did not share the same package
name so would not have been made reloadable).
This area of the code to do with a bit of a smack with a
refactoring hammer to streamline it.
2015-07-20 21:57:46 -07:00
Andy Clement
d2fc21dc1d
Better support for split packages.
...
- if you force an inclusion via 'inclusions=foo..*' then
allow for everything in that package to be made reloadable
regardless of it coming from jar or disk.
- when inclusion patterns don't match fall back on regular
acceptance mechanisms (like package cache, etc) rather
than just dismissing it.
- the results of decision making around making things
reloadable are now enums/objects rather than plain booleans
so that later we can do further analysis on those
decisions.
Issue: https://github.com/grails/grails-core/issues/8817
2015-07-15 08:44:10 -07:00
Andy Clement
51cce3c0d7
Added option allowSplitPackages=true/false
2015-07-12 16:07:28 -07:00
Andy Clement
f887a6a0bf
simple test for Issue104 - inconclusive
2015-07-12 11:25:57 -07:00
Andy Clement
e131cf6c70
windows slash handling
2015-06-30 07:45:05 -07:00
Andy Clement
1eb2a1263c
Fix virtual method variant of invokedynamic reloading
...
Issue: #87
2015-06-28 19:30:52 -07:00
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