SystemClassLoader.java (addClass): Get the value of package-private field "loadedClasses" using reflection.

* gnu/gcj/runtime/SystemClassLoader.java (addClass): Get the value
	of package-private field "loadedClasses" using reflection.
	* java/lang/VMCompiler.java (compileClass): Remove unreachable catch
	block.

From-SVN: r112858
This commit is contained in:
Bryce McKinlay 2006-04-11 16:23:00 +00:00 committed by Bryce McKinlay
parent b4426e0a70
commit 20cbfac4e9
3 changed files with 28 additions and 7 deletions

View file

@ -198,11 +198,6 @@ final class VMCompiler
md.update(data);
digest = md.digest();
}
catch (CloneNotSupportedException _)
{
// Can't happen.
return null;
}
catch (NullPointerException _)
{
// If md5Digest==null -- but really this should never happen