Check-in [46de5da585]

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

Overview
Comment:Add by index in DCRP.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 46de5da5854adc962a78e917d5163475d5877355
User & Date: stephanie.gawroriski 2019-09-11 15:19:33
Context
2019-09-11
22:59
Correct load of string constant entries (use UsedString); Add get of this name for a class. check-in: 3382ce9d92 user: stephanie.gawroriski tags: trunk
15:19
Add by index in DCRP. check-in: 46de5da585 user: stephanie.gawroriski tags: trunk
15:14
Add decode of method index. check-in: 8eb04afde1 user: stephanie.gawroriski tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to runt/libs/tool-classfile/dev/shadowtail/classfile/pool/DualClassRuntimePool.java.

44
45
46
47
48
49
50


51
52
53

54
55

56
57
58
	
	/**
	 * Loads a value from the pool by its index.
	 *
	 * @param __rt Read from the run-time pool?
	 * @param __dx The index to read.
	 * @return The entry for the given index.


	 * @since 2019/09/07
	 */
	public final BasicPoolEntry getByIndex(boolean __rt, int __dx)

	{
		throw new todo.TODO();

	}
}








>
>



>

<
>



44
45
46
47
48
49
50
51
52
53
54
55
56
57

58
59
60
61
	
	/**
	 * Loads a value from the pool by its index.
	 *
	 * @param __rt Read from the run-time pool?
	 * @param __dx The index to read.
	 * @return The entry for the given index.
	 * @throws IndexOutOfBoundsException If the index is not within the
	 * pool bounds.
	 * @since 2019/09/07
	 */
	public final BasicPoolEntry getByIndex(boolean __rt, int __dx)
		throws IndexOutOfBoundsException
	{

		return (__rt ? this.runpool : this.classpool).byIndex(__dx);
	}
}