121 Commits

Author SHA1 Message Date
Bobby Warner
e57bd40f75 Fix class names to resolve build issue 2020-08-28 15:09:26 -05:00
Andy Clement
0b0722fdd4 Merge pull request #224 from davydotcom/path-asm-update
Update ASM Dependency to 5.2
2020-08-27 15:12:38 -07:00
Andy Clement
4878ccd690 Merge pull request #178 from vcharmcaster/master
refactoring code
2020-08-27 15:07:52 -07:00
Andy Clement
9ff5aabbb0 Merge pull request #179 from SakalyaDeshpande/master
Removing Commented Code
2020-08-27 15:06:15 -07:00
Andy Clement
e66e752d8f Merge pull request #221 from liuzhengyang/fixIsDoubleSlot
Fix Utils.isDoubleSlot, 'L' should be 'D'.
2020-08-27 15:05:09 -07:00
davydotcom
489c5e259d removing useless commented code 2020-08-27 08:27:42 -04:00
davydotcom
cf07166f1d Checking if ReflectionUtils class exists and clears its cache in the event of a class chanage 2020-08-23 16:35:57 -04:00
David Estes
cadaedcdee fixing type-registry concurrency issue 2020-07-21 16:42:05 -04:00
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
liuzhengyang
746732a9fc Fix Utils.isDoubleSlot, 'L' should be 'D'. 2019-09-29 18:15:50 +08: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
Sakalya Deshpande
0578b97339 Update ClassRenamer.java
Removing the unnecessary Sysouts from commented code.
2016-06-30 18:03:39 +05:30
Vaibhav kulkarni
7efb2d9e2d moved preInvokeSpecial and postInvokeSpecial constants to Constants interface
Constants interface is used to keep all Constants 
it makes more sence to keep all Constants variables at same place.
2016-06-25 10:54:08 +05:30
Vaibhav kulkarni
4034dc565c added preInvokeSpecial, postInvokeSpecial constants
This constants were present in ConstructorCopier  class which implements Constants
It makes more sence to keep all constant at same place
2016-06-25 10:52:14 +05:30
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