Commit Graph

223 Commits

Author SHA1 Message Date
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
Spring Buildmaster
7d3decea39 [artifactory-release] Next development version 2016-04-11 21:30:30 +00:00
Spring Buildmaster
91be5ac77c [artifactory-release] Release version 1.2.6 2016-04-11 21:30:27 +00: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
b3517d8fdc Change path to 1.2.6 snapshots 2015-12-03 07:06:14 -08:00
Andy Clement
a27e783711 versions updated to 1.2.5/1.2.6 2015-12-03 06:57:49 -08:00
Spring Buildmaster
b98e8e8107 [artifactory-release] Next development version 2015-12-02 22:23:09 -08:00
Spring Buildmaster
a8f282c53c [artifactory-release] Release version 1.2.5.RELEASE 2015-12-02 22:23:06 -08:00
Andy Clement
dcd36f9e0e Merge pull request #161 from kaklakariada/patch-1
Minor changes in README
2015-11-18 12:48:09 -08:00
kaklakariada
24c15bc9d8 Minor changes in README
- update repo link in `git clone` example
- format method/file names and options in mono-space font
2015-11-18 20:43:17 +01: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
Andy Clement
74c1906e2a Merge pull request #154 from lhartikk/H_NEWINVOKESPECIAL
Add support for H_NEWINVOKESPECIAL
2015-11-18 11:21:52 -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
fd571a8310 Merge pull request #143 from spring-projects/fix-version
Fix latest release version
2015-09-04 09:19:18 -07:00
Stéphane Nicoll
f66939d20e Fix latest release version. 2015-09-04 09:51:48 +02:00
Spring Buildmaster
c5f28ead33 [artifactory-release] Next development version 2015-07-22 08:08:58 -07:00
Spring Buildmaster
fa2946da02 [artifactory-release] Release version 1.2.4 2015-07-22 08:08:36 -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
385eee348c suggestion for windows 2015-03-15 21:43:50 -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
1228ab174c versions released 2015-03-13 08:45:48 -07:00