Commit f967de33 by Tom Tromey Committed by Tom Tromey

AccessibleObject.java (isAccessible, [...]): Now public.

	* java/lang/reflect/AccessibleObject.java (isAccessible,
	setAccessible): Now public.

From-SVN: r37540
parent 98394990
2000-11-17 Tom Tromey <tromey@cygnus.com>
* java/lang/reflect/AccessibleObject.java (isAccessible,
setAccessible): Now public.
* java/lang/natString.cc: Include Locale.h.
(toUpperCase): Added `locale' argument. Handle locale
sensitivity.
......
// AccessibleObject.java - Base for reflection objects.
/* Copyright (C) 1998, 1999 Free Software Foundation
/* Copyright (C) 1998, 1999, 2000 Free Software Foundation
This file is part of libgcj.
......@@ -25,19 +25,19 @@ public class AccessibleObject
flag = false;
}
boolean isAccessible ()
public boolean isAccessible ()
{
return flag;
}
static void setAccessible (AccessibleObject[] array, boolean flag)
public static void setAccessible (AccessibleObject[] array, boolean flag)
{
checkPermission ();
for (int i = 0; i < array.length; ++i)
array[i].flag = flag;
}
void setAccessible (boolean flag)
public void setAccessible (boolean flag)
{
checkPermission ();
this.flag = flag;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment