This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [cp-patches] Patch: PrivilegedAction helper classes


On Sat, 2004-07-24 at 00:18, Bryce McKinlay wrote:
> 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
> 
> 	* gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
> 	for privilaged getProperty calls.
> 	* java/io/ObjectOutputStream.java (getField): No longer static. Use
> 	SetAccessibleAction instead of anonymous class for doPrivilaged call.
> 	(getMethod): Likewise.
> 	(setAccessible): New field. PrivilagedAction object to use when
> 	calling setAccessible.
> 	* java/io/ObjectStreamClass.java (calculateOffsets): Use
> 	SetAccessibleAction instead of anonymous class for diPrivilaged call.
> 	(setFields): Likewise.
> 	(getClassUID): Likewise.
> 	(findMethod): Likewise.
> 	* gnu/java/security/action/GetPropertyAction.java: New class.
> 	* gnu/java/security/action/SetAccessibleAction.java: New class.	

This broke the GNU Classpath build.
When you add a new Makefile.am you also need to add it to configure.ac.

Committed the following patch to fix it:

2004-07-25  Mark Wielaard  <mark@klomp.org>

        * configure.ac (AC_CONFIG_FILES): gnu/java/security/action/Makefile
        added.

Michael Koch has a patch to make adding new java source files easier in
the future.

Cheers,

Mark

--- configure.ac        22 Jul 2004 19:45:38 -0000      1.39
+++ configure.ac        25 Jul 2004 11:57:03 -0000
@@ -332,6 +332,7 @@
 gnu/java/rmi/rmic/Makefile
 gnu/java/rmi/server/Makefile
 gnu/java/security/Makefile
+gnu/java/security/action/Makefile
 gnu/java/security/der/Makefile
 gnu/java/security/provider/Makefile
 gnu/java/security/util/Makefile

Attachment: signature.asc
Description: This is a digitally signed message part


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]