title: Calendar.getInstance method not loading userdefined locale classes
body: <p>In JDK 6</p>
  
  <p>I have implemented CalendarData_en_AT class for locale(en, AT) which is a user defined locale(not defined in jre). I see that when I try to load the locale using <code>Calendar.getInstance()</code> method it loads <code>CalendarData_en.class</code></p>
  
  <p>When further debugged, I found that it picks up only the locales that are specified in <code>LocaleMetaDataInfo</code> class</p>
  
  <p>What needs to be done so that when we call <code>Calendar.getInstance(new Locale(en, AT))</code> it loads <code>CalendarData_en_AT.class</code></p>
  
  <p>Code below:</p>
  
  <p>I have a class <code>CalendarData_en_AT.java</code></p>
  
  <pre><code>public class CalendarData_en_AT extends LocaleNamesBundle{
  
      public CalendarData_en_AT(){
      }
  
      protected final Object[][] getContents(){
          return
              new Object[][] { 
                  new Object[] { "firstDayOfWeek", "2" },
                  new Object[] { "minimalDaysInFirstWeek", "4" }
              };
      }
  }
  </code></pre>
  
  <p>The compiled class is enclosed in a .jar file and have been placed in jre/lib/ext</p>
  
  <p>Now from my test class</p>
  
  <p>if I call <code>Calendar.getInstance(new Locale("en","AT")).getFirstDayOfWeek()</code></p>
  
  <p>it should return 2, but as of now it returns 1, reason being it loads <code>CalendarData_en.class</code> provide by and not <code>CalendarData_en_AT.class</code> which is user implemented </p>