--- old/src/share/classes/javax/swing/plaf/metal/MetalBumps.java 2014-07-02 23:01:09.000000000 -0700 +++ new/src/share/classes/javax/swing/plaf/metal/MetalBumps.java 2014-07-02 23:01:09.000000000 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 2009, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1998, 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 @@ -67,6 +67,7 @@ private static BumpBuffer createBuffer(GraphicsConfiguration gc, Color topColor, Color shadowColor, Color backColor) { AppContext context = AppContext.getAppContext(); + @SuppressWarnings("unchecked") List buffers = (List) context.get(METAL_BUMPS); if (buffers == null) { buffers = new ArrayList();