Check-in [96b2a8c43a]

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

Overview
Comment:Do not search for blank resource images in the launcher.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:96b2a8c43a6e0cbe8081d92914224852b00cd22d
User & Date: stephanie.gawroriski 2019-05-19 19:30:14
Context
2019-05-20
12:10
Implement part of copy area. check-in: 3b901912d8 user: stephanie.gawroriski tags: trunk
2019-05-19
19:30
Do not search for blank resource images in the launcher. check-in: 96b2a8c43a user: stephanie.gawroriski tags: trunk
19:20
Ignore lookup for resources with a blank name. check-in: 987920bfa8 user: stephanie.gawroriski tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to runt/kmid/launcher/cc/squirreljme/runtime/launcher/ui/__Program__.java.

126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
		// Image already known?
		Image rv = this._icon;
		if (rv != null)
			return rv;
		
		// No image is here at all
		String iconrc = this.iconrc;
		if (iconrc == null)
			return null;
		
		// Load image from JAR resource
		try (InputStream in = ResourceInputStream.open(this.jarfile, iconrc))
		{
			// No resource exists
			if (in == null)







|







126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
		// Image already known?
		Image rv = this._icon;
		if (rv != null)
			return rv;
		
		// No image is here at all
		String iconrc = this.iconrc;
		if (iconrc == null || iconrc.isEmpty())
			return null;
		
		// Load image from JAR resource
		try (InputStream in = ResourceInputStream.open(this.jarfile, iconrc))
		{
			// No resource exists
			if (in == null)