----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/14231/ -----------------------------------------------------------
Review request for cloudstack, Alex Huang and daan Hoogland. Repository: cloudstack-git Description ------- Currently DatabaseUpgradeChecker determines the code version by doing this.getClass().getPackage().getImplementationVersion(). If it can't find the version it will eventually just give up and not do the database check. The problem currently is if it doesn't find the version, it will also check its parent's class version. The parent is java.lang.Object which will return the java version (for example 1.6.0_43). It doesn't seem like we would really want to ever try the JDK version as our code version, so this patch it to just effectively remove that check. Diffs ----- engine/schema/src/com/cloud/upgrade/DatabaseUpgradeChecker.java f001bf7 Diff: https://reviews.apache.org/r/14231/diff/ Testing ------- Thanks, Darren Shepherd