Check-in [a458307b91]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:If no VM was specified, default to SpringCoat rather than the first found one.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:a458307b9182a5637da4acb8b4e46795fff85d3f
User & Date: stephanie.gawroriski 2019-05-19 13:42:00
Context
2019-05-19
14:05
Default to SpringCoat if no VM was specified; Correct distribution shading so that the service files for the bootstrap are merged. check-in: 32d979d6c0 user: stephanie.gawroriski tags: trunk
13:42
If no VM was specified, default to SpringCoat rather than the first found one. check-in: a458307b91 user: stephanie.gawroriski tags: trunk
13:40
Base for icons in the launch list. check-in: c51e50ac6c user: stephanie.gawroriski tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to runt/libs/common-vm/cc/squirreljme/vm/VMFactory.java.

133
134
135
136
137
138
139




140
141
142
143
144
145
146
				// name of the virtual machine to use.}
				__vm = VMFactory.__getProperty(__sprops,
					"cc.squirreljme.vm.name");
			}
			catch (SecurityException e)
			{
			}




		
		// Determine the virtual machine to use
		VMFactory factory = null;
		for (VMFactory f : ServiceLoader.<VMFactory>load(VMFactory.class))
		{
			// If no name was specified then use the first one, otherwise
			// use the one which matches the name







>
>
>
>







133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
				// name of the virtual machine to use.}
				__vm = VMFactory.__getProperty(__sprops,
					"cc.squirreljme.vm.name");
			}
			catch (SecurityException e)
			{
			}
		
		// If none specified, default to SpringCoat
		if (__vm == null)
			__vm = "springcoat";
		
		// Determine the virtual machine to use
		VMFactory factory = null;
		for (VMFactory f : ServiceLoader.<VMFactory>load(VMFactory.class))
		{
			// If no name was specified then use the first one, otherwise
			// use the one which matches the name