--- old/src/share/classes/javax/swing/plaf/synth/Region.java 2014-07-02 23:02:39.000000000 -0700 +++ new/src/share/classes/javax/swing/plaf/synth/Region.java 2014-07-02 23:02:38.000000000 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2002, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -427,6 +427,7 @@ private static Map getUItoRegionMap() { AppContext context = AppContext.getAppContext(); + @SuppressWarnings("unchecked") Map map = (Map) context.get(UI_TO_REGION_MAP_KEY); if (map == null) { map = new HashMap(); @@ -482,6 +483,7 @@ private static Map getLowerCaseNameMap() { AppContext context = AppContext.getAppContext(); + @SuppressWarnings("unchecked") Map map = (Map) context.get(LOWER_CASE_NAME_MAP_KEY); if (map == null) { map = new HashMap();