equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2006, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2006, 2014, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
170 if (type.endsWith(".class")) |
170 if (type.endsWith(".class")) |
171 excludeType(profile, type.substring(0, type.length() - 6)); |
171 excludeType(profile, type.substring(0, type.length() - 6)); |
172 } |
172 } |
173 } |
173 } |
174 } |
174 } |
|
175 /* |
|
176 * A hack to force javax/crypto package into the compact1 profile, |
|
177 * because this package exists in jce.jar, and therefore not in |
|
178 * ct.sym. Note javax/crypto should exist in a profile along with |
|
179 * javax/net/ssl package. Thus, this package is added to compact1, |
|
180 * implying that it should exist in all three profiles. |
|
181 */ |
|
182 includePackage(1, "javax/crypto"); |
175 } |
183 } |
176 |
184 |
177 @Override |
185 @Override |
178 public int getProfileCount() { |
186 public int getProfileCount() { |
179 return maxProfile; |
187 return maxProfile; |