aws/aws-sdk-java — pull request #71 by clementdenis-vv (2013-05-16 15:04:32+00:00)
Title: Fix RegionUtils.initSDKRegions

RegionUtils.initSDKRegions tries to load the /etc/regions.xml file in the classpath using a leading /, which does not work with ClassLoader.getResourceAsStream (returns null)

The proposed fix uses the sorter solution RegionUtils.class.getResourceAsStream("/etc/regions.xml"), but would also work if the leading slash was removed : classLoader.getResourceAsStream("etc/regions.xml").