Check-in [987920bfa8]

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

Overview
Comment:Ignore lookup for resources with a blank name.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:987920bfa8c377565c6e2d5631cd6ca9db608981
User & Date: stephanie.gawroriski 2019-05-19 19:20:28
Context
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
18:04
Add some more history. check-in: 2803ee2505 user: stephanie.gawroriski tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to changelog.mkd.

50
51
52
53
54
55
56

57
58
59
60
61
62
63
       `java.util.Hashtable` knows when a reorder was performed.
     * Added `java.util.Vector`, it was missing.
     * Added support for ISO-8859-15, this is the newer encoding with the
       Euro symbol.
     * Corrected bug in `__CanSetPrintStream__` where if it were set to itself
       then it could lead to infinite recursion, instead if this kind of
       stream is attempted to be set it will use the target.

     * If a resource was not found, do a traditional search of the classpath
       for the given resource. This technically is not valid, however some
       games use the wrong class when looking up resources. Note that the
       current suite will always be searched first to maintain the correct
       behavior.
     * Implemented `java.io.InputStream`.
     * Implemented `java.util.EventObject`.







>







50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
       `java.util.Hashtable` knows when a reorder was performed.
     * Added `java.util.Vector`, it was missing.
     * Added support for ISO-8859-15, this is the newer encoding with the
       Euro symbol.
     * Corrected bug in `__CanSetPrintStream__` where if it were set to itself
       then it could lead to infinite recursion, instead if this kind of
       stream is attempted to be set it will use the target.
     * If the name of the requested resource is blank, ignore it.
     * If a resource was not found, do a traditional search of the classpath
       for the given resource. This technically is not valid, however some
       games use the wrong class when looking up resources. Note that the
       current suite will always be searched first to maintain the correct
       behavior.
     * Implemented `java.io.InputStream`.
     * Implemented `java.util.EventObject`.

Changes to runt/apis/cldc-compact/java/lang/Class.java.

197
198
199
200
201
202
203




204
205
206
207
208
209
210
	 */
	public InputStream getResourceAsStream(String __name)
		throws NullPointerException
	{
		// Check
		if (__name == null)
			throw new NullPointerException("NARG");




		
		// This is not within any JAR, so nothing will ever be found
		String injar = this._data.inJar();
		if (injar == null)
			return null;
		
		// Absolute paths are not translated







>
>
>
>







197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
	 */
	public InputStream getResourceAsStream(String __name)
		throws NullPointerException
	{
		// Check
		if (__name == null)
			throw new NullPointerException("NARG");
		
		// Do not lookup blank resources
		if (__name.isEmpty())
			return null;
		
		// This is not within any JAR, so nothing will ever be found
		String injar = this._data.inJar();
		if (injar == null)
			return null;
		
		// Absolute paths are not translated