[patch win32]: Add missing header UnsupportedOperationException

Kai Tietz <[email protected]>
Newsgroups gmane.comp.gcc.patches,gmane.comp.gcc.java.devel
Message-ID <[email protected]>
Hi,

As I got just reported, there is the header include
'java/lang/UnsupportedOperationException.h' missing for
gnu/java/security/jce/prng/natVMSecureRandomWin32.cc file. This leads
to build failures for 32-bit mingw builds.

ChangeLog

2009-08-12  Kai Tietz  <[email protected]>

* gnu/java/security/jce/prng/natVMSecureRandomWin32.cc: Add include of
java/lang/UnsupportedOperationException.h file.

Tested for i686-pc-mingw32 host. Ok, for apply?

Cheers,
Kai

-- 
|  (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination
j090812.diff (application/octet-stream, 553 B)
Index: gcc/libjava/gnu/java/security/jce/prng/natVMSecureRandomWin32.cc
===================================================================
--- gcc.orig/libjava/gnu/java/security/jce/prng/natVMSecureRandomWin32.cc	2009-07-24 19:34:40.000000000 +0200
+++ gcc/libjava/gnu/java/security/jce/prng/natVMSecureRandomWin32.cc	2009-08-12 09:25:31.644270800 +0200
@@ -19,6 +19,7 @@
 
 #include <gcj/cni.h>
 #include <java/lang/InternalError.h>
+#include <java/lang/UnsupportedOperationException.h>
 #include <gnu/java/security/jce/prng/VMSecureRandom.h>
 
 jint
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.