< prev index next >

src/java.base/share/native/libjava/System.c

Print this page




 187     if (sprops->exceptionList) {
 188         PUTPROP(propArray, _http_nonProxyHosts_NDX, sprops->exceptionList);
 189         PUTPROP(propArray, _ftp_nonProxyHosts_NDX, sprops->exceptionList);
 190         PUTPROP(propArray, _socksNonProxyHosts_NDX, sprops->exceptionList);
 191     }
 192 #endif
 193 
 194     /* data model */
 195     if (sizeof(sprops) == 4) {
 196         sprops->data_model = "32";
 197     } else if (sizeof(sprops) == 8) {
 198         sprops->data_model = "64";
 199     } else {
 200         sprops->data_model = "unknown";
 201     }
 202     PUTPROP(propArray, _sun_arch_data_model_NDX, sprops->data_model);
 203 
 204     /* patch level */
 205     PUTPROP(propArray, _sun_os_patch_level_NDX, sprops->patch_level);
 206 
 207     PUTPROP(propArray, _awt_toolkit_NDX, sprops->awt_toolkit);
 208 
 209     PUTPROP_PlatformString(propArray, _java_io_tmpdir_NDX, sprops->tmp_dir);
 210 
 211     PUTPROP_PlatformString(propArray, _user_name_NDX, sprops->user_name);
 212     PUTPROP_PlatformString(propArray, _user_home_NDX, sprops->user_home);
 213     PUTPROP_PlatformString(propArray, _user_dir_NDX, sprops->user_dir);
 214 
 215    /*
 216     * Set i18n related property fields from platform.
 217     */
 218    PUTPROP(propArray, _display_language_NDX, sprops->display_language);
 219    PUTPROP(propArray, _display_script_NDX, sprops->display_script);
 220    PUTPROP(propArray, _display_country_NDX, sprops->display_country);
 221    PUTPROP(propArray, _display_variant_NDX, sprops->display_variant);
 222 
 223    PUTPROP(propArray, _format_language_NDX, sprops->format_language);
 224    PUTPROP(propArray, _format_script_NDX, sprops->format_script);
 225    PUTPROP(propArray, _format_country_NDX, sprops->format_country);
 226    PUTPROP(propArray, _format_variant_NDX, sprops->format_variant);
 227 
 228    return propArray;




 187     if (sprops->exceptionList) {
 188         PUTPROP(propArray, _http_nonProxyHosts_NDX, sprops->exceptionList);
 189         PUTPROP(propArray, _ftp_nonProxyHosts_NDX, sprops->exceptionList);
 190         PUTPROP(propArray, _socksNonProxyHosts_NDX, sprops->exceptionList);
 191     }
 192 #endif
 193 
 194     /* data model */
 195     if (sizeof(sprops) == 4) {
 196         sprops->data_model = "32";
 197     } else if (sizeof(sprops) == 8) {
 198         sprops->data_model = "64";
 199     } else {
 200         sprops->data_model = "unknown";
 201     }
 202     PUTPROP(propArray, _sun_arch_data_model_NDX, sprops->data_model);
 203 
 204     /* patch level */
 205     PUTPROP(propArray, _sun_os_patch_level_NDX, sprops->patch_level);
 206 


 207     PUTPROP_PlatformString(propArray, _java_io_tmpdir_NDX, sprops->tmp_dir);
 208 
 209     PUTPROP_PlatformString(propArray, _user_name_NDX, sprops->user_name);
 210     PUTPROP_PlatformString(propArray, _user_home_NDX, sprops->user_home);
 211     PUTPROP_PlatformString(propArray, _user_dir_NDX, sprops->user_dir);
 212 
 213    /*
 214     * Set i18n related property fields from platform.
 215     */
 216    PUTPROP(propArray, _display_language_NDX, sprops->display_language);
 217    PUTPROP(propArray, _display_script_NDX, sprops->display_script);
 218    PUTPROP(propArray, _display_country_NDX, sprops->display_country);
 219    PUTPROP(propArray, _display_variant_NDX, sprops->display_variant);
 220 
 221    PUTPROP(propArray, _format_language_NDX, sprops->format_language);
 222    PUTPROP(propArray, _format_script_NDX, sprops->format_script);
 223    PUTPROP(propArray, _format_country_NDX, sprops->format_country);
 224    PUTPROP(propArray, _format_variant_NDX, sprops->format_variant);
 225 
 226    return propArray;


< prev index next >