[rules-dev] JDK1.5 compatibility