Patchwork [java,mingw] Fix (typos) compile errors.

login
register
mail settings
Submitter Tom Tromey
Date Aug. 12, 2010, 6:22 p.m.
Message ID <m3y6cb3d4b.fsf@fleche.redhat.com>
Download mbox | patch
Permalink /patch/61641/
State New
Headers show

Comments

Tom Tromey - Aug. 12, 2010, 6:22 p.m.
>>>>> "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 "::".

Patch

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;
 }