emul/src/main/java/java/lang/Integer.java
changeset 104 1376481f15e7
parent 93 a236a9f137ac
child 114 a0505844750a
     1.1 --- a/emul/src/main/java/java/lang/Integer.java	Mon Oct 08 17:10:27 2012 -0700
     1.2 +++ b/emul/src/main/java/java/lang/Integer.java	Tue Oct 16 11:55:56 2012 +0200
     1.3 @@ -600,7 +600,7 @@
     1.4              // high value may be configured by property
     1.5              int h = 127;
     1.6              String integerCacheHighPropValue =
     1.7 -                String.getProperty("java.lang.Integer.IntegerCache.high");
     1.8 +                AbstractStringBuilder.getProperty("java.lang.Integer.IntegerCache.high");
     1.9              if (integerCacheHighPropValue != null) {
    1.10                  int i = parseInt(integerCacheHighPropValue);
    1.11                  i = Math.max(i, 127);
    1.12 @@ -882,7 +882,7 @@
    1.13      public static Integer getInteger(String nm, Integer val) {
    1.14          String v = null;
    1.15          try {
    1.16 -            v = String.getProperty(nm);
    1.17 +            v = AbstractStringBuilder.getProperty(nm);
    1.18          } catch (IllegalArgumentException e) {
    1.19          } catch (NullPointerException e) {
    1.20          }