Commit Graph

195 Commits

Author SHA1 Message Date
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
Spring Buildmaster
3632ae63f9 [artifactory-release] Next development version 2015-03-13 08:10:16 -07:00
Spring Buildmaster
12a80ab316 [artifactory-release] Release version 1.2.3 2015-03-13 08:10:05 -07:00
Andy Clement
c89a0d0a23 fix for copy field problem in issue 98 2015-03-12 21:09:04 -07:00
Spring Buildmaster
489e1fe29b [artifactory-release] Next development version 2015-03-10 10:49:41 -07:00
Spring Buildmaster
fed750ecec [artifactory-release] Release version 1.2.2.RELEASE 2015-03-10 10:49:30 -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
Andy Clement
10edc10dfd Merge pull request #103 from joeschweitzer/master
Check for null codeSource before attempting to access
2015-02-12 22:09:23 -08:00
Joe Schweitzer
65bf33fa72 Check for null codeSource before attempting to access
codeSource.getLocation()
2015-02-06 01:29:38 -05:00
Andy Clement
9b0f07c3bb Merge pull request #100 from SerCeMan/master
Fix missing constants. Fix Ratpack compatibility.
2015-01-19 11:23:15 -08:00
Sergey Tselovalnikov
1a51c0063a Fix missing constants. Fix Ratpack compatibility. 2015-01-16 20:06:57 +03:00
Andy Clement
69099e8f8e Merge pull request #88 from sdeleuze/master
Update versions in README.md
2014-10-08 14:51:23 -07:00
Sebastien Deleuze
10b0015399 Update versions in README.md 2014-10-06 13:17:39 +02:00
Spring Buildmaster
a271a33fa9 [artifactory-release] Next development version 2014-09-25 12:57:10 -07:00
Andy Clement
60c7503e13 Merge pull request #81 from sdeleuze/seb
Various SpringPlugin fixes
2014-08-28 16:45:18 -07: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
Andy Clement
7ccfb30e30 Merge pull request #74 from zyro23/print-only-when-debug
another occurrence of printStackTrace ...
2014-07-10 09:59:05 +01: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