Check-in [47e4d0ab3f]

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

Overview
Comment:Some base work.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | wip-springcoat-bringup
Files: files | file ages | folders
SHA1: 47e4d0ab3fd8ddbeb07f64a3c3275be056e24e45
User & Date: stephanie.gawroriski 2020-05-13 15:48:41
Context
2020-05-13
19:54
Minor work. check-in: 0bdf0d6e2c user: stephanie.gawroriski tags: wip-springcoat-bringup
15:48
Some base work. check-in: 47e4d0ab3f user: stephanie.gawroriski tags: wip-springcoat-bringup
01:29
Add configuration lookups and otherwise, change the locale to be a bit different in how it works. check-in: dc7c4033d2 user: stephanie.gawroriski tags: wip-springcoat-bringup
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to modules/cldc-compact/src/main/java/cc/squirreljme/runtime/cldc/debug/Debugging.java.

46
47
48
49
50
51
52











53
54
55
56
57
58
59
..
93
94
95
96
97
98
99











100
101
102
103
104
105
106
...
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
	 */
	private Debugging()
	{
	}
	
	/**
	 * Emits a debugging note.











	 *
	 * @param __fmt The format.
	 * @param __args The arguments to the string.
	 * @since 2020/03/27
	 */
	public static void debugNote(String __fmt, Object... __args)
	{
................................................................................
	 * @since 2020/03/21
	 */
	@SuppressWarnings("deprecation")
	public static Error todo(Object... __args)
	{
		return TODO.TODO(__args);
	}











	
	/**
	 * Emits a To-Do note.
	 *
	 * @param __fmt Format string.
	 * @param __args Arguments.
	 * @since 2020/03/31
................................................................................
			for (int i = 0, n = __format.length(); i < n; i++)
			{
				char c = __format.charAt(i);
				
				// Printing a specifier
				if (specifier)
				{
					
					// Ignore flags
					if (c == '-' || c == '#' || c == '+' ||
						c == ' ' || c == ',' || c == '(' ||
						(firstChar && c == '0'))
						;
					
					// Ignore precision







>
>
>
>
>
>
>
>
>
>
>







 







>
>
>
>
>
>
>
>
>
>
>







 







<







46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
...
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
...
188
189
190
191
192
193
194

195
196
197
198
199
200
201
	 */
	private Debugging()
	{
	}
	
	/**
	 * Emits a debugging note.
	 *
	 * @param __fmt The format.
	 * @since 2020/05/13
	 */
	public static void debugNote(String __fmt)
	{
		Debugging.__format('D', 'B', __fmt, (Object[])null);
	}
	
	/**
	 * Emits a debugging note.
	 *
	 * @param __fmt The format.
	 * @param __args The arguments to the string.
	 * @since 2020/03/27
	 */
	public static void debugNote(String __fmt, Object... __args)
	{
................................................................................
	 * @since 2020/03/21
	 */
	@SuppressWarnings("deprecation")
	public static Error todo(Object... __args)
	{
		return TODO.TODO(__args);
	}
	
	/**
	 * Emits a To-Do note.
	 *
	 * @param __fmt Format string.
	 * @since 2020/05/13
	 */
	public static void todoNote(String __fmt)
	{
		Debugging.__format('T', 'D', __fmt, (Object[])null);
	}
	
	/**
	 * Emits a To-Do note.
	 *
	 * @param __fmt Format string.
	 * @param __args Arguments.
	 * @since 2020/03/31
................................................................................
			for (int i = 0, n = __format.length(); i < n; i++)
			{
				char c = __format.charAt(i);
				
				// Printing a specifier
				if (specifier)
				{

					// Ignore flags
					if (c == '-' || c == '#' || c == '+' ||
						c == ' ' || c == ',' || c == '(' ||
						(firstChar && c == '0'))
						;
					
					// Ignore precision

Changes to modules/cldc-compact/src/main/java/java/lang/Throwable.java.

7
8
9
10
11
12
13

14
15
16
17
18
19
20
...
281
282
283
284
285
286
287


288
289




290
291
292
293
294
295
296
// SquirrelJME is under the GNU General Public License v3+, or later.
// See license.mkd for licensing and copyright information.
// ---------------------------------------------------------------------------

package java.lang;

import cc.squirreljme.runtime.cldc.debug.CallTraceElement;

import java.io.PrintStream;

/**
 * This class is the base class for all types which are thrown, itself being a
 * checked exception handled by the compiler.
 *
 * Each {@link Throwable} contains internal stack trace information which is
................................................................................
	/**
	 * Prints the stack trace to the standard error stream.
	 *
	 * @since 2018/09/15
	 */
	public void printStackTrace()
	{


		Throwable.__printStackTrace(this, System.err, 0,
			Throwable._TYPE_EXCEPTION);




	}
	
	/**
	 * Prints the stack trace to the specified stream.
	 *
	 * @param __ps The stream to print to.
	 * @throws NullPointerException On null arguments.







>







 







>
>
|
|
>
>
>
>







7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
...
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
// SquirrelJME is under the GNU General Public License v3+, or later.
// See license.mkd for licensing and copyright information.
// ---------------------------------------------------------------------------

package java.lang;

import cc.squirreljme.runtime.cldc.debug.CallTraceElement;
import cc.squirreljme.runtime.cldc.debug.Debugging;
import java.io.PrintStream;

/**
 * This class is the base class for all types which are thrown, itself being a
 * checked exception handled by the compiler.
 *
 * Each {@link Throwable} contains internal stack trace information which is
................................................................................
	/**
	 * Prints the stack trace to the standard error stream.
	 *
	 * @since 2018/09/15
	 */
	public void printStackTrace()
	{
		// It is possible for standard error to not exist yet!
		if (System.err != null)
			Throwable.__printStackTrace(this, System.err, 0,
				Throwable._TYPE_EXCEPTION);
		
		// {@squirreljme.error ZZ4L Printing of stack trace too early.}
		else
			Debugging.debugNote("ZZ4L");
	}
	
	/**
	 * Prints the stack trace to the specified stream.
	 *
	 * @param __ps The stream to print to.
	 * @throws NullPointerException On null arguments.