More native code cleanup.

Don't keep unused global references to classes, don't throw exceptions
when an exception is already pending, and fix a (harmless) misunderstanding
about how GetStringChars works.

Change-Id: Ie445036f057daa8a1c76aceb7bad2a84fb81d820
1 file changed
tree: 797c4ff5cf946c4b978ed5c407a44fcf030e4499
  1. core/
  2. services/