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: [java] [mingw] Fix (typos) compile errors.


>>>>> "Dmitrijs" == Dmitrijs Ledkovs <dmitrij.ledkov@ubuntu.com> writes:

Dmitrijs> Works fine with target i686-w64-mingw32. Please apply.

Here is what I am checking in.

Tom

2010-08-12  Tom Tromey  <tromey@redhat.com>

	* gnu/java/security/jce/prng/natVMSecureRandomWin32.cc
	(natGenerateSeed): Add missing "::".

Index: gnu/java/security/jce/prng/natVMSecureRandomWin32.cc
===================================================================
--- gnu/java/security/jce/prng/natVMSecureRandomWin32.cc	(revision 163197)
+++ gnu/java/security/jce/prng/natVMSecureRandomWin32.cc	(working copy)
@@ -1,6 +1,6 @@
 // natVMSecureRandomWin32.cc - Native part of VMSecureRandom class for Win32.
 
-/* Copyright (C) 2009 Free Software Foundation
+/* Copyright (C) 2009, 2010 Free Software Foundation
 
    This file is part of libgcj.
 
@@ -26,7 +26,7 @@
 gnu::java::security::jce::prng::VMSecureRandom::natGenerateSeed(jbyteArray byte_array, jint offset, jint length)
 {
   if (length != 0)
-    throw new java::lang::UnsupportedOperationException (
+    throw new ::java::lang::UnsupportedOperationException (
       JvNewStringLatin1 ("natGenerateSeed is not available for Win32 target."));
   return 0;
 }


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