mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

abobrov
07.33.2007 70c8d853d79a7cd3d91a73b5e369ca25bc83e48e
- Use runtime cast to workaround a bug in JDK versions prior to 1.5.0_08.
1 files modified
8 ■■■■ changed files
opends/src/server/org/opends/server/admin/AggregationPropertyDefinition.java 8 ●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/admin/AggregationPropertyDefinition.java
@@ -534,7 +534,9 @@
    PropertyDefinition<?> pd;
    pd = d.getPropertyDefinition(sourceEnabledPropertyName);
    return (BooleanPropertyDefinition) pd;
    // Runtime cast is required to workaround a
    // bug in JDK versions prior to 1.5.0_08.
    return BooleanPropertyDefinition.class.cast(pd);
  }
@@ -566,7 +568,9 @@
    d = relationDefinition.getChildDefinition();
    pd = d.getPropertyDefinition(targetEnabledPropertyName);
    return (BooleanPropertyDefinition) pd;
    // Runtime cast is required to workaround a
    // bug in JDK versions prior to 1.5.0_08.
    return BooleanPropertyDefinition.class.cast(pd);
  }