Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Watson2015-07-30 16:44:08 +0000
committerThomas Watson2015-07-30 16:44:08 +0000
commit5cdf9005dfbb8de8f3df365dd19e4e7660f1078f (patch)
treec86449d0da4a243fcf2aa9a4daad3928fc94187b
parentf5c7f2e557be1127862111282aca47e356c8174c (diff)
downloadrt.equinox.bundles-5cdf9005dfbb8de8f3df365dd19e4e7660f1078f.tar.gz
rt.equinox.bundles-5cdf9005dfbb8de8f3df365dd19e4e7660f1078f.tar.xz
rt.equinox.bundles-5cdf9005dfbb8de8f3df365dd19e4e7660f1078f.zip
Fix NPE when bundle has no symbolic name.
-rw-r--r--bundles/org.eclipse.equinox.weaving.hook/src/org/eclipse/equinox/weaving/adaptors/WeavingAdaptor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.weaving.hook/src/org/eclipse/equinox/weaving/adaptors/WeavingAdaptor.java b/bundles/org.eclipse.equinox.weaving.hook/src/org/eclipse/equinox/weaving/adaptors/WeavingAdaptor.java
index 8d5ba6fb2..173e4a139 100644
--- a/bundles/org.eclipse.equinox.weaving.hook/src/org/eclipse/equinox/weaving/adaptors/WeavingAdaptor.java
+++ b/bundles/org.eclipse.equinox.weaving.hook/src/org/eclipse/equinox/weaving/adaptors/WeavingAdaptor.java
@@ -126,7 +126,7 @@ public class WeavingAdaptor implements IWeavingAdaptor {
Debug.println("> WeavingAdaptor.initialize() bundle=" //$NON-NLS-1$
+ symbolicName + ", moduleLoader=" + moduleLoader); //$NON-NLS-1$
- if (symbolicName.startsWith("org.aspectj")) { //$NON-NLS-1$
+ if (symbolicName != null && symbolicName.startsWith("org.aspectj")) { //$NON-NLS-1$
if (Debug.DEBUG_GENERAL)
Debug.println("- WeavingAdaptor.initialize() symbolicName=" //$NON-NLS-1$
+ symbolicName + ", moduleLoader=" //$NON-NLS-1$

Back to the top