summaryrefslogtreecommitdiffstats
path: root/weaver/src
diff options
context:
space:
mode:
Diffstat (limited to 'weaver/src')
-rw-r--r--weaver/src/org/aspectj/weaver/SimpleAnnotationValue.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/weaver/src/org/aspectj/weaver/SimpleAnnotationValue.java b/weaver/src/org/aspectj/weaver/SimpleAnnotationValue.java
index 44e086d28..2016849c3 100644
--- a/weaver/src/org/aspectj/weaver/SimpleAnnotationValue.java
+++ b/weaver/src/org/aspectj/weaver/SimpleAnnotationValue.java
@@ -55,7 +55,7 @@ public class SimpleAnnotationValue extends AnnotationValue {
case 'B': // byte
return Byte.toString(theByte);
case 'C': // char
- return Character.toString(theChar);
+ return Character.valueOf(theChar).toString();
case 'D': // double
return Double.toString(theDouble);
case 'F': // float
@@ -67,7 +67,7 @@ public class SimpleAnnotationValue extends AnnotationValue {
case 'S': // short
return Short.toString(theShort);
case 'Z': // boolean
- return Boolean.toString(theBoolean);
+ return Boolean.valueOf(theBoolean).toString();
case 's': // String
return theString;
default: throw new BCException("Do not understand this kind: "+valueKind);