1.1 --- a/src/share/classes/com/sun/tools/javac/sym/CreateSymbols.java Tue Jun 04 13:21:41 2013 +0100 1.2 +++ b/src/share/classes/com/sun/tools/javac/sym/CreateSymbols.java Tue Jun 04 14:17:50 2013 -0700 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 2006, 2012, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 2006, 2013, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -225,11 +225,11 @@ 1.11 } 1.12 ClassSymbol cs = (ClassSymbol) sym; 1.13 if (addLegacyAnnotation) { 1.14 - cs.annotations.prepend(List.of(proprietaryAnno)); 1.15 + cs.prependAttributes(List.of(proprietaryAnno)); 1.16 } 1.17 int p = profiles.getProfile(cs.fullname.toString().replace(".", "/")); 1.18 if (0 < p && p < profileAnnos.length) 1.19 - cs.annotations.prepend(List.of(profileAnnos[p])); 1.20 + cs.prependAttributes(List.of(profileAnnos[p])); 1.21 writeClass(pool, cs, writer); 1.22 } 1.23