David Estes
3efc0e5530
Fixes concurrency issue where a classload in a concurrent environment with a large number of classes can cause a loss of a TypeRegistry entry
2020-07-01 22:17:41 -04:00
Andy Clement
59b32f957a
Merge pull request #216 from spring-operator/polish-urls-remaining-master
...
URL Cleanup
2019-04-23 08:11:36 -07:00
Spring Operator
be39be1624
URL Cleanup
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
# Fixed URLs
## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.
* [ ] http://www.apache.org/licenses/ with 7 occurrences migrated to:
https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/ ) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0 with 205 occurrences migrated to:
https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0 ) result 200).
2019-03-21 15:29:05 -05:00
Spring Operator
7c493bc46f
URL Cleanup
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
# Fixed URLs
## Fixed But Review Recommended
These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended.
* [ ] http://permalink.gmane.org/gmane.comp.java.openjdk.jdk7u.devel/6573 (IllegalArgumentException) with 1 occurrences migrated to:
https://permalink.gmane.org/gmane.comp.java.openjdk.jdk7u.devel/6573 ([https](https://permalink.gmane.org/gmane.comp.java.openjdk.jdk7u.devel/6573 ) result IllegalArgumentException).
## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.
* [ ] http://dist.springsource.org/snapshot/GRECLIPSE/e4.2/ with 1 occurrences migrated to:
https://dist.springsource.org/snapshot/GRECLIPSE/e4.2/ ([https](https://dist.springsource.org/snapshot/GRECLIPSE/e4.2/ ) result 200).
* [ ] http://repo.spring.io/release/org/springframework/springloaded/1.2.5.RELEASE/springloaded-1.2.5.RELEASE.jar with 1 occurrences migrated to:
https://repo.spring.io/release/org/springframework/springloaded/1.2.5.RELEASE/springloaded-1.2.5.RELEASE.jar ([https](https://repo.spring.io/release/org/springframework/springloaded/1.2.5.RELEASE/springloaded-1.2.5.RELEASE.jar ) result 200).
* [ ] http://download.eclipse.org/tools/ajdt/42/dev/update with 1 occurrences migrated to:
https://download.eclipse.org/tools/ajdt/42/dev/update ([https](https://download.eclipse.org/tools/ajdt/42/dev/update ) result 301).
* [ ] http://java.sun.com/docs/books/jls/third_edition/html/conversions.html with 1 occurrences migrated to:
https://java.sun.com/docs/books/jls/third_edition/html/conversions.html ([https](https://java.sun.com/docs/books/jls/third_edition/html/conversions.html ) result 302).
* [ ] http://java.sun.com/docs/books/jvms/second_edition/html/ClassFile.doc.html with 3 occurrences migrated to:
https://java.sun.com/docs/books/jvms/second_edition/html/ClassFile.doc.html ([https](https://java.sun.com/docs/books/jvms/second_edition/html/ClassFile.doc.html ) result 302).
* [ ] http://java.sun.com/docs/books/jvms/second_edition/html/Instructions2.doc5.html with 1 occurrences migrated to:
https://java.sun.com/docs/books/jvms/second_edition/html/Instructions2.doc5.html ([https](https://java.sun.com/docs/books/jvms/second_edition/html/Instructions2.doc5.html ) result 302).
2019-03-20 20:10:02 -05:00
Jaroslav Tulach
6e8f93512a
Briging ReadyForJVMCI closer to master
2017-11-29 06:30:41 +01:00
Jaroslav Tulach
55d7f26443
Don't create a TypeRegistry for classloaders that don't see the application class path like JVMCI classloader & co.
2017-11-29 06:29:20 +01:00
Andy Clement
7818d5e8ab
Fixed up SpringPlugin to handle Spring 4 changes
2017-11-23 16:54:19 -08:00
Andy Clement
13a36168b0
Fix #197 : allow for differing cglib code in recent Spring
2017-11-23 12:55:33 -08:00
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
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
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
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
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