# HG changeset patch # User alanb # Date 1358829336 18000 # Node ID 14c6889b61327ecf7b5bd6a084b1a977f5a96fd8 # Parent e5b41bd22ec9951548bd40718753062d22f3d761 8004502: Compact Profiles contents Reviewed-by: dholmes, mchung diff -r e5b41bd22ec9 -r 14c6889b6132 jdk/makefiles/profile-includes.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/jdk/makefiles/profile-includes.txt Mon Jan 21 23:35:36 2013 -0500 @@ -0,0 +1,710 @@ +# +# Copyright (c) 2012, 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 +# particular file as subject to the "Classpath" exception as provided +# by Oracle in the LICENSE file that accompanied this code. +# +# This code is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# version 2 for more details (a copy is included in the LICENSE file that +# accompanied this code). +# +# You should have received a copy of the GNU General Public License version +# 2 along with this work; if not, write to the Free Software Foundation, +# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA +# or visit www.oracle.com if you need additional information or have any +# questions. +# +PROFILE_1_JRE_BIN_FILES := \ + java$(EXE_SUFFIX) \ + keytool$(EXE_SUFFIX) + +PROFILE_1_JRE_LIB_FILES := \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/$(LIBRARY_PREFIX)java$(SHARED_LIBRARY_SUFFIX) \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/$(LIBRARY_PREFIX)jsig$(SHARED_LIBRARY_SUFFIX) \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/$(LIBRARY_PREFIX)jsig.diz \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/$(LIBRARY_PREFIX)net$(SHARED_LIBRARY_SUFFIX) \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/$(LIBRARY_PREFIX)nio$(SHARED_LIBRARY_SUFFIX) \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/$(LIBRARY_PREFIX)npt$(SHARED_LIBRARY_SUFFIX) \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/$(LIBRARY_PREFIX)npt.diz \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/$(LIBRARY_PREFIX)unpack$(SHARED_LIBRARY_SUFFIX) \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/$(LIBRARY_PREFIX)verify$(SHARED_LIBRARY_SUFFIX) \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/$(LIBRARY_PREFIX)verify.diz \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/$(LIBRARY_PREFIX)zip$(SHARED_LIBRARY_SUFFIX) \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/client/$(LIBRARY_PREFIX)jsig$(SHARED_LIBRARY_SUFFIX) \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/client/$(LIBRARY_PREFIX)jsig.diz \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/client/$(LIBRARY_PREFIX)jvm$(SHARED_LIBRARY_SUFFIX) \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/client/$(LIBRARY_PREFIX)jvm.diz \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/client/Xusage.txt \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/jli/$(LIBRARY_PREFIX)jli$(SHARED_LIBRARY_SUFFIX) \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/jvm.cfg \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/minimal/$(LIBRARY_PREFIX)jsig$(SHARED_LIBRARY_SUFFIX) \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/minimal/$(LIBRARY_PREFIX)jsig.diz \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/minimal/$(LIBRARY_PREFIX)jvm$(SHARED_LIBRARY_SUFFIX) \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/minimal/$(LIBRARY_PREFIX)jvm.diz \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/minimal/Xusage.txt \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/server/$(LIBRARY_PREFIX)jsig$(SHARED_LIBRARY_SUFFIX) \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/server/$(LIBRARY_PREFIX)jsig.diz \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/server/$(LIBRARY_PREFIX)jvm$(SHARED_LIBRARY_SUFFIX) \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/server/$(LIBRARY_PREFIX)jvm.diz \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/server/Xusage.txt \ + calendars.properties \ + classlist \ + content-types.properties \ + currency.data \ + ext/localedata.jar \ + ext/meta-index \ + ext/sunjce_provider.jar \ + jce.jar \ + jsse.jar \ + logging.properties \ + meta-index \ + net.properties \ + resources.jar \ + rt.jar \ + security/US_export_policy.jar \ + security/blacklist \ + security/cacerts \ + security/java.policy \ + security/java.security \ + security/local_policy.jar \ + security/trusted.libraries \ + zi/Africa/Abidjan \ + zi/Africa/Accra \ + zi/Africa/Addis_Ababa \ + zi/Africa/Algiers \ + zi/Africa/Asmara \ + zi/Africa/Bamako \ + zi/Africa/Bangui \ + zi/Africa/Banjul \ + zi/Africa/Bissau \ + zi/Africa/Blantyre \ + zi/Africa/Brazzaville \ + zi/Africa/Bujumbura \ + zi/Africa/Cairo \ + zi/Africa/Casablanca \ + zi/Africa/Ceuta \ + zi/Africa/Conakry \ + zi/Africa/Dakar \ + zi/Africa/Dar_es_Salaam \ + zi/Africa/Djibouti \ + zi/Africa/Douala \ + zi/Africa/El_Aaiun \ + zi/Africa/Freetown \ + zi/Africa/Gaborone \ + zi/Africa/Harare \ + zi/Africa/Johannesburg \ + zi/Africa/Juba \ + zi/Africa/Kampala \ + zi/Africa/Khartoum \ + zi/Africa/Kigali \ + zi/Africa/Kinshasa \ + zi/Africa/Lagos \ + zi/Africa/Libreville \ + zi/Africa/Lome \ + zi/Africa/Luanda \ + zi/Africa/Lubumbashi \ + zi/Africa/Lusaka \ + zi/Africa/Malabo \ + zi/Africa/Maputo \ + zi/Africa/Maseru \ + zi/Africa/Mbabane \ + zi/Africa/Mogadishu \ + zi/Africa/Monrovia \ + zi/Africa/Nairobi \ + zi/Africa/Ndjamena \ + zi/Africa/Niamey \ + zi/Africa/Nouakchott \ + zi/Africa/Ouagadougou \ + zi/Africa/Porto-Novo \ + zi/Africa/Sao_Tome \ + zi/Africa/Tripoli \ + zi/Africa/Tunis \ + zi/Africa/Windhoek \ + zi/America/Adak \ + zi/America/Anchorage \ + zi/America/Anguilla \ + zi/America/Antigua \ + zi/America/Araguaina \ + zi/America/Argentina/Buenos_Aires \ + zi/America/Argentina/Catamarca \ + zi/America/Argentina/Cordoba \ + zi/America/Argentina/Jujuy \ + zi/America/Argentina/La_Rioja \ + zi/America/Argentina/Mendoza \ + zi/America/Argentina/Rio_Gallegos \ + zi/America/Argentina/Salta \ + zi/America/Argentina/San_Juan \ + zi/America/Argentina/San_Luis \ + zi/America/Argentina/Tucuman \ + zi/America/Argentina/Ushuaia \ + zi/America/Aruba \ + zi/America/Asuncion \ + zi/America/Atikokan \ + zi/America/Bahia \ + zi/America/Bahia_Banderas \ + zi/America/Barbados \ + zi/America/Belem \ + zi/America/Belize \ + zi/America/Blanc-Sablon \ + zi/America/Boa_Vista \ + zi/America/Bogota \ + zi/America/Boise \ + zi/America/Cambridge_Bay \ + zi/America/Campo_Grande \ + zi/America/Cancun \ + zi/America/Caracas \ + zi/America/Cayenne \ + zi/America/Cayman \ + zi/America/Chicago \ + zi/America/Chihuahua \ + zi/America/Costa_Rica \ + zi/America/Creston \ + zi/America/Cuiaba \ + zi/America/Curacao \ + zi/America/Danmarkshavn \ + zi/America/Dawson \ + zi/America/Dawson_Creek \ + zi/America/Denver \ + zi/America/Detroit \ + zi/America/Dominica \ + zi/America/Edmonton \ + zi/America/Eirunepe \ + zi/America/El_Salvador \ + zi/America/Fortaleza \ + zi/America/Glace_Bay \ + zi/America/Godthab \ + zi/America/Goose_Bay \ + zi/America/Grand_Turk \ + zi/America/Grenada \ + zi/America/Guadeloupe \ + zi/America/Guatemala \ + zi/America/Guayaquil \ + zi/America/Guyana \ + zi/America/Halifax \ + zi/America/Havana \ + zi/America/Hermosillo \ + zi/America/Indiana/Indianapolis \ + zi/America/Indiana/Knox \ + zi/America/Indiana/Marengo \ + zi/America/Indiana/Petersburg \ + zi/America/Indiana/Tell_City \ + zi/America/Indiana/Vevay \ + zi/America/Indiana/Vincennes \ + zi/America/Indiana/Winamac \ + zi/America/Inuvik \ + zi/America/Iqaluit \ + zi/America/Jamaica \ + zi/America/Juneau \ + zi/America/Kentucky/Louisville \ + zi/America/Kentucky/Monticello \ + zi/America/La_Paz \ + zi/America/Lima \ + zi/America/Los_Angeles \ + zi/America/Maceio \ + zi/America/Managua \ + zi/America/Manaus \ + zi/America/Martinique \ + zi/America/Matamoros \ + zi/America/Mazatlan \ + zi/America/Menominee \ + zi/America/Merida \ + zi/America/Metlakatla \ + zi/America/Mexico_City \ + zi/America/Miquelon \ + zi/America/Moncton \ + zi/America/Monterrey \ + zi/America/Montevideo \ + zi/America/Montreal \ + zi/America/Montserrat \ + zi/America/Nassau \ + zi/America/New_York \ + zi/America/Nipigon \ + zi/America/Nome \ + zi/America/Noronha \ + zi/America/North_Dakota/Beulah \ + zi/America/North_Dakota/Center \ + zi/America/North_Dakota/New_Salem \ + zi/America/Ojinaga \ + zi/America/Panama \ + zi/America/Pangnirtung \ + zi/America/Paramaribo \ + zi/America/Phoenix \ + zi/America/Port-au-Prince \ + zi/America/Port_of_Spain \ + zi/America/Porto_Velho \ + zi/America/Puerto_Rico \ + zi/America/Rainy_River \ + zi/America/Rankin_Inlet \ + zi/America/Recife \ + zi/America/Regina \ + zi/America/Resolute \ + zi/America/Rio_Branco \ + zi/America/Santa_Isabel \ + zi/America/Santarem \ + zi/America/Santiago \ + zi/America/Santo_Domingo \ + zi/America/Sao_Paulo \ + zi/America/Scoresbysund \ + zi/America/Sitka \ + zi/America/St_Johns \ + zi/America/St_Kitts \ + zi/America/St_Lucia \ + zi/America/St_Thomas \ + zi/America/St_Vincent \ + zi/America/Swift_Current \ + zi/America/Tegucigalpa \ + zi/America/Thule \ + zi/America/Thunder_Bay \ + zi/America/Tijuana \ + zi/America/Toronto \ + zi/America/Tortola \ + zi/America/Vancouver \ + zi/America/Whitehorse \ + zi/America/Winnipeg \ + zi/America/Yakutat \ + zi/America/Yellowknife \ + zi/Antarctica/Casey \ + zi/Antarctica/Davis \ + zi/Antarctica/DumontDUrville \ + zi/Antarctica/Macquarie \ + zi/Antarctica/Mawson \ + zi/Antarctica/McMurdo \ + zi/Antarctica/Palmer \ + zi/Antarctica/Rothera \ + zi/Antarctica/Syowa \ + zi/Antarctica/Vostok \ + zi/Asia/Aden \ + zi/Asia/Almaty \ + zi/Asia/Amman \ + zi/Asia/Anadyr \ + zi/Asia/Aqtau \ + zi/Asia/Aqtobe \ + zi/Asia/Ashgabat \ + zi/Asia/Baghdad \ + zi/Asia/Bahrain \ + zi/Asia/Baku \ + zi/Asia/Bangkok \ + zi/Asia/Beirut \ + zi/Asia/Bishkek \ + zi/Asia/Brunei \ + zi/Asia/Choibalsan \ + zi/Asia/Chongqing \ + zi/Asia/Colombo \ + zi/Asia/Damascus \ + zi/Asia/Dhaka \ + zi/Asia/Dili \ + zi/Asia/Dubai \ + zi/Asia/Dushanbe \ + zi/Asia/Gaza \ + zi/Asia/Harbin \ + zi/Asia/Hebron \ + zi/Asia/Ho_Chi_Minh \ + zi/Asia/Hong_Kong \ + zi/Asia/Hovd \ + zi/Asia/Irkutsk \ + zi/Asia/Jakarta \ + zi/Asia/Jayapura \ + zi/Asia/Jerusalem \ + zi/Asia/Kabul \ + zi/Asia/Kamchatka \ + zi/Asia/Karachi \ + zi/Asia/Kashgar \ + zi/Asia/Kathmandu \ + zi/Asia/Kolkata \ + zi/Asia/Krasnoyarsk \ + zi/Asia/Kuala_Lumpur \ + zi/Asia/Kuching \ + zi/Asia/Kuwait \ + zi/Asia/Macau \ + zi/Asia/Magadan \ + zi/Asia/Makassar \ + zi/Asia/Manila \ + zi/Asia/Muscat \ + zi/Asia/Nicosia \ + zi/Asia/Novokuznetsk \ + zi/Asia/Novosibirsk \ + zi/Asia/Omsk \ + zi/Asia/Oral \ + zi/Asia/Phnom_Penh \ + zi/Asia/Pontianak \ + zi/Asia/Pyongyang \ + zi/Asia/Qatar \ + zi/Asia/Qyzylorda \ + zi/Asia/Rangoon \ + zi/Asia/Riyadh \ + zi/Asia/Riyadh87 \ + zi/Asia/Riyadh88 \ + zi/Asia/Riyadh89 \ + zi/Asia/Sakhalin \ + zi/Asia/Samarkand \ + zi/Asia/Seoul \ + zi/Asia/Shanghai \ + zi/Asia/Singapore \ + zi/Asia/Taipei \ + zi/Asia/Tashkent \ + zi/Asia/Tbilisi \ + zi/Asia/Tehran \ + zi/Asia/Thimphu \ + zi/Asia/Tokyo \ + zi/Asia/Ulaanbaatar \ + zi/Asia/Urumqi \ + zi/Asia/Vientiane \ + zi/Asia/Vladivostok \ + zi/Asia/Yakutsk \ + zi/Asia/Yekaterinburg \ + zi/Asia/Yerevan \ + zi/Atlantic/Azores \ + zi/Atlantic/Bermuda \ + zi/Atlantic/Canary \ + zi/Atlantic/Cape_Verde \ + zi/Atlantic/Faroe \ + zi/Atlantic/Madeira \ + zi/Atlantic/Reykjavik \ + zi/Atlantic/South_Georgia \ + zi/Atlantic/St_Helena \ + zi/Atlantic/Stanley \ + zi/Australia/Adelaide \ + zi/Australia/Brisbane \ + zi/Australia/Broken_Hill \ + zi/Australia/Currie \ + zi/Australia/Darwin \ + zi/Australia/Eucla \ + zi/Australia/Hobart \ + zi/Australia/Lindeman \ + zi/Australia/Lord_Howe \ + zi/Australia/Melbourne \ + zi/Australia/Perth \ + zi/Australia/Sydney \ + zi/CET \ + zi/CST6CDT \ + zi/EET \ + zi/EST \ + zi/EST5EDT \ + zi/Etc/GMT \ + zi/Etc/GMT+1 \ + zi/Etc/GMT+10 \ + zi/Etc/GMT+11 \ + zi/Etc/GMT+12 \ + zi/Etc/GMT+2 \ + zi/Etc/GMT+3 \ + zi/Etc/GMT+4 \ + zi/Etc/GMT+5 \ + zi/Etc/GMT+6 \ + zi/Etc/GMT+7 \ + zi/Etc/GMT+8 \ + zi/Etc/GMT+9 \ + zi/Etc/GMT-1 \ + zi/Etc/GMT-10 \ + zi/Etc/GMT-11 \ + zi/Etc/GMT-12 \ + zi/Etc/GMT-13 \ + zi/Etc/GMT-14 \ + zi/Etc/GMT-2 \ + zi/Etc/GMT-3 \ + zi/Etc/GMT-4 \ + zi/Etc/GMT-5 \ + zi/Etc/GMT-6 \ + zi/Etc/GMT-7 \ + zi/Etc/GMT-8 \ + zi/Etc/GMT-9 \ + zi/Etc/UCT \ + zi/Etc/UTC \ + zi/Europe/Amsterdam \ + zi/Europe/Andorra \ + zi/Europe/Athens \ + zi/Europe/Belgrade \ + zi/Europe/Berlin \ + zi/Europe/Brussels \ + zi/Europe/Bucharest \ + zi/Europe/Budapest \ + zi/Europe/Chisinau \ + zi/Europe/Copenhagen \ + zi/Europe/Dublin \ + zi/Europe/Gibraltar \ + zi/Europe/Helsinki \ + zi/Europe/Istanbul \ + zi/Europe/Kaliningrad \ + zi/Europe/Kiev \ + zi/Europe/Lisbon \ + zi/Europe/London \ + zi/Europe/Luxembourg \ + zi/Europe/Madrid \ + zi/Europe/Malta \ + zi/Europe/Minsk \ + zi/Europe/Monaco \ + zi/Europe/Moscow \ + zi/Europe/Oslo \ + zi/Europe/Paris \ + zi/Europe/Prague \ + zi/Europe/Riga \ + zi/Europe/Rome \ + zi/Europe/Samara \ + zi/Europe/Simferopol \ + zi/Europe/Sofia \ + zi/Europe/Stockholm \ + zi/Europe/Tallinn \ + zi/Europe/Tirane \ + zi/Europe/Uzhgorod \ + zi/Europe/Vaduz \ + zi/Europe/Vienna \ + zi/Europe/Vilnius \ + zi/Europe/Volgograd \ + zi/Europe/Warsaw \ + zi/Europe/Zaporozhye \ + zi/Europe/Zurich \ + zi/GMT \ + zi/HST \ + zi/Indian/Antananarivo \ + zi/Indian/Chagos \ + zi/Indian/Christmas \ + zi/Indian/Cocos \ + zi/Indian/Comoro \ + zi/Indian/Kerguelen \ + zi/Indian/Mahe \ + zi/Indian/Maldives \ + zi/Indian/Mauritius \ + zi/Indian/Mayotte \ + zi/Indian/Reunion \ + zi/MET \ + zi/MST \ + zi/MST7MDT \ + zi/PST8PDT \ + zi/Pacific/Apia \ + zi/Pacific/Auckland \ + zi/Pacific/Chatham \ + zi/Pacific/Chuuk \ + zi/Pacific/Easter \ + zi/Pacific/Efate \ + zi/Pacific/Enderbury \ + zi/Pacific/Fakaofo \ + zi/Pacific/Fiji \ + zi/Pacific/Funafuti \ + zi/Pacific/Galapagos \ + zi/Pacific/Gambier \ + zi/Pacific/Guadalcanal \ + zi/Pacific/Guam \ + zi/Pacific/Honolulu \ + zi/Pacific/Johnston \ + zi/Pacific/Kiritimati \ + zi/Pacific/Kosrae \ + zi/Pacific/Kwajalein \ + zi/Pacific/Majuro \ + zi/Pacific/Marquesas \ + zi/Pacific/Midway \ + zi/Pacific/Nauru \ + zi/Pacific/Niue \ + zi/Pacific/Norfolk \ + zi/Pacific/Noumea \ + zi/Pacific/Pago_Pago \ + zi/Pacific/Palau \ + zi/Pacific/Pitcairn \ + zi/Pacific/Pohnpei \ + zi/Pacific/Port_Moresby \ + zi/Pacific/Rarotonga \ + zi/Pacific/Saipan \ + zi/Pacific/Tahiti \ + zi/Pacific/Tarawa \ + zi/Pacific/Tongatapu \ + zi/Pacific/Wake \ + zi/Pacific/Wallis \ + zi/SystemV/AST4 \ + zi/SystemV/AST4ADT \ + zi/SystemV/CST6 \ + zi/SystemV/CST6CDT \ + zi/SystemV/EST5 \ + zi/SystemV/EST5EDT \ + zi/SystemV/HST10 \ + zi/SystemV/MST7 \ + zi/SystemV/MST7MDT \ + zi/SystemV/PST8 \ + zi/SystemV/PST8PDT \ + zi/SystemV/YST9 \ + zi/SystemV/YST9YDT \ + zi/WET \ + zi/ZoneInfoMappings + +PROFILE_1_JRE_OTHER_FILES := \ + COPYRIGHT \ + LICENSE \ + README \ + THIRDPARTYLICENSEREADME.txt \ + Welcome.html \ + release + +PROFILE_1_JRE_JAR_FILES := \ + ext/localedata.jar \ + ext/sunjce_provider.jar \ + jce.jar \ + jsse.jar \ + resources.jar \ + rt.jar \ + security/US_export_policy.jar \ + security/local_policy.jar + + +PROFILE_2_JRE_BIN_FILES := \ + rmid$(EXE_SUFFIX) \ + rmiregistry$(EXE_SUFFIX) + +PROFILE_2_JRE_LIB_FILES := + +PROFILE_2_JRE_OTHER_FILES := + +PROFILE_2_JRE_JAR_FILES := + + +PROFILE_3_JRE_BIN_FILES := + +PROFILE_3_JRE_LIB_FILES := \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/$(LIBRARY_PREFIX)hprof$(SHARED_LIBRARY_SUFFIX) \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/$(LIBRARY_PREFIX)hprof.diz \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/$(LIBRARY_PREFIX)instrument$(SHARED_LIBRARY_SUFFIX) \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/$(LIBRARY_PREFIX)instrument.diz \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/$(LIBRARY_PREFIX)j2gss$(SHARED_LIBRARY_SUFFIX) \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/$(LIBRARY_PREFIX)j2pcsc$(SHARED_LIBRARY_SUFFIX) \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/$(LIBRARY_PREFIX)jaas_unix$(SHARED_LIBRARY_SUFFIX) \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/$(LIBRARY_PREFIX)java_crw_demo$(SHARED_LIBRARY_SUFFIX) \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/$(LIBRARY_PREFIX)java_crw_demo.diz \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/$(LIBRARY_PREFIX)jfr$(SHARED_LIBRARY_SUFFIX) \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/$(LIBRARY_PREFIX)jsdt$(SHARED_LIBRARY_SUFFIX) \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/$(LIBRARY_PREFIX)jsdt.diz \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/$(LIBRARY_PREFIX)management$(SHARED_LIBRARY_SUFFIX) \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/$(LIBRARY_PREFIX)management.diz \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/$(LIBRARY_PREFIX)sctp$(SHARED_LIBRARY_SUFFIX) \ + jfr.jar \ + jvm.hprof.txt \ + management-agent.jar \ + management/jmxremote.access \ + management/jmxremote.password.template \ + management/management.properties \ + management/snmp.acl.template + +PROFILE_3_JRE_OTHER_FILES := + +PROFILE_3_JRE_JAR_FILES := \ + jfr.jar \ + management-agent.jar + + +PROFILE_4_JRE_BIN_FILES := \ + orbd$(EXE_SUFFIX) \ + pack200$(EXE_SUFFIX) \ + policytool$(EXE_SUFFIX) \ + servertool$(EXE_SUFFIX) \ + tnameserv$(EXE_SUFFIX) \ + unpack200$(EXE_SUFFIX) + +PROFILE_4_JRE_LIB_FILES := \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/$(LIBRARY_PREFIX)awt$(SHARED_LIBRARY_SUFFIX) \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/$(LIBRARY_PREFIX)awt_headless$(SHARED_LIBRARY_SUFFIX) \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/$(LIBRARY_PREFIX)awt_xawt$(SHARED_LIBRARY_SUFFIX) \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/$(LIBRARY_PREFIX)dcpr$(SHARED_LIBRARY_SUFFIX) \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/$(LIBRARY_PREFIX)dt_socket$(SHARED_LIBRARY_SUFFIX) \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/$(LIBRARY_PREFIX)dt_socket.diz \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/$(LIBRARY_PREFIX)fontmanager$(SHARED_LIBRARY_SUFFIX) \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/$(LIBRARY_PREFIX)j2pkcs11$(SHARED_LIBRARY_SUFFIX) \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/$(LIBRARY_PREFIX)jawt$(SHARED_LIBRARY_SUFFIX) \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/$(LIBRARY_PREFIX)jdwp$(SHARED_LIBRARY_SUFFIX) \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/$(LIBRARY_PREFIX)jpeg$(SHARED_LIBRARY_SUFFIX) \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/$(LIBRARY_PREFIX)jsound$(SHARED_LIBRARY_SUFFIX) \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/$(LIBRARY_PREFIX)jsoundalsa$(SHARED_LIBRARY_SUFFIX) \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/$(LIBRARY_PREFIX)kcms$(SHARED_LIBRARY_SUFFIX) \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/$(LIBRARY_PREFIX)mlib_image$(SHARED_LIBRARY_SUFFIX) \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/$(LIBRARY_PREFIX)splashscreen$(SHARED_LIBRARY_SUFFIX) \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/$(LIBRARY_PREFIX)sunec$(SHARED_LIBRARY_SUFFIX) \ + $(OPENJDK_TARGET_CPU_LEGACY_LIB)/$(LIBRARY_PREFIX)t2k$(SHARED_LIBRARY_SUFFIX) \ + alt-rt.jar \ + charsets.jar \ + cmm/CIEXYZ.pf \ + cmm/GRAY.pf \ + cmm/LINEAR_RGB.pf \ + cmm/PYCC.pf \ + cmm/sRGB.pf \ + ext/cldrdata.jar \ + ext/dnsns.jar \ + ext/sunec.jar \ + ext/sunpkcs11.jar \ + ext/zipfs.jar \ + flavormap.properties \ + fontconfig.RedHat.5.bfc \ + fontconfig.RedHat.5.properties.src \ + fontconfig.RedHat.6.bfc \ + fontconfig.RedHat.6.properties.src \ + fontconfig.SuSE.10.bfc \ + fontconfig.SuSE.10.properties.src \ + fontconfig.SuSE.11.bfc \ + fontconfig.SuSE.11.properties.src \ + fontconfig.Turbo.bfc \ + fontconfig.Turbo.properties.src \ + fontconfig.bfc \ + fontconfig.properties.src \ + fonts/LucidaBrightDemiBold.ttf \ + fonts/LucidaBrightDemiItalic.ttf \ + fonts/LucidaBrightItalic.ttf \ + fonts/LucidaBrightRegular.ttf \ + fonts/LucidaSansDemiBold.ttf \ + fonts/LucidaSansRegular.ttf \ + fonts/LucidaTypewriterBold.ttf \ + fonts/LucidaTypewriterRegular.ttf \ + fonts/fonts.dir \ + images/cursors/cursors.properties \ + images/cursors/invalid32x32.gif \ + images/cursors/motif_CopyDrop32x32.gif \ + images/cursors/motif_CopyNoDrop32x32.gif \ + images/cursors/motif_LinkDrop32x32.gif \ + images/cursors/motif_LinkNoDrop32x32.gif \ + images/cursors/motif_MoveDrop32x32.gif \ + images/cursors/motif_MoveNoDrop32x32.gif \ + jexec \ + oblique-fonts/LucidaSansDemiOblique.ttf \ + oblique-fonts/LucidaSansOblique.ttf \ + oblique-fonts/LucidaTypewriterBoldOblique.ttf \ + oblique-fonts/LucidaTypewriterOblique.ttf \ + oblique-fonts/fonts.dir \ + psfont.properties.ja \ + psfontj2d.properties \ + servicetag/jdk_header.png \ + sound.properties + +PROFILE_4_JRE_OTHER_FILES := \ + man/ja_JP.UTF-8/man1/java.1 \ + man/ja_JP.UTF-8/man1/javaws.1 \ + man/ja_JP.UTF-8/man1/keytool.1 \ + man/ja_JP.UTF-8/man1/orbd.1 \ + man/ja_JP.UTF-8/man1/pack200.1 \ + man/ja_JP.UTF-8/man1/policytool.1 \ + man/ja_JP.UTF-8/man1/rmid.1 \ + man/ja_JP.UTF-8/man1/rmiregistry.1 \ + man/ja_JP.UTF-8/man1/servertool.1 \ + man/ja_JP.UTF-8/man1/tnameserv.1 \ + man/ja_JP.UTF-8/man1/unpack200.1 \ + man/man1/java.1 \ + man/man1/javaws.1 \ + man/man1/keytool.1 \ + man/man1/orbd.1 \ + man/man1/pack200.1 \ + man/man1/policytool.1 \ + man/man1/rmid.1 \ + man/man1/rmiregistry.1 \ + man/man1/servertool.1 \ + man/man1/tnameserv.1 \ + man/man1/unpack200.1 + +PROFILE_4_JRE_JAR_FILES := \ + alt-rt.jar \ + charsets.jar \ + ext/cldrdata.jar \ + ext/dnsns.jar \ + ext/sunec.jar \ + ext/sunpkcs11.jar \ + ext/zipfs.jar + + diff -r e5b41bd22ec9 -r 14c6889b6132 jdk/makefiles/profile-rtjar-includes.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/jdk/makefiles/profile-rtjar-includes.txt Mon Jan 21 23:35:36 2013 -0500 @@ -0,0 +1,921 @@ +# +# Copyright (c) 2012, 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 +# particular file as subject to the "Classpath" exception as provided +# by Oracle in the LICENSE file that accompanied this code. +# +# This code is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# version 2 for more details (a copy is included in the LICENSE file that +# accompanied this code). +# +# You should have received a copy of the GNU General Public License version +# 2 along with this work; if not, write to the Free Software Foundation, +# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA +# or visit www.oracle.com if you need additional information or have any +# questions. +# +PROFILE_1_RTJAR_INCLUDE_PACKAGES := \ + com/sun/demo/jvmti/hprof \ + com/sun/java/util/jar/pack \ + com/sun/net/ssl \ + com/sun/net/ssl/internal/www/protocol/https \ + com/sun/nio/file \ + com/sun/security/cert/internal/x509 \ + java/io \ + java/lang \ + java/lang/annotation \ + java/lang/invoke \ + java/lang/ref \ + java/lang/reflect \ + java/math \ + java/net \ + java/nio \ + java/nio/channels \ + java/nio/channels/spi \ + java/nio/charset \ + java/nio/charset/spi \ + java/nio/file \ + java/nio/file/attribute \ + java/nio/file/spi \ + java/security \ + java/security/cert \ + java/security/interfaces \ + java/security/spec \ + java/text \ + java/text/spi \ + java/util \ + java/util/concurrent \ + java/util/concurrent/atomic \ + java/util/concurrent/locks \ + java/util/function \ + java/util/jar \ + java/util/logging \ + java/util/regex \ + java/util/spi \ + java/util/zip \ + javax/net \ + javax/net/ssl \ + javax/security/auth \ + javax/security/auth/callback \ + javax/security/auth/login \ + javax/security/auth/spi \ + javax/security/auth/x500 \ + javax/security/cert \ + jdk/internal \ + sun/invoke \ + sun/invoke/anon \ + sun/invoke/empty \ + sun/invoke/util \ + sun/launcher \ + sun/launcher/resources \ + sun/misc \ + sun/misc/resources \ + sun/net/ \ + sun/net/idn \ + sun/net/sdp \ + sun/net/spi \ + sun/net/spi/nameservice \ + sun/net/util \ + sun/net/www \ + sun/net/www/http \ + sun/net/www/protocol/file \ + sun/net/www/protocol/http/ \ + sun/net/www/protocol/http/logging \ + sun/net/www/protocol/https \ + sun/net/www/protocol/jar \ + sun/nio \ + sun/nio/ch \ + sun/nio/cs \ + sun/nio/fs \ + sun/reflect \ + sun/reflect/annotation \ + sun/reflect/generics/factory \ + sun/reflect/generics/parser \ + sun/reflect/generics/reflectiveObjects \ + sun/reflect/generics/repository \ + sun/reflect/generics/scope \ + sun/reflect/generics/tree \ + sun/reflect/generics/visitor \ + sun/reflect/misc \ + sun/security/action \ + sun/security/ec \ + sun/security/jca \ + sun/security/pkcs \ + sun/security/pkcs10 \ + sun/security/pkcs12 \ + sun/security/provider \ + sun/security/provider/certpath \ + sun/security/provider/certpath/ssl \ + sun/security/rsa \ + sun/security/timestamp \ + sun/security/tools \ + sun/security/tools/keytool \ + sun/security/util \ + sun/security/validator \ + sun/security/x509 \ + sun/text \ + sun/text/bidi \ + sun/text/normalizer \ + sun/text/resources \ + sun/usagetracker \ + sun/util \ + sun/util/calendar \ + sun/util/locale \ + sun/util/logging \ + sun/util/logging/resources \ + sun/util/resources + +PROFILE_1_RTJAR_INCLUDE_TYPES := \ + com/sun/security/auth/PrincipalComparator.class + +PROFILE_1_RTJAR_EXCLUDE_TYPES := + +PROFILE_1_INCLUDE_METAINF_SERVICES := + + +PROFILE_2_RTJAR_INCLUDE_PACKAGES := \ + com/sun/java_cup/internal/runtime \ + com/sun/net/httpserver \ + com/sun/net/httpserver/spi \ + com/sun/org/apache/bcel/internal \ + com/sun/org/apache/bcel/internal/classfile \ + com/sun/org/apache/bcel/internal/generic \ + com/sun/org/apache/bcel/internal/util \ + com/sun/org/apache/regexp/internal \ + com/sun/org/apache/xalan/internal \ + com/sun/org/apache/xalan/internal/extensions \ + com/sun/org/apache/xalan/internal/lib \ + com/sun/org/apache/xalan/internal/res \ + com/sun/org/apache/xalan/internal/templates \ + com/sun/org/apache/xalan/internal/utils \ + com/sun/org/apache/xalan/internal/xslt \ + com/sun/org/apache/xalan/internal/xsltc \ + com/sun/org/apache/xalan/internal/xsltc/cmdline \ + com/sun/org/apache/xalan/internal/xsltc/cmdline/getopt \ + com/sun/org/apache/xalan/internal/xsltc/compiler \ + com/sun/org/apache/xalan/internal/xsltc/compiler/util \ + com/sun/org/apache/xalan/internal/xsltc/dom \ + com/sun/org/apache/xalan/internal/xsltc/runtime \ + com/sun/org/apache/xalan/internal/xsltc/runtime/output \ + com/sun/org/apache/xalan/internal/xsltc/trax \ + com/sun/org/apache/xalan/internal/xsltc/util \ + com/sun/org/apache/xerces/internal/dom \ + com/sun/org/apache/xerces/internal/dom/events \ + com/sun/org/apache/xerces/internal/impl \ + com/sun/org/apache/xerces/internal/impl/dtd \ + com/sun/org/apache/xerces/internal/impl/dtd/models \ + com/sun/org/apache/xerces/internal/impl/dv \ + com/sun/org/apache/xerces/internal/impl/dv/dtd \ + com/sun/org/apache/xerces/internal/impl/dv/util \ + com/sun/org/apache/xerces/internal/impl/dv/xs \ + com/sun/org/apache/xerces/internal/impl/io \ + com/sun/org/apache/xerces/internal/impl/msg \ + com/sun/org/apache/xerces/internal/impl/validation \ + com/sun/org/apache/xerces/internal/impl/xpath \ + com/sun/org/apache/xerces/internal/impl/xpath/regex \ + com/sun/org/apache/xerces/internal/impl/xs \ + com/sun/org/apache/xerces/internal/impl/xs/identity \ + com/sun/org/apache/xerces/internal/impl/xs/models \ + com/sun/org/apache/xerces/internal/impl/xs/opti \ + com/sun/org/apache/xerces/internal/impl/xs/traversers \ + com/sun/org/apache/xerces/internal/impl/xs/util \ + com/sun/org/apache/xerces/internal/jaxp \ + com/sun/org/apache/xerces/internal/jaxp/datatype \ + com/sun/org/apache/xerces/internal/jaxp/validation \ + com/sun/org/apache/xerces/internal/parsers \ + com/sun/org/apache/xerces/internal/util \ + com/sun/org/apache/xerces/internal/utils \ + com/sun/org/apache/xerces/internal/xinclude \ + com/sun/org/apache/xerces/internal/xni \ + com/sun/org/apache/xerces/internal/xni/grammars \ + com/sun/org/apache/xerces/internal/xni/parser \ + com/sun/org/apache/xerces/internal/xpointer \ + com/sun/org/apache/xerces/internal/xs \ + com/sun/org/apache/xerces/internal/xs/datatypes \ + com/sun/org/apache/xml/internal/dtm \ + com/sun/org/apache/xml/internal/dtm/ref \ + com/sun/org/apache/xml/internal/dtm/ref/dom2dtm \ + com/sun/org/apache/xml/internal/dtm/ref/sax2dtm \ + com/sun/org/apache/xml/internal/res \ + com/sun/org/apache/xml/internal/resolver \ + com/sun/org/apache/xml/internal/resolver/helpers \ + com/sun/org/apache/xml/internal/resolver/readers \ + com/sun/org/apache/xml/internal/resolver/tools \ + com/sun/org/apache/xml/internal/serialize \ + com/sun/org/apache/xml/internal/serializer \ + com/sun/org/apache/xml/internal/serializer/utils \ + com/sun/org/apache/xml/internal/utils \ + com/sun/org/apache/xml/internal/utils/res \ + com/sun/org/apache/xpath/internal \ + com/sun/org/apache/xpath/internal/axes \ + com/sun/org/apache/xpath/internal/compiler \ + com/sun/org/apache/xpath/internal/domapi \ + com/sun/org/apache/xpath/internal/functions \ + com/sun/org/apache/xpath/internal/jaxp \ + com/sun/org/apache/xpath/internal/objects \ + com/sun/org/apache/xpath/internal/operations \ + com/sun/org/apache/xpath/internal/patterns \ + com/sun/org/apache/xpath/internal/res \ + com/sun/rmi/rmid \ + com/sun/xml/internal/stream/ \ + com/sun/xml/internal/stream/dtd \ + com/sun/xml/internal/stream/dtd/nonvalidating \ + com/sun/xml/internal/stream/events \ + com/sun/xml/internal/stream/util \ + com/sun/xml/internal/stream/writers \ + java/rmi \ + java/rmi/activation \ + java/rmi/dgc \ + java/rmi/registry \ + java/rmi/server \ + java/sql \ + javax/rmi/ssl \ + javax/sql \ + javax/transaction \ + javax/transaction/xa \ + javax/xml \ + javax/xml/datatype \ + javax/xml/namespace \ + javax/xml/parsers \ + javax/xml/stream \ + javax/xml/stream/events \ + javax/xml/stream/util \ + javax/xml/transform \ + javax/xml/transform/dom \ + javax/xml/transform/sax \ + javax/xml/transform/stax \ + javax/xml/transform/stream \ + javax/xml/validation \ + javax/xml/xpath \ + org/w3c/dom \ + org/w3c/dom/bootstrap \ + org/w3c/dom/css \ + org/w3c/dom/events \ + org/w3c/dom/html \ + org/w3c/dom/ls \ + org/w3c/dom/ranges \ + org/w3c/dom/stylesheets \ + org/w3c/dom/traversal \ + org/w3c/dom/views \ + org/w3c/dom/xpath \ + org/xml/sax \ + org/xml/sax/ext \ + org/xml/sax/helpers \ + sun/net/httpserver \ + sun/rmi/log \ + sun/rmi/registry \ + sun/rmi/runtime \ + sun/rmi/server \ + sun/rmi/transport \ + sun/rmi/transport/proxy \ + sun/rmi/transport/tcp \ + sun/util/xml + +PROFILE_2_RTJAR_INCLUDE_TYPES := + +PROFILE_2_RTJAR_EXCLUDE_TYPES := + +PROFILE_2_INCLUDE_METAINF_SERVICES := \ + META-INF/services/sun.util.spi.XmlPropertiesProvider + + +PROFILE_3_RTJAR_INCLUDE_PACKAGES := \ + com/sun/jmx/defaults \ + com/sun/jmx/interceptor \ + com/sun/jmx/mbeanserver \ + com/sun/jmx/remote/internal \ + com/sun/jmx/remote/protocol/rmi \ + com/sun/jmx/remote/security \ + com/sun/jmx/remote/util \ + com/sun/jmx/snmp \ + com/sun/jmx/snmp/IPAcl \ + com/sun/jmx/snmp/agent \ + com/sun/jmx/snmp/daemon \ + com/sun/jmx/snmp/defaults \ + com/sun/jmx/snmp/internal \ + com/sun/jmx/snmp/mpm \ + com/sun/jmx/snmp/tasks \ + com/sun/jmx/trace \ + com/sun/jndi/dns \ + com/sun/jndi/ldap \ + com/sun/jndi/ldap/ext \ + com/sun/jndi/ldap/pool \ + com/sun/jndi/ldap/sasl \ + com/sun/jndi/rmi/registry \ + com/sun/jndi/toolkit/ctx \ + com/sun/jndi/toolkit/dir \ + com/sun/jndi/toolkit/url \ + com/sun/jndi/url/dns \ + com/sun/jndi/url/ldap \ + com/sun/jndi/url/ldaps \ + com/sun/jndi/url/rmi \ + com/sun/management \ + com/sun/management/jmx \ + com/sun/naming/internal \ + com/sun/nio/sctp \ + com/sun/org/apache/xml/internal/security \ + com/sun/org/apache/xml/internal/security/algorithms \ + com/sun/org/apache/xml/internal/security/algorithms/implementations \ + com/sun/org/apache/xml/internal/security/c14n \ + com/sun/org/apache/xml/internal/security/c14n/helper \ + com/sun/org/apache/xml/internal/security/c14n/implementations \ + com/sun/org/apache/xml/internal/security/encryption \ + com/sun/org/apache/xml/internal/security/exceptions \ + com/sun/org/apache/xml/internal/security/keys \ + com/sun/org/apache/xml/internal/security/keys/content \ + com/sun/org/apache/xml/internal/security/keys/content/keyvalues \ + com/sun/org/apache/xml/internal/security/keys/content/x509 \ + com/sun/org/apache/xml/internal/security/keys/keyresolver \ + com/sun/org/apache/xml/internal/security/keys/keyresolver/implementations \ + com/sun/org/apache/xml/internal/security/keys/storage \ + com/sun/org/apache/xml/internal/security/keys/storage/implementations \ + com/sun/org/apache/xml/internal/security/signature \ + com/sun/org/apache/xml/internal/security/transforms \ + com/sun/org/apache/xml/internal/security/transforms/implementations \ + com/sun/org/apache/xml/internal/security/transforms/params \ + com/sun/org/apache/xml/internal/security/utils \ + com/sun/org/apache/xml/internal/security/utils/resolver \ + com/sun/org/apache/xml/internal/security/utils/resolver/implementations \ + com/sun/rowset \ + com/sun/rowset/internal \ + com/sun/rowset/providers \ + com/sun/script/javascript \ + com/sun/script/util \ + com/sun/security/auth/callback \ + com/sun/security/auth/login \ + com/sun/security/auth/module \ + com/sun/security/jgss \ + com/sun/security/ntlm \ + com/sun/security/sasl \ + com/sun/security/sasl/digest \ + com/sun/security/sasl/gsskerb \ + com/sun/security/sasl/ntlm \ + com/sun/security/sasl/util \ + com/sun/tracing \ + com/sun/tracing/dtrace \ + java/lang/instrument \ + java/lang/management \ + java/security/acl \ + java/util/prefs \ + javax/annotation/processing \ + javax/lang/model \ + javax/lang/model/element \ + javax/lang/model/type \ + javax/lang/model/util \ + javax/management \ + javax/management/loading \ + javax/management/modelmbean \ + javax/management/monitor \ + javax/management/openmbean \ + javax/management/relation \ + javax/management/remote \ + javax/management/remote/rmi \ + javax/management/timer \ + javax/naming \ + javax/naming/directory \ + javax/naming/event \ + javax/naming/ldap \ + javax/naming/spi \ + javax/script \ + javax/security/auth/kerberos \ + javax/security/sasl \ + javax/smartcardio \ + javax/sql/rowset \ + javax/sql/rowset/serial \ + javax/sql/rowset/spi \ + javax/tools \ + javax/tools/annotation \ + javax/xml/crypto \ + javax/xml/crypto/dom \ + javax/xml/crypto/dsig \ + javax/xml/crypto/dsig/dom \ + javax/xml/crypto/dsig/keyinfo \ + javax/xml/crypto/dsig/spec \ + org/ietf/jgss \ + org/jcp/xml/dsig/internal \ + org/jcp/xml/dsig/internal/dom \ + sun/instrument \ + sun/management \ + sun/management/counter \ + sun/management/counter/perf \ + sun/management/jmxremote \ + sun/management/resources \ + sun/management/snmp \ + sun/management/snmp/jvminstr \ + sun/management/snmp/jvmmib \ + sun/management/snmp/util \ + sun/net/dns \ + sun/net/www/protocol/http/ntlm \ + sun/net/www/protocol/http/spnego \ + sun/nio/ch/sctp \ + sun/org/mozilla/classfile/internal \ + sun/org/mozilla/javascript/internal \ + sun/org/mozilla/javascript/internal/annotations \ + sun/org/mozilla/javascript/internal/ast \ + sun/org/mozilla/javascript/internal/debug \ + sun/org/mozilla/javascript/internal/jdk13 \ + sun/org/mozilla/javascript/internal/jdk15 \ + sun/org/mozilla/javascript/internal/json \ + sun/org/mozilla/javascript/internal/optimizer \ + sun/org/mozilla/javascript/internal/regexp \ + sun/org/mozilla/javascript/internal/serialize \ + sun/org/mozilla/javascript/internal/xml \ + sun/org/mozilla/javascript/internal/xmlimpl \ + sun/security/acl \ + sun/security/jgss \ + sun/security/jgss/krb5 \ + sun/security/jgss/spi \ + sun/security/jgss/spnego \ + sun/security/jgss/wrapper \ + sun/security/krb5 \ + sun/security/krb5/internal \ + sun/security/krb5/internal/ccache \ + sun/security/krb5/internal/crypto \ + sun/security/krb5/internal/crypto/dk \ + sun/security/krb5/internal/ktab \ + sun/security/krb5/internal/rcache \ + sun/security/krb5/internal/util \ + sun/security/provider/certpath/ldap \ + sun/security/smartcardio \ + sun/tracing \ + sun/tracing/dtrace + +PROFILE_3_RTJAR_INCLUDE_TYPES := \ + com/sun/security/auth/*.class + +PROFILE_3_RTJAR_EXCLUDE_TYPES := \ + javax/management/remote/rmi/_RMIConnectionImpl_Tie.class \ + javax/management/remote/rmi/_RMIConnection_Stub.class \ + javax/management/remote/rmi/_RMIServerImpl_Tie.class \ + javax/management/remote/rmi/_RMIServer_Stub.class + +PROFILE_3_INCLUDE_METAINF_SERVICES := \ + META-INF/services/javax.script.ScriptEngineFactory + + +PROFILE_4_RTJAR_INCLUDE_PACKAGES := \ + com/oracle/net \ + com/oracle/nio \ + com/oracle/util \ + com/sun/accessibility/internal/resources \ + com/sun/activation/registries \ + com/sun/awt \ + com/sun/beans \ + com/sun/beans/decoder \ + com/sun/beans/finder \ + com/sun/corba/se/impl/activation \ + com/sun/corba/se/impl/copyobject \ + com/sun/corba/se/impl/corba \ + com/sun/corba/se/impl/dynamicany \ + com/sun/corba/se/impl/encoding \ + com/sun/corba/se/impl/interceptors \ + com/sun/corba/se/impl/io \ + com/sun/corba/se/impl/ior \ + com/sun/corba/se/impl/ior/iiop \ + com/sun/corba/se/impl/javax/rmi \ + com/sun/corba/se/impl/javax/rmi/CORBA \ + com/sun/corba/se/impl/legacy/connection \ + com/sun/corba/se/impl/logging \ + com/sun/corba/se/impl/monitoring \ + com/sun/corba/se/impl/naming/cosnaming \ + com/sun/corba/se/impl/naming/namingutil \ + com/sun/corba/se/impl/naming/pcosnaming \ + com/sun/corba/se/impl/oa \ + com/sun/corba/se/impl/oa/poa \ + com/sun/corba/se/impl/oa/toa \ + com/sun/corba/se/impl/orb \ + com/sun/corba/se/impl/orbutil \ + com/sun/corba/se/impl/orbutil/closure \ + com/sun/corba/se/impl/orbutil/concurrent \ + com/sun/corba/se/impl/orbutil/fsm \ + com/sun/corba/se/impl/orbutil/graph \ + com/sun/corba/se/impl/orbutil/threadpool \ + com/sun/corba/se/impl/presentation/rmi \ + com/sun/corba/se/impl/protocol \ + com/sun/corba/se/impl/protocol/giopmsgheaders \ + com/sun/corba/se/impl/resolver \ + com/sun/corba/se/impl/transport \ + com/sun/corba/se/impl/util \ + com/sun/corba/se/internal/CosNaming \ + com/sun/corba/se/internal/Interceptors \ + com/sun/corba/se/internal/POA \ + com/sun/corba/se/internal/corba \ + com/sun/corba/se/internal/iiop \ + com/sun/corba/se/org/omg/CORBA \ + com/sun/corba/se/pept/broker \ + com/sun/corba/se/pept/encoding \ + com/sun/corba/se/pept/protocol \ + com/sun/corba/se/pept/transport \ + com/sun/corba/se/spi/activation \ + com/sun/corba/se/spi/activation/InitialNameServicePackage \ + com/sun/corba/se/spi/activation/LocatorPackage \ + com/sun/corba/se/spi/activation/RepositoryPackage \ + com/sun/corba/se/spi/copyobject \ + com/sun/corba/se/spi/encoding \ + com/sun/corba/se/spi/extension \ + com/sun/corba/se/spi/ior \ + com/sun/corba/se/spi/ior/iiop \ + com/sun/corba/se/spi/legacy/connection \ + com/sun/corba/se/spi/legacy/interceptor \ + com/sun/corba/se/spi/logging \ + com/sun/corba/se/spi/monitoring \ + com/sun/corba/se/spi/oa \ + com/sun/corba/se/spi/orb \ + com/sun/corba/se/spi/orbutil/closure \ + com/sun/corba/se/spi/orbutil/fsm \ + com/sun/corba/se/spi/orbutil/proxy \ + com/sun/corba/se/spi/orbutil/threadpool \ + com/sun/corba/se/spi/presentation/rmi \ + com/sun/corba/se/spi/protocol \ + com/sun/corba/se/spi/resolver \ + com/sun/corba/se/spi/servicecontext \ + com/sun/corba/se/spi/transport \ + com/sun/image/codec/jpeg \ + com/sun/imageio/plugins/bmp \ + com/sun/imageio/plugins/common \ + com/sun/imageio/plugins/gif \ + com/sun/imageio/plugins/jpeg \ + com/sun/imageio/plugins/png \ + com/sun/imageio/plugins/wbmp \ + com/sun/imageio/spi \ + com/sun/imageio/stream \ + com/sun/istack/internal \ + com/sun/istack/internal/localization \ + com/sun/istack/internal/logging \ + com/sun/java/browser/dom \ + com/sun/java/browser/net \ + com/sun/java/swing \ + com/sun/java/swing/plaf/gtk \ + com/sun/java/swing/plaf/gtk/resources \ + com/sun/java/swing/plaf/motif \ + com/sun/java/swing/plaf/motif/resources \ + com/sun/java/swing/plaf/nimbus \ + com/sun/java/swing/plaf/windows \ + com/sun/java/swing/plaf/windows/resources \ + com/sun/jmx/remote/protocol/iiop \ + com/sun/jndi/cosnaming \ + com/sun/jndi/toolkit/corba \ + com/sun/jndi/url/corbaname \ + com/sun/jndi/url/iiop \ + com/sun/jndi/url/iiopname \ + com/sun/media/sound \ + com/sun/org/glassfish/external/amx \ + com/sun/org/glassfish/external/arc \ + com/sun/org/glassfish/external/probe/provider \ + com/sun/org/glassfish/external/probe/provider/annotations \ + com/sun/org/glassfish/external/statistics \ + com/sun/org/glassfish/external/statistics/annotations \ + com/sun/org/glassfish/external/statistics/impl \ + com/sun/org/glassfish/gmbal \ + com/sun/org/glassfish/gmbal/util \ + com/sun/org/omg/CORBA \ + com/sun/org/omg/CORBA/ValueDefPackage \ + com/sun/org/omg/CORBA/portable \ + com/sun/org/omg/SendingContext \ + com/sun/org/omg/SendingContext/CodeBasePackage \ + com/sun/servicetag \ + com/sun/swing/internal/plaf/basic/resources \ + com/sun/swing/internal/plaf/metal/resources \ + com/sun/swing/internal/plaf/synth/resources \ + com/sun/xml/internal/bind \ + com/sun/xml/internal/bind/annotation \ + com/sun/xml/internal/bind/api \ + com/sun/xml/internal/bind/api/impl \ + com/sun/xml/internal/bind/marshaller \ + com/sun/xml/internal/bind/unmarshaller \ + com/sun/xml/internal/bind/util \ + com/sun/xml/internal/bind/v2 \ + com/sun/xml/internal/bind/v2/bytecode \ + com/sun/xml/internal/bind/v2/model/annotation \ + com/sun/xml/internal/bind/v2/model/core \ + com/sun/xml/internal/bind/v2/model/impl \ + com/sun/xml/internal/bind/v2/model/nav \ + com/sun/xml/internal/bind/v2/model/runtime \ + com/sun/xml/internal/bind/v2/runtime \ + com/sun/xml/internal/bind/v2/runtime/output \ + com/sun/xml/internal/bind/v2/runtime/property \ + com/sun/xml/internal/bind/v2/runtime/reflect \ + com/sun/xml/internal/bind/v2/runtime/reflect/opt \ + com/sun/xml/internal/bind/v2/runtime/unmarshaller \ + com/sun/xml/internal/bind/v2/schemagen \ + com/sun/xml/internal/bind/v2/schemagen/episode \ + com/sun/xml/internal/bind/v2/schemagen/xmlschema \ + com/sun/xml/internal/bind/v2/util \ + com/sun/xml/internal/fastinfoset \ + com/sun/xml/internal/fastinfoset/algorithm \ + com/sun/xml/internal/fastinfoset/alphabet \ + com/sun/xml/internal/fastinfoset/dom \ + com/sun/xml/internal/fastinfoset/org/apache/xerces/util \ + com/sun/xml/internal/fastinfoset/sax \ + com/sun/xml/internal/fastinfoset/stax \ + com/sun/xml/internal/fastinfoset/stax/events \ + com/sun/xml/internal/fastinfoset/stax/factory \ + com/sun/xml/internal/fastinfoset/stax/util \ + com/sun/xml/internal/fastinfoset/tools \ + com/sun/xml/internal/fastinfoset/util \ + com/sun/xml/internal/fastinfoset/vocab \ + com/sun/xml/internal/messaging/saaj \ + com/sun/xml/internal/messaging/saaj/client/p2p \ + com/sun/xml/internal/messaging/saaj/packaging/mime \ + com/sun/xml/internal/messaging/saaj/packaging/mime/internet \ + com/sun/xml/internal/messaging/saaj/packaging/mime/util \ + com/sun/xml/internal/messaging/saaj/soap \ + com/sun/xml/internal/messaging/saaj/soap/dynamic \ + com/sun/xml/internal/messaging/saaj/soap/impl \ + com/sun/xml/internal/messaging/saaj/soap/name \ + com/sun/xml/internal/messaging/saaj/soap/ver1_1 \ + com/sun/xml/internal/messaging/saaj/soap/ver1_2 \ + com/sun/xml/internal/messaging/saaj/util \ + com/sun/xml/internal/messaging/saaj/util/transform \ + com/sun/xml/internal/org/jvnet/fastinfoset \ + com/sun/xml/internal/org/jvnet/fastinfoset/sax \ + com/sun/xml/internal/org/jvnet/fastinfoset/sax/helpers \ + com/sun/xml/internal/org/jvnet/fastinfoset/stax \ + com/sun/xml/internal/org/jvnet/mimepull \ + com/sun/xml/internal/org/jvnet/staxex \ + com/sun/xml/internal/org/jvnet/ws \ + com/sun/xml/internal/org/jvnet/ws/databinding \ + com/sun/xml/internal/org/jvnet/ws/message \ + com/sun/xml/internal/stream/buffer \ + com/sun/xml/internal/stream/buffer/sax \ + com/sun/xml/internal/stream/buffer/stax \ + com/sun/xml/internal/txw2 \ + com/sun/xml/internal/txw2/annotation \ + com/sun/xml/internal/txw2/output \ + com/sun/xml/internal/ws/addressing \ + com/sun/xml/internal/ws/addressing/model \ + com/sun/xml/internal/ws/addressing/policy \ + com/sun/xml/internal/ws/addressing/v200408 \ + com/sun/xml/internal/ws/api \ + com/sun/xml/internal/ws/api/addressing \ + com/sun/xml/internal/ws/api/client \ + com/sun/xml/internal/ws/api/config/management \ + com/sun/xml/internal/ws/api/config/management/policy \ + com/sun/xml/internal/ws/api/databinding \ + com/sun/xml/internal/ws/api/fastinfoset \ + com/sun/xml/internal/ws/api/ha \ + com/sun/xml/internal/ws/api/handler \ + com/sun/xml/internal/ws/api/message \ + com/sun/xml/internal/ws/api/message/saaj \ + com/sun/xml/internal/ws/api/message/stream \ + com/sun/xml/internal/ws/api/model \ + com/sun/xml/internal/ws/api/model/soap \ + com/sun/xml/internal/ws/api/model/wsdl \ + com/sun/xml/internal/ws/api/pipe \ + com/sun/xml/internal/ws/api/pipe/helper \ + com/sun/xml/internal/ws/api/policy \ + com/sun/xml/internal/ws/api/policy/subject \ + com/sun/xml/internal/ws/api/server \ + com/sun/xml/internal/ws/api/streaming \ + com/sun/xml/internal/ws/api/wsdl/parser \ + com/sun/xml/internal/ws/api/wsdl/writer \ + com/sun/xml/internal/ws/binding \ + com/sun/xml/internal/ws/client \ + com/sun/xml/internal/ws/client/dispatch \ + com/sun/xml/internal/ws/client/sei \ + com/sun/xml/internal/ws/config/management/policy \ + com/sun/xml/internal/ws/db \ + com/sun/xml/internal/ws/db/glassfish \ + com/sun/xml/internal/ws/developer \ + com/sun/xml/internal/ws/encoding \ + com/sun/xml/internal/ws/encoding/fastinfoset \ + com/sun/xml/internal/ws/encoding/policy \ + com/sun/xml/internal/ws/encoding/soap \ + com/sun/xml/internal/ws/encoding/soap/streaming \ + com/sun/xml/internal/ws/encoding/xml \ + com/sun/xml/internal/ws/fault \ + com/sun/xml/internal/ws/handler \ + com/sun/xml/internal/ws/message \ + com/sun/xml/internal/ws/message/jaxb \ + com/sun/xml/internal/ws/message/saaj \ + com/sun/xml/internal/ws/message/source \ + com/sun/xml/internal/ws/message/stream \ + com/sun/xml/internal/ws/model \ + com/sun/xml/internal/ws/model/soap \ + com/sun/xml/internal/ws/model/wsdl \ + com/sun/xml/internal/ws/org/objectweb/asm \ + com/sun/xml/internal/ws/policy \ + com/sun/xml/internal/ws/policy/jaxws \ + com/sun/xml/internal/ws/policy/jaxws/spi \ + com/sun/xml/internal/ws/policy/privateutil \ + com/sun/xml/internal/ws/policy/sourcemodel \ + com/sun/xml/internal/ws/policy/sourcemodel/attach \ + com/sun/xml/internal/ws/policy/sourcemodel/wspolicy \ + com/sun/xml/internal/ws/policy/spi \ + com/sun/xml/internal/ws/policy/subject \ + com/sun/xml/internal/ws/protocol/soap \ + com/sun/xml/internal/ws/protocol/xml \ + com/sun/xml/internal/ws/resources \ + com/sun/xml/internal/ws/server \ + com/sun/xml/internal/ws/server/provider \ + com/sun/xml/internal/ws/server/sei \ + com/sun/xml/internal/ws/spi \ + com/sun/xml/internal/ws/spi/db \ + com/sun/xml/internal/ws/streaming \ + com/sun/xml/internal/ws/transport \ + com/sun/xml/internal/ws/transport/http \ + com/sun/xml/internal/ws/transport/http/client \ + com/sun/xml/internal/ws/transport/http/server \ + com/sun/xml/internal/ws/util \ + com/sun/xml/internal/ws/util/exception \ + com/sun/xml/internal/ws/util/localization \ + com/sun/xml/internal/ws/util/pipe \ + com/sun/xml/internal/ws/util/xml \ + com/sun/xml/internal/ws/wsdl \ + com/sun/xml/internal/ws/wsdl/parser \ + com/sun/xml/internal/ws/wsdl/writer \ + com/sun/xml/internal/ws/wsdl/writer/document \ + com/sun/xml/internal/ws/wsdl/writer/document/http \ + com/sun/xml/internal/ws/wsdl/writer/document/soap \ + com/sun/xml/internal/ws/wsdl/writer/document/soap12 \ + com/sun/xml/internal/ws/wsdl/writer/document/xsd \ + java/applet \ + java/awt \ + java/awt/color \ + java/awt/datatransfer \ + java/awt/dnd \ + java/awt/dnd/peer \ + java/awt/event \ + java/awt/font \ + java/awt/geom \ + java/awt/im \ + java/awt/im/spi \ + java/awt/image \ + java/awt/image/renderable \ + java/awt/peer \ + java/awt/print \ + java/beans \ + javax/accessibility \ + javax/activation \ + javax/activity \ + javax/imageio \ + javax/imageio/event \ + javax/imageio/metadata \ + javax/imageio/plugins/bmp \ + javax/imageio/plugins/jpeg \ + javax/imageio/spi \ + javax/imageio/stream \ + javax/jws \ + javax/jws/soap \ + javax/print \ + javax/print/attribute \ + javax/print/attribute/standard \ + javax/print/event \ + javax/rmi/CORBA \ + javax/sound/midi \ + javax/sound/midi/spi \ + javax/sound/sampled \ + javax/sound/sampled/spi \ + javax/swing \ + javax/swing/border \ + javax/swing/colorchooser \ + javax/swing/event \ + javax/swing/filechooser \ + javax/swing/plaf \ + javax/swing/plaf/basic \ + javax/swing/plaf/metal \ + javax/swing/plaf/multi \ + javax/swing/plaf/nimbus \ + javax/swing/plaf/synth \ + javax/swing/table \ + javax/swing/text \ + javax/swing/text/html \ + javax/swing/text/html/parser \ + javax/swing/text/rtf \ + javax/swing/tree \ + javax/swing/undo \ + javax/xml/bind \ + javax/xml/bind/annotation \ + javax/xml/bind/annotation/adapters \ + javax/xml/bind/attachment \ + javax/xml/bind/helpers \ + javax/xml/bind/util \ + javax/xml/soap \ + javax/xml/ws \ + javax/xml/ws/handler \ + javax/xml/ws/handler/soap \ + javax/xml/ws/http \ + javax/xml/ws/soap \ + javax/xml/ws/spi \ + javax/xml/ws/spi/http \ + javax/xml/ws/wsaddressing \ + org/omg/CORBA \ + org/omg/CORBA/DynAnyPackage \ + org/omg/CORBA/ORBPackage \ + org/omg/CORBA/TypeCodePackage \ + org/omg/CORBA/portable \ + org/omg/CORBA_2_3 \ + org/omg/CORBA_2_3/portable \ + org/omg/CosNaming \ + org/omg/CosNaming/NamingContextExtPackage \ + org/omg/CosNaming/NamingContextPackage \ + org/omg/Dynamic \ + org/omg/DynamicAny \ + org/omg/DynamicAny/DynAnyFactoryPackage \ + org/omg/DynamicAny/DynAnyPackage \ + org/omg/IOP \ + org/omg/IOP/CodecFactoryPackage \ + org/omg/IOP/CodecPackage \ + org/omg/Messaging \ + org/omg/PortableInterceptor \ + org/omg/PortableInterceptor/ORBInitInfoPackage \ + org/omg/PortableServer \ + org/omg/PortableServer/CurrentPackage \ + org/omg/PortableServer/POAManagerPackage \ + org/omg/PortableServer/POAPackage \ + org/omg/PortableServer/ServantLocatorPackage \ + org/omg/PortableServer/portable \ + org/omg/SendingContext \ + org/omg/stub/java/rmi \ + org/omg/stub/javax/management/remote/rmi \ + sun/applet \ + sun/applet/resources \ + sun/audio \ + sun/awt \ + sun/awt/X11 \ + sun/awt/datatransfer \ + sun/awt/dnd \ + sun/awt/event \ + sun/awt/geom \ + sun/awt/im \ + sun/awt/image \ + sun/awt/image/codec \ + sun/awt/motif \ + sun/awt/resources \ + sun/awt/shell \ + sun/awt/util \ + sun/awt/windows \ + sun/beans/editors \ + sun/beans/infos \ + sun/corba \ + sun/dc \ + sun/dc/path \ + sun/dc/pr \ + sun/font \ + sun/java2d \ + sun/java2d/cmm \ + sun/java2d/cmm/kcms \ + sun/java2d/cmm/lcms \ + sun/java2d/jules \ + sun/java2d/loops \ + sun/java2d/opengl \ + sun/java2d/pipe \ + sun/java2d/pipe/hw \ + sun/java2d/pisces \ + sun/java2d/x11 \ + sun/java2d/xr \ + sun/net/ftp \ + sun/net/ftp/impl \ + sun/net/smtp \ + sun/net/www/content/audio \ + sun/net/www/content/image \ + sun/net/www/content/text \ + sun/net/www/protocol/ftp \ + sun/net/www/protocol/mailto \ + sun/net/www/protocol/netdoc \ + sun/print \ + sun/print/resources \ + sun/security/tools/policytool \ + sun/swing \ + sun/swing/icon \ + sun/swing/plaf \ + sun/swing/plaf/synth \ + sun/swing/plaf/windows \ + sun/swing/table \ + sun/swing/text \ + sun/swing/text/html \ + sun/tools/jar \ + sun/tools/jar/resources + +PROFILE_4_RTJAR_INCLUDE_TYPES := \ + com/sun/xml/internal/ws/*.class \ + javax/annotation/*.class \ + javax/rmi/*.class + +PROFILE_4_RTJAR_EXCLUDE_TYPES := + +PROFILE_4_INCLUDE_METAINF_SERVICES := \ + META-INF/services/com.sun.tools.internal.ws.wscompile.Plugin \ + META-INF/services/com.sun.tools.internal.xjc.Plugin \ + META-INF/services/javax.print.PrintServiceLookup \ + META-INF/services/javax.print.StreamPrintServiceFactory \ + META-INF/services/javax.sound.midi.spi.MidiDeviceProvider \ + META-INF/services/javax.sound.midi.spi.MidiFileReader \ + META-INF/services/javax.sound.midi.spi.MidiFileWriter \ + META-INF/services/javax.sound.midi.spi.SoundbankReader \ + META-INF/services/javax.sound.sampled.spi.AudioFileReader \ + META-INF/services/javax.sound.sampled.spi.AudioFileWriter \ + META-INF/services/javax.sound.sampled.spi.FormatConversionProvider \ + META-INF/services/javax.sound.sampled.spi.MixerProvider \ + META-INF/services/sun.java2d.cmm.PCMM \ + META-INF/services/sun.java2d.pipe.RenderingEngine + + diff -r e5b41bd22ec9 -r 14c6889b6132 jdk/test/java/lang/SecurityManager/NoAWT.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/jdk/test/java/lang/SecurityManager/NoAWT.java Mon Jan 21 23:35:36 2013 -0500 @@ -0,0 +1,53 @@ +/* + * Copyright (c) 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. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ + +/* @test + * @bug 8004502 + * @summary Sanity check that SecurityManager methods that check AWTPermission + * behave as expected when AWT is not present + */ + +public class NoAWT { + public static void main(String[] args) { + SecurityManager sm = new SecurityManager(); + + try { + sm.checkAwtEventQueueAccess(); + throw new RuntimeException("SecurityException expected"); + } catch (SecurityException expected) { } + + try { + sm.checkSystemClipboardAccess(); + throw new RuntimeException("SecurityException expected"); + } catch (SecurityException expected) { } + + try { + sm.checkTopLevelWindow(null); + throw new RuntimeException("NullPointException expected"); + } catch (NullPointerException expected) { } + + if (sm.checkTopLevelWindow(new Object())) { + throw new RuntimeException("checkTopLevelWindow expected to return false"); + } + } +} diff -r e5b41bd22ec9 -r 14c6889b6132 jdk/test/java/security/cert/CertStore/NoLDAP.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/jdk/test/java/security/cert/CertStore/NoLDAP.java Mon Jan 21 23:35:36 2013 -0500 @@ -0,0 +1,50 @@ +/* + * Copyright (c) 2012, 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. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ + +/* @test + * @bug 8004502 + * @summary Sanity check that NoSuchAlgorithmException is thrown when requesting + * a CertStore of type "LDAP" and LDAP is not available. + */ + +import java.security.NoSuchAlgorithmException; +import java.security.cert.CertStore; +import java.security.cert.LDAPCertStoreParameters; + + +public class NoLDAP { + public static void main(String[] args) throws Exception { + try { + Class.forName("javax.naming.ldap.LdapName"); + System.out.println("LDAP is present, test skipped"); + return; + } catch (ClassNotFoundException ignore) { } + + try { + CertStore.getInstance("LDAP", new LDAPCertStoreParameters()); + throw new RuntimeException("NoSuchAlgorithmException expected"); + } catch (NoSuchAlgorithmException x) { + System.out.println("NoSuchAlgorithmException thrown as expected"); + } + } +} diff -r e5b41bd22ec9 -r 14c6889b6132 jdk/test/javax/management/remote/mandatory/connection/NoIIOP.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/jdk/test/javax/management/remote/mandatory/connection/NoIIOP.java Mon Jan 21 23:35:36 2013 -0500 @@ -0,0 +1,141 @@ +/* + * Copyright (c) 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. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ + +/* @test + * @bug 8004502 + * @summary Sanity check that attempts to use the IIOP transport or + * RMIIIOPServerImpl when RMI/IIOP not present throws the expected exceptions + */ + +import javax.management.MBeanServer; +import javax.management.MBeanServerFactory; +import javax.management.remote.*; +import javax.management.remote.rmi.*; +import java.net.MalformedURLException; +import java.io.IOException; +import javax.security.auth.Subject; +import java.rmi.NoSuchObjectException; +import javax.management.remote.JMXConnectorFactory; +import javax.management.remote.JMXConnectorServerFactory; + +public class NoIIOP { + + /** + * RMIIIOPServerImpl implementation for testing purposes (methods are + * overridden to be public to allow for testing) + */ + static class MyRMIIIOPServerImpl extends RMIIIOPServerImpl { + MyRMIIIOPServerImpl() throws IOException { + super(null); + } + @Override + public void export() throws IOException { + super.export(); + } + @Override + public String getProtocol() { + return super.getProtocol(); + } + @Override + public RMIConnection makeClient(String connectionId, Subject subject) + throws IOException + { + return super.makeClient(connectionId, subject); + } + @Override + public void closeClient(RMIConnection client) throws IOException { + super.closeClient(client); + } + @Override + public void closeServer() throws IOException { + super.closeServer(); + } + } + + + public static void main(String[] args) throws Exception { + try { + Class.forName("javax.management.remote.rmi._RMIConnectionImpl_Tie"); + System.out.println("RMI/IIOP appears to be supported, test skipped"); + return; + } catch (ClassNotFoundException okay) { } + + JMXServiceURL url = new JMXServiceURL("service:jmx:iiop://"); + MBeanServer mbs = MBeanServerFactory.createMBeanServer(); + + + // test JMXConnectorFactory/JMXConnectorServerFactory + + try { + JMXConnectorFactory.connect(url); + throw new RuntimeException("connect did not throw MalformedURLException"); + } catch (MalformedURLException expected) { } + + try { + JMXConnectorServerFactory.newJMXConnectorServer(url, null, null); + throw new RuntimeException("newJMXConnectorServer did not throw MalformedURLException"); + } catch (MalformedURLException expected) { } + + + // test RMIConnector/RMIConnectorServer + + RMIConnector connector = new RMIConnector(url, null); + try { + connector.connect(); + throw new RuntimeException("connect did not throw IOException"); + } catch (IOException expected) { } + + RMIConnectorServer server = new RMIConnectorServer(url, null, mbs); + try { + server.start(); + throw new RuntimeException("start did not throw IOException"); + } catch (IOException expected) { } + + + // test RMIIIOPServerImpl + + MyRMIIIOPServerImpl impl = new MyRMIIIOPServerImpl(); + impl.setMBeanServer(mbs); + System.out.println(impl.getProtocol()); + + try { + impl.export(); + throw new RuntimeException("export did not throw IOException"); + } catch (IOException expected) { } + + try { + impl.newClient(null); + throw new RuntimeException("newClient did not throw IOException"); + } catch (IOException expected) { } + + try { + impl.toStub(); + throw new RuntimeException("toStub did not throw NoSuchObjectException"); + } catch (NoSuchObjectException expected) { } + + try { + impl.closeServer(); + throw new RuntimeException("closeServer did not throw NoSuchObjectException"); + } catch (NoSuchObjectException expected) { } + } +} diff -r e5b41bd22ec9 -r 14c6889b6132 jdk/test/javax/naming/InitialContext/NoApplet.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/jdk/test/javax/naming/InitialContext/NoApplet.java Mon Jan 21 23:35:36 2013 -0500 @@ -0,0 +1,42 @@ +/* + * Copyright (c) 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. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ + +/* @test + * @bug 8004502 + * @summary Sanity check that specifying the APPLET property when creating an + * InitialContext behaves as expected when java.awt.Applet is not present + */ + +import javax.naming.*; +import java.util.Hashtable; + +public class NoApplet { + public static void main(String[] args) throws NamingException { + Hashtable env = new Hashtable<>(); + env.put(Context.APPLET, new Object()); + try { + Context ctxt = new InitialContext(env); + throw new RuntimeException("ClassCastException expected"); + } catch (ClassCastException expected) { } + } +} diff -r e5b41bd22ec9 -r 14c6889b6132 jdk/test/sun/net/www/protocol/http/NoNTLM.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/jdk/test/sun/net/www/protocol/http/NoNTLM.java Mon Jan 21 23:35:36 2013 -0500 @@ -0,0 +1,240 @@ +/* + * Copyright (c) 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. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ + +/* @test + * @bug 8004502 + * @summary Sanity check that NTLM will not be selected by the http protocol + * handler when running on a profile that does not support NTLM + * @run main/othervm NoNTLM + */ + +import java.net.*; +import java.io.*; +import sun.net.www.MessageHeader; + +public class NoNTLM { + + static final String CRLF = "\r\n"; + + static final String OKAY = + "HTTP/1.1 200" + CRLF + + "Content-Length: 0" + CRLF + + "Connection: close" + CRLF + + CRLF; + + static class Client implements Runnable { + private final URL url; + private volatile IOException ioe; + private volatile int respCode; + + Client(int port) throws IOException { + this.url = new URL("http://127.0.0.1:" + port + "/foo.html"); + } + + public void run() { + try { + HttpURLConnection uc = + (HttpURLConnection)url.openConnection(Proxy.NO_PROXY); + try { + uc.getInputStream(); + } catch (IOException x) { + respCode = uc.getResponseCode(); + throw x; + } + uc.disconnect(); + } catch (IOException x) { + if (respCode == 0) + respCode = -1; + ioe = x; + } + } + + IOException ioException() { + return ioe; + } + + int respCode() { + return respCode; + } + + static void start(int port) throws IOException { + Client client = new Client(port); + new Thread(client).start(); + } + } + + /** + * Return the http response with WWW-Authenticate headers for the given + * authentication schemes. + */ + static String authReplyFor(String... schemes) { + // construct the server reply + String reply = "HTTP/1.1 401 Unauthorized" + CRLF + + "Content-Length: 0"+ CRLF + + "Connection: close" + CRLF; + for (String s: schemes) { + switch (s) { + case "Basic" : + reply += "WWW-Authenticate: Basic realm=\"wallyworld\"" + CRLF; + break; + case "Digest" : + reply += "WWW-Authenticate: Digest" + + " realm=\"wallyworld\"" + + " domain=/" + + " nonce=\"abcdefghijklmnopqrstuvwxyz\"" + + " qop=\"auth\"" + CRLF; + break; + case "NTLM" : + reply += "WWW-Authenticate: NTLM" + CRLF; + break; + default : + throw new RuntimeException("Should not get here"); + } + } + reply += CRLF; + return reply; + } + + /** + * Test the http protocol handler with the given authentication schemes + * in the WWW-Authenticate header. + */ + static void test(String... schemes) throws IOException { + + // the authentication scheme that the client is expected to choose + String expected = null; + for (String s: schemes) { + if (expected == null) { + expected = s; + } else if (s.equals("Digest")) { + expected = s; + } + } + + // server reply + String reply = authReplyFor(schemes); + + System.out.println("===================================="); + System.out.println("Expect client to choose: " + expected); + System.out.println(reply); + + try (ServerSocket ss = new ServerSocket(0)) { + Client.start(ss.getLocalPort()); + + // client ---- GET ---> server + // client <--- 401 ---- server + try (Socket s = ss.accept()) { + new MessageHeader().parseHeader(s.getInputStream()); + s.getOutputStream().write(reply.getBytes("US-ASCII")); + } + + // client ---- GET ---> server + // client <--- 200 ---- server + String auth; + try (Socket s = ss.accept()) { + MessageHeader mh = new MessageHeader(); + mh.parseHeader(s.getInputStream()); + s.getOutputStream().write(OKAY.getBytes("US-ASCII")); + auth = mh.findValue("Authorization"); + } + + // check Authorization header + if (auth == null) + throw new RuntimeException("Authorization header not found"); + System.out.println("Server received Authorization header: " + auth); + String[] values = auth.split(" "); + if (!values[0].equals(expected)) + throw new RuntimeException("Unexpected value"); + } + } + + /** + * Test the http protocol handler with one WWW-Authenticate header with + * the value "NTLM". + */ + static void testNTLM() throws Exception { + // server reply + String reply = authReplyFor("NTLM"); + + System.out.println("===================================="); + System.out.println("Expect client to fail with 401 Unauthorized"); + System.out.println(reply); + + try (ServerSocket ss = new ServerSocket(0)) { + Client client = new Client(ss.getLocalPort()); + Thread thr = new Thread(client); + thr.start(); + + // client ---- GET ---> server + // client <--- 401 ---- client + try (Socket s = ss.accept()) { + new MessageHeader().parseHeader(s.getInputStream()); + s.getOutputStream().write(reply.getBytes("US-ASCII")); + } + + // the client should fail with 401 + System.out.println("Waiting for client to terminate"); + thr.join(); + IOException ioe = client.ioException(); + if (ioe != null) + System.out.println("Client failed: " + ioe); + int respCode = client.respCode(); + if (respCode != 0 && respCode != -1) + System.out.println("Client received HTTP response code: " + respCode); + if (respCode != HttpURLConnection.HTTP_UNAUTHORIZED) + throw new RuntimeException("Unexpected response code"); + } + } + + public static void main(String[] args) throws Exception { + // assume NTLM is not supported when Kerberos is not available + try { + Class.forName("javax.security.auth.kerberos.KerberosPrincipal"); + System.out.println("Kerberos is present, assuming NTLM is supported too"); + return; + } catch (ClassNotFoundException okay) { } + + // setup Authenticator + Authenticator.setDefault(new Authenticator() { + @Override + protected PasswordAuthentication getPasswordAuthentication() { + return new PasswordAuthentication("user", "pass".toCharArray()); + } + }); + + // test combinations of authentication schemes + test("Basic"); + test("Digest"); + test("Basic", "Digest"); + test("Basic", "NTLM"); + test("Digest", "NTLM"); + test("Basic", "Digest", "NTLM"); + + // test NTLM only, this should fail with "401 Unauthorized" + testNTLM(); + + System.out.println(); + System.out.println("TEST PASSED"); + } +} + diff -r e5b41bd22ec9 -r 14c6889b6132 jdk/test/sun/security/ssl/sanity/ciphersuites/NoKerberos.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/jdk/test/sun/security/ssl/sanity/ciphersuites/NoKerberos.java Mon Jan 21 23:35:36 2013 -0500 @@ -0,0 +1,103 @@ +/* + * Copyright (c) 2012, 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. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ + +/* @test + * @bug 8004502 + * @summary Sanity check to ensure that Kerberos cipher suites cannot be + * negotiated when running on a compact profile that does not include Kerberos + */ + +import java.net.*; +import java.util.*; +import javax.net.ssl.*; + +public class NoKerberos { + + static final List KERBEROS_CIPHER_SUITES = Arrays.asList( + "TLS_KRB5_WITH_RC4_128_SHA", + "TLS_KRB5_WITH_RC4_128_MD5", + "TLS_KRB5_WITH_3DES_EDE_CBC_SHA", + "TLS_KRB5_WITH_3DES_EDE_CBC_MD5", + "TLS_KRB5_WITH_DES_CBC_SHA", + "TLS_KRB5_WITH_DES_CBC_MD5", + "TLS_KRB5_EXPORT_WITH_RC4_40_SHA", + "TLS_KRB5_EXPORT_WITH_RC4_40_MD5", + "TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA", + "TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5" + ); + + /** + * Checks that the given array of supported cipher suites does not include + * any Kerberos cipher suites. + */ + static void checkNotSupported(String[] supportedSuites) { + for (String suites: supportedSuites) { + if (KERBEROS_CIPHER_SUITES.contains(suites)) { + throw new RuntimeException("Supported list of cipher suites " + + " should not include Kerberos cipher suites"); + } + } + } + + public static void main(String[] args) throws Exception { + try { + Class.forName("javax.security.auth.kerberos.KerberosPrincipal"); + System.out.println("Kerberos is present, nothing to test"); + return; + } catch (ClassNotFoundException okay) { } + + // test SSLSocket + try (Socket s = SSLSocketFactory.getDefault().createSocket()) { + SSLSocket sslSocket = (SSLSocket)s; + + checkNotSupported(sslSocket.getSupportedCipherSuites()); + + // attempt to enable each of the Kerberos cipher suites + for (String kcs: KERBEROS_CIPHER_SUITES) { + String[] suites = { kcs }; + try { + sslSocket.setEnabledCipherSuites(suites); + throw new RuntimeException("SSLSocket.setEnabledCipherSuitessuites allowed " + + kcs + " but Kerberos not supported"); + } catch (IllegalArgumentException expected) { } + } + } + + // test SSLServerSocket + try (ServerSocket ss = SSLServerSocketFactory.getDefault().createServerSocket()) { + SSLServerSocket sslSocket = (SSLServerSocket)ss; + + checkNotSupported(sslSocket.getSupportedCipherSuites()); + + // attempt to enable each of the Kerberos cipher suites + for (String kcs: KERBEROS_CIPHER_SUITES) { + String[] suites = { kcs }; + try { + sslSocket.setEnabledCipherSuites(suites); + throw new RuntimeException("SSLSocket.setEnabledCipherSuitessuites allowed " + + kcs + " but Kerberos not supported"); + } catch (IllegalArgumentException expected) { } + } + } + } +}