JRuby 1.6.8 compatibility
helper to allow checking whethe BC is available within Java's security providers
handle extension value regressions (introduced by c18f07edb107e072)