src/share/classes/sun/reflect/generics/reflectiveObjects/WildcardTypeImpl.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2003, 2004, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2003, 2013, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 201,214 **** for(Type bound: bounds) { if (!first) sb.append(" & "); first = false; ! if (bound instanceof Class) ! sb.append(((Class)bound).getName() ); ! else ! sb.append(bound.toString()); } return sb.toString(); } @Override --- 201,211 ---- for(Type bound: bounds) { if (!first) sb.append(" & "); first = false; ! sb.append(bound.getTypeName()); } return sb.toString(); } @Override