189
190 PUTPROP(props, "java.specification.version",
191 JDK_MAJOR_VERSION "." JDK_MINOR_VERSION);
192 PUTPROP(props, "java.specification.name",
193 "Java Platform API Specification");
194 PUTPROP(props, "java.specification.vendor",
195 JAVA_SPECIFICATION_VENDOR);
196
197 PUTPROP(props, "java.version", RELEASE);
198 PUTPROP(props, "java.vendor", VENDOR);
199 PUTPROP(props, "java.vendor.url", VENDOR_URL);
200 PUTPROP(props, "java.vendor.url.bug", VENDOR_URL_BUG);
201
202 jio_snprintf(buf, sizeof(buf), "%d.%d", JAVA_MAX_SUPPORTED_VERSION,
203 JAVA_MAX_SUPPORTED_MINOR_VERSION);
204 PUTPROP(props, "java.class.version", buf);
205
206 if (sprops->awt_toolkit) {
207 PUTPROP(props, "awt.toolkit", sprops->awt_toolkit);
208 }
209 if (sprops->awt_headless) {
210 PUTPROP(props, "java.awt.headless", sprops->awt_headless);
211 }
212
213 /* os properties */
214 PUTPROP(props, "os.name", sprops->os_name);
215 PUTPROP(props, "os.version", sprops->os_version);
216 PUTPROP(props, "os.arch", sprops->os_arch);
217
218 #ifdef JDK_ARCH_ABI_PROP_NAME
219 PUTPROP(props, "sun.arch.abi", sprops->sun_arch_abi);
220 #endif
221
222 /* file system properties */
223 PUTPROP(props, "file.separator", sprops->file_separator);
224 PUTPROP(props, "path.separator", sprops->path_separator);
225 PUTPROP(props, "line.separator", sprops->line_separator);
226
227 /*
228 * user.language
229 * user.script, user.country, user.variant (if user's environment specifies them)
230 * file.encoding
231 * file.encoding.pkg
|
189
190 PUTPROP(props, "java.specification.version",
191 JDK_MAJOR_VERSION "." JDK_MINOR_VERSION);
192 PUTPROP(props, "java.specification.name",
193 "Java Platform API Specification");
194 PUTPROP(props, "java.specification.vendor",
195 JAVA_SPECIFICATION_VENDOR);
196
197 PUTPROP(props, "java.version", RELEASE);
198 PUTPROP(props, "java.vendor", VENDOR);
199 PUTPROP(props, "java.vendor.url", VENDOR_URL);
200 PUTPROP(props, "java.vendor.url.bug", VENDOR_URL_BUG);
201
202 jio_snprintf(buf, sizeof(buf), "%d.%d", JAVA_MAX_SUPPORTED_VERSION,
203 JAVA_MAX_SUPPORTED_MINOR_VERSION);
204 PUTPROP(props, "java.class.version", buf);
205
206 if (sprops->awt_toolkit) {
207 PUTPROP(props, "awt.toolkit", sprops->awt_toolkit);
208 }
209 #ifdef MACOSX
210 if (sprops->awt_headless) {
211 PUTPROP(props, "java.awt.headless", sprops->awt_headless);
212 }
213 #endif
214
215 /* os properties */
216 PUTPROP(props, "os.name", sprops->os_name);
217 PUTPROP(props, "os.version", sprops->os_version);
218 PUTPROP(props, "os.arch", sprops->os_arch);
219
220 #ifdef JDK_ARCH_ABI_PROP_NAME
221 PUTPROP(props, "sun.arch.abi", sprops->sun_arch_abi);
222 #endif
223
224 /* file system properties */
225 PUTPROP(props, "file.separator", sprops->file_separator);
226 PUTPROP(props, "path.separator", sprops->path_separator);
227 PUTPROP(props, "line.separator", sprops->line_separator);
228
229 /*
230 * user.language
231 * user.script, user.country, user.variant (if user's environment specifies them)
232 * file.encoding
233 * file.encoding.pkg
|