You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 09:20:34 UTC
[sling-org-apache-sling-commons-classloader] annotated tag
org.apache.sling.commons.classloader-1.2.4 created (now 5ef6bf0)
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a change to annotated tag org.apache.sling.commons.classloader-1.2.4
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-commons-classloader.git.
at 5ef6bf0 (tag)
tagging 8baa2b8fd0912d0ddc3381d69d931ed35eee8a90 (commit)
by Carsten Ziegeler
on Tue Jan 3 08:04:33 2012 +0000
- Log -----------------------------------------------------------------
org.apache.sling.commons.classloader-1.2.4
-----------------------------------------------------------------------
This annotated tag includes the following new commits:
new 046ba4f SLING-1007 : Initial work of a dynamic class loader loading classes through package admin. In addition dynamic class loader providers can be registered.
new 5836631 Add simple junit test for dynamic class loading through package admin.
new ea90c38 Move classloader to main bundle area - as discussed recently
new 6b8a1f4 Correct activator.
new 3ffeb64 Ignore target directory.
new cc3b40d Fix class cast.
new 2813fc7 Fix resource handling (packages are separated by a slash not by a dot)
new 97bcc33 Register classloader as a service factory to get access to the client bundle for class loading.
new 54194d4 Fix AIOOB
new c5338c1 forgot to commit test case
new 8023ea1 Provide parent class loader to dynamic class loader providers; check for null reference.
new a2ba64a Experimental class loader writer for scripting engines.
new ce0fe40 SLING-1070 : Change class loading of package admin class loader to parent first, cache classes and resources in the class loader facade and reregister manager factory, if a used bundle is changed.
new 3c831d4 Activator must implement BundleActivator
new bf847ec Remove duplicate interface
new 0891b68 Don't cache classes in the facade, cache them in the package admin class loader.
new a391329 Remove warnings
new 61594f5 svn:ignore
new 8dd47bc Use latest parent pom.
new 9fc087f [maven-release-plugin] prepare release org.apache.sling.commons.classloader-0.9.0
new 1349bb6 [maven-release-plugin] prepare for next development iteration
new 3ffb349 SLING-1135 need to overwrite the loadClass(String, boolean) method and not the loadClass(String) method because only the former is called from "child" class loaders in class loader hierarchies.
new 1428ebb [maven-release-plugin] prepare release org.apache.sling.commons.classloader-1.0.0
new 27e590d [maven-release-plugin] prepare for next development iteration
new e4bc6a3 SLING-1144 : Make sync variable volatile and use tracker count instead of keeping track of changes by using custom methods.
new 2ffcc20 SLING-1145 : Exceptions from dynamic class loader providers should be catched
new b005143 SLING-1191 : Dynamic class loader providers are not reloaded when bundles are updated/installed etc. Add new release method to the dynamic class loader provider. This allows a provider to react on bundle/class loader changes.
new bbbcd5e SLING-1201 : ClassLoaderFacade should not throw runtime exceptions and handle getResources() correctly
new def5c73 Just pass missing class into exception constructor.
new 8b116a6 [maven-release-plugin] prepare release org.apache.sling.commons.classloader-1.1.0
new cb68330 [maven-release-plugin] prepare for next development iteration
new 5b3520b Add missing line to avoid NPE during deactivate.
new 8407654 SLING-1205 Upgrade all projects to parent POM 8 and use OSGi provided OSGi libraries
new c980e59 [maven-release-plugin] prepare release org.apache.sling.commons.classloader-1.1.2
new a060ae3 [maven-release-plugin] prepare for next development iteration
new 8276822 SLING-1302 : After a NoClassDefError classes are still not found even if they have been installed in the meantime
new 1725c86 [maven-release-plugin] prepare release org.apache.sling.commons.classloader-1.1.4
new a762a81 [maven-release-plugin] prepare for next development iteration
new 3eb11de [maven-release-plugin] prepare release org.apache.sling.commons.classloader-1.1.4
new 465656f [maven-release-plugin] prepare for next development iteration
new 275c4fd SLING-1435 : After a NoClassDefError classes are still not found even if they have been installed in the meantime with Java 6
new 0ad21e6 SLING-1435 : After a NoClassDefError classes are still not found even if they have been installed in the meantime with Java 6
new 094b2a7 Use released parent pom.
new 0944f2a SLING-1636 : Provide a mechanism to detect if a dynamic classloader is still valid
new f02c5e4 Update notice file
new fd78982 [maven-release-plugin] prepare release org.apache.sling.commons.classloader-1.2.0
new 91e461f [maven-release-plugin] prepare for next development iteration
new 3334eb4 updating all modules to parent 10-SNAPSHOT in anticipation of emma additions to parent
new 3d47c5f fixing relativePaths
new 83f1bd2 SLING-1874 cycle the class loader manager service when a used bundle has a RESOVLED event which is sent when the wiring of the bundle has been refreshed (no UNRESOLED event is sent in this case).
new b16702e Prepare release
new adb91f6 [maven-release-plugin] prepare release org.apache.sling.commons.classloader-1.2.2
new 4943804 [maven-release-plugin] prepare for next development iteration
new 30051e7 Update to recent snapshots
new cd39c96 Use latest releases.
new ed6acd5 Update javadocs
new 1f859b9 SLING-2122 : SynchronousBundleListener might be called concurrently
new 6e52fa6 SLING-2150 : Update plugins to use the latest available versions
new 8fe822e Update to recent snapshot
new 4c88f70 Using latest released parent pom
new 665c019 SLING-2187 - adding new module to contain our custom notice file; adding remote-resources plugin configuration to parent pom and removing all existing appended-resources NOTICE files
new 892e11c temporarily using snapshots during release vote
new fc91e43 using latest releases
new bf4f139 SLING-2232 : Package admin classloader should check bundle state
new 155d784 [maven-release-plugin] prepare release org.apache.sling.commons.classloader-1.2.4
new 8baa2b8 [maven-release-plugin] copy for tag org.apache.sling.commons.classloader-1.2.4
The 66 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
--
To stop receiving notification emails like this one, please contact
['"commits@sling.apache.org" <co...@sling.apache.org>'].
[sling-org-apache-sling-commons-classloader] 10/14: temporarily
using snapshots during release vote
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.commons.classloader-1.2.4
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-commons-classloader.git
commit 892e11c04ce7f807417e014883ee571f0d2fc372
Author: Justin Edelson <ju...@apache.org>
AuthorDate: Wed Aug 31 20:10:55 2011 +0000
temporarily using snapshots during release vote
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/commons/classloader@1163785 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 0d3509f..f596f7a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.sling</groupId>
<artifactId>sling</artifactId>
- <version>12-SNAPSHOT</version>
+ <version>13-SNAPSHOT</version>
<relativePath>../../../parent/pom.xml</relativePath>
</parent>
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-commons-classloader] 12/14: SLING-2232 :
Package admin classloader should check bundle state
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.commons.classloader-1.2.4
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-commons-classloader.git
commit bf4f1394bf381aa68f0774187a239f427de627ec
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Tue Sep 27 09:08:05 2011 +0000
SLING-2232 : Package admin classloader should check bundle state
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/commons/classloader@1176288 13f79535-47bb-0310-9956-ffa450edef68
---
.../commons/classloader/impl/PackageAdminClassLoader.java | 10 +++++++++-
.../sling/commons/classloader/impl/ClassLoadingTest.java | 4 ++++
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/sling/commons/classloader/impl/PackageAdminClassLoader.java b/src/main/java/org/apache/sling/commons/classloader/impl/PackageAdminClassLoader.java
index 0c869b7..fb3bed9 100644
--- a/src/main/java/org/apache/sling/commons/classloader/impl/PackageAdminClassLoader.java
+++ b/src/main/java/org/apache/sling/commons/classloader/impl/PackageAdminClassLoader.java
@@ -67,7 +67,15 @@ class PackageAdminClassLoader extends ClassLoader {
*/
private Bundle findBundleForPackage(final String pckName) {
final ExportedPackage exportedPackage = this.packageAdmin.getExportedPackage(pckName);
- final Bundle bundle = (exportedPackage == null ? null : exportedPackage.getExportingBundle());
+ Bundle bundle = null;
+ if (exportedPackage != null && !exportedPackage.isRemovalPending() ) {
+ bundle = exportedPackage.getExportingBundle();
+ if ( bundle != null ) {
+ if ( bundle.getState() != Bundle.ACTIVE ) {
+ bundle = null;
+ }
+ }
+ }
return bundle;
}
diff --git a/src/test/java/org/apache/sling/commons/classloader/impl/ClassLoadingTest.java b/src/test/java/org/apache/sling/commons/classloader/impl/ClassLoadingTest.java
index 2c2d5a0..a5497c4 100644
--- a/src/test/java/org/apache/sling/commons/classloader/impl/ClassLoadingTest.java
+++ b/src/test/java/org/apache/sling/commons/classloader/impl/ClassLoadingTest.java
@@ -61,8 +61,12 @@ public class ClassLoadingTest {
will(returnValue(ep));
allowing(ep).getExportingBundle();
will(returnValue(bundle));
+ allowing(ep).isRemovalPending();
+ will(returnValue(false));
allowing(bundle).getBundleId();
will(returnValue(2L));
+ allowing(bundle).getState();
+ will(returnValue(Bundle.ACTIVE));
one(bundle).loadClass("org.apache.sling.test.A"); inSequence(sequence);
will(returnValue(java.util.Map.class));
one(bundle).loadClass("org.apache.sling.test.A"); inSequence(sequence);
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-commons-classloader] 06/14: SLING-2150 :
Update plugins to use the latest available versions
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.commons.classloader-1.2.4
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-commons-classloader.git
commit 6e52fa607ca5c68004e52ebceee236e52fb40137
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Wed Jul 20 12:21:40 2011 +0000
SLING-2150 : Update plugins to use the latest available versions
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/commons/classloader@1148722 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 6fa22e2..c8024f3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.sling</groupId>
<artifactId>sling</artifactId>
- <version>10</version>
+ <version>11-SNAPSHOT</version>
<relativePath>../../../parent/pom.xml</relativePath>
</parent>
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-commons-classloader] 09/14: SLING-2187 -
adding new module to contain our custom notice file;
adding remote-resources plugin configuration to parent pom and removing all
existing appended-resources NOTICE files
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.commons.classloader-1.2.4
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-commons-classloader.git
commit 665c019d8c0134e48c95612739c2f290dcff8529
Author: Justin Edelson <ju...@apache.org>
AuthorDate: Wed Aug 31 19:23:49 2011 +0000
SLING-2187 - adding new module to contain our custom notice file; adding remote-resources plugin configuration to parent pom and removing all existing appended-resources NOTICE files
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/commons/classloader@1163752 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 56b6cc3..0d3509f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.sling</groupId>
<artifactId>sling</artifactId>
- <version>11</version>
+ <version>12-SNAPSHOT</version>
<relativePath>../../../parent/pom.xml</relativePath>
</parent>
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-commons-classloader] 11/14: using latest
releases
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.commons.classloader-1.2.4
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-commons-classloader.git
commit fc91e43e3afaa5f6b6264caad3eef4bfe4a72049
Author: Justin Edelson <ju...@apache.org>
AuthorDate: Wed Sep 7 14:35:51 2011 +0000
using latest releases
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/commons/classloader@1166199 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index f596f7a..06397f7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.sling</groupId>
<artifactId>sling</artifactId>
- <version>13-SNAPSHOT</version>
+ <version>12</version>
<relativePath>../../../parent/pom.xml</relativePath>
</parent>
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-commons-classloader] 14/14:
[maven-release-plugin] copy for tag
org.apache.sling.commons.classloader-1.2.4
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.commons.classloader-1.2.4
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-commons-classloader.git
commit 8baa2b8fd0912d0ddc3381d69d931ed35eee8a90
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Tue Jan 3 08:04:33 2012 +0000
[maven-release-plugin] copy for tag org.apache.sling.commons.classloader-1.2.4
git-svn-id: https://svn.apache.org/repos/asf/sling/tags/org.apache.sling.commons.classloader-1.2.4@1226685 13f79535-47bb-0310-9956-ffa450edef68
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-commons-classloader] 03/14: Use latest
releases.
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.commons.classloader-1.2.4
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-commons-classloader.git
commit cd39c96eb70e7ee9b31f276cd97751a0c1cef23b
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Mon Dec 13 08:55:35 2010 +0000
Use latest releases.
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/commons/classloader@1045037 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index c8024f3..6fa22e2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.sling</groupId>
<artifactId>sling</artifactId>
- <version>11-SNAPSHOT</version>
+ <version>10</version>
<relativePath>../../../parent/pom.xml</relativePath>
</parent>
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-commons-classloader] 05/14: SLING-2122 :
SynchronousBundleListener might be called concurrently
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.commons.classloader-1.2.4
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-commons-classloader.git
commit 1f859b96921b2043248dcffe9a389c9fa9f1ab10
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Mon Jul 4 07:04:02 2011 +0000
SLING-2122 : SynchronousBundleListener might be called concurrently
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/commons/classloader@1142570 13f79535-47bb-0310-9956-ffa450edef68
---
.../sling/commons/classloader/impl/Activator.java | 26 ++++++++++++----------
1 file changed, 14 insertions(+), 12 deletions(-)
diff --git a/src/main/java/org/apache/sling/commons/classloader/impl/Activator.java b/src/main/java/org/apache/sling/commons/classloader/impl/Activator.java
index 62095e0..d02d899 100644
--- a/src/main/java/org/apache/sling/commons/classloader/impl/Activator.java
+++ b/src/main/java/org/apache/sling/commons/classloader/impl/Activator.java
@@ -108,18 +108,20 @@ public class Activator implements SynchronousBundleListener, BundleActivator {
* @see org.osgi.framework.BundleListener#bundleChanged(org.osgi.framework.BundleEvent)
*/
public void bundleChanged(BundleEvent event) {
- final boolean reload;
- if ( event.getType() == BundleEvent.RESOLVED ) {
- reload = this.service.isBundleUsed(event.getBundle().getBundleId())
- || this.service.hasUnresolvedPackages(event.getBundle());
- } else if ( event.getType() == BundleEvent.UNRESOLVED ) {
- reload = this.service.isBundleUsed(event.getBundle().getBundleId());
- } else {
- reload = false;
- }
- if ( reload ) {
- this.unregisterManagerFactory();
- this.registerManagerFactory();
+ synchronized ( this ) {
+ final boolean reload;
+ if ( event.getType() == BundleEvent.RESOLVED ) {
+ reload = this.service.isBundleUsed(event.getBundle().getBundleId())
+ || this.service.hasUnresolvedPackages(event.getBundle());
+ } else if ( event.getType() == BundleEvent.UNRESOLVED ) {
+ reload = this.service.isBundleUsed(event.getBundle().getBundleId());
+ } else {
+ reload = false;
+ }
+ if ( reload ) {
+ this.unregisterManagerFactory();
+ this.registerManagerFactory();
+ }
}
}
}
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-commons-classloader] 01/14:
[maven-release-plugin] prepare for next development iteration
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.commons.classloader-1.2.4
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-commons-classloader.git
commit 494380407bcbe186c56c6a64340417e546f40511
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Wed Dec 8 16:22:47 2010 +0000
[maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/commons/classloader@1043494 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/pom.xml b/pom.xml
index 30f63d2..6fa22e2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -29,7 +29,7 @@
<artifactId>org.apache.sling.commons.classloader</artifactId>
<packaging>bundle</packaging>
- <version>1.2.2</version>
+ <version>1.2.3-SNAPSHOT</version>
<name>Apache Sling Dynamic Class Loader Support</name>
<description>
@@ -37,9 +37,9 @@
</description>
<scm>
- <connection>scm:svn:http://svn.apache.org/repos/asf/sling/tags/org.apache.sling.commons.classloader-1.2.2</connection>
- <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/tags/org.apache.sling.commons.classloader-1.2.2</developerConnection>
- <url>http://svn.apache.org/viewvc/sling/tags/org.apache.sling.commons.classloader-1.2.2</url>
+ <connection>scm:svn:http://svn.apache.org/repos/asf/sling/trunk/bundles/commons/classloader</connection>
+ <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/trunk/bundles/commons/classloader</developerConnection>
+ <url>http://svn.apache.org/viewvc/sling/trunk/bundles/commons/classloader</url>
</scm>
<build>
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-commons-classloader] 02/14: Update to
recent snapshots
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.commons.classloader-1.2.4
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-commons-classloader.git
commit 30051e7772efdd0eb9aea6c63f2eab19db2f79b1
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Wed Dec 8 16:37:27 2010 +0000
Update to recent snapshots
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/commons/classloader@1043504 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 6fa22e2..c8024f3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.sling</groupId>
<artifactId>sling</artifactId>
- <version>10</version>
+ <version>11-SNAPSHOT</version>
<relativePath>../../../parent/pom.xml</relativePath>
</parent>
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-commons-classloader] 13/14:
[maven-release-plugin] prepare release
org.apache.sling.commons.classloader-1.2.4
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.commons.classloader-1.2.4
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-commons-classloader.git
commit 155d784742d7e6b2c63008f7e0615c0b9044d95b
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Tue Jan 3 08:04:16 2012 +0000
[maven-release-plugin] prepare release org.apache.sling.commons.classloader-1.2.4
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/commons/classloader@1226684 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/pom.xml b/pom.xml
index 06397f7..88b8805 100644
--- a/pom.xml
+++ b/pom.xml
@@ -29,7 +29,7 @@
<artifactId>org.apache.sling.commons.classloader</artifactId>
<packaging>bundle</packaging>
- <version>1.2.3-SNAPSHOT</version>
+ <version>1.2.4</version>
<name>Apache Sling Dynamic Class Loader Support</name>
<description>
@@ -37,9 +37,9 @@
</description>
<scm>
- <connection>scm:svn:http://svn.apache.org/repos/asf/sling/trunk/bundles/commons/classloader</connection>
- <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/trunk/bundles/commons/classloader</developerConnection>
- <url>http://svn.apache.org/viewvc/sling/trunk/bundles/commons/classloader</url>
+ <connection>scm:svn:http://svn.apache.org/repos/asf/sling/tags/org.apache.sling.commons.classloader-1.2.4</connection>
+ <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/tags/org.apache.sling.commons.classloader-1.2.4</developerConnection>
+ <url>http://svn.apache.org/viewvc/sling/tags/org.apache.sling.commons.classloader-1.2.4</url>
</scm>
<build>
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-commons-classloader] 07/14: Update to
recent snapshot
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.commons.classloader-1.2.4
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-commons-classloader.git
commit 8fe822e7eb80716af9015b0aad7560be8d7b93fd
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Wed Aug 3 09:01:37 2011 +0000
Update to recent snapshot
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/commons/classloader@1153397 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index c8024f3..0d3509f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.sling</groupId>
<artifactId>sling</artifactId>
- <version>11-SNAPSHOT</version>
+ <version>12-SNAPSHOT</version>
<relativePath>../../../parent/pom.xml</relativePath>
</parent>
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-commons-classloader] 04/14: Update javadocs
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.commons.classloader-1.2.4
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-commons-classloader.git
commit ed6acd51565358a3a3c98b12fb692d2f433546a3
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Fri Jan 28 10:00:14 2011 +0000
Update javadocs
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/commons/classloader@1064618 13f79535-47bb-0310-9956-ffa450edef68
---
.../sling/commons/classloader/DynamicClassLoaderManager.java | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/src/main/java/org/apache/sling/commons/classloader/DynamicClassLoaderManager.java b/src/main/java/org/apache/sling/commons/classloader/DynamicClassLoaderManager.java
index 25aae5b..ac41034 100644
--- a/src/main/java/org/apache/sling/commons/classloader/DynamicClassLoaderManager.java
+++ b/src/main/java/org/apache/sling/commons/classloader/DynamicClassLoaderManager.java
@@ -29,6 +29,16 @@ package org.apache.sling.commons.classloader;
* service to load classes and resources. The search
* path can be extended by providing
* {@link DynamicClassLoaderProvider}s.
+ *
+ * Keep in mind, that the class loader might get invalid.
+ * This happens for example, if the class loader loaded
+ * a class from a bundle which has been updated in the
+ * meantime. Or a dynamic class loader provider has changed.
+ *
+ * In these cases, the dynamic class loader manager service
+ * is unregistered and reregistered again, so you should
+ * reget your classloader and invalidate loaded objects
+ * whenever this happens.
*/
public interface DynamicClassLoaderManager {
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-commons-classloader] 08/14: Using latest
released parent pom
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.commons.classloader-1.2.4
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-commons-classloader.git
commit 4c88f70700d845349aeb29a905db19e6658b8538
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Mon Aug 8 11:31:38 2011 +0000
Using latest released parent pom
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/commons/classloader@1154924 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 0d3509f..56b6cc3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.sling</groupId>
<artifactId>sling</artifactId>
- <version>12-SNAPSHOT</version>
+ <version>11</version>
<relativePath>../../../parent/pom.xml</relativePath>
</parent>
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.