diff --git a/findbugs/src/java/edu/umd/cs/findbugs/detect/SynchronizationOnSharedBuiltinConstant.java b/findbugs/src/java/edu/umd/cs/findbugs/detect/SynchronizationOnSharedBuiltinConstant.java
index <HASH>..<HASH> 100644
--- a/findbugs/src/java/edu/umd/cs/findbugs/detect/SynchronizationOnSharedBuiltinConstant.java
+++ b/findbugs/src/java/edu/umd/cs/findbugs/detect/SynchronizationOnSharedBuiltinConstant.java
@@ -39,8 +39,9 @@ public class SynchronizationOnSharedBuiltinConstant extends OpcodeStackDetector 
 	public void sawOpcode(int seen) {
 		if (seen == MONITORENTER && stack.getStackDepth() > 0) {
 			OpcodeStack.Item top = stack.getStackItem(0);
+			String signature = top.getSignature();
 			Object constant = top.getConstant();
-			if (constant instanceof String) 
+			if (signature.equals("Ljava/lang/String;") && constant instanceof String) 
 				bugReporter.reportBug(new BugInstance(this, "DL_SYNCHRONIZATION_ON_SHARED_CONSTANT", NORMAL_PRIORITY)
 				.addClassAndMethod(this).addString((String)constant).addSourceLine(this));
 		}
bug fix; have to check signature as well as constant value

git-svn-id: <URL>