diff options
| author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-01-26 23:07:08 +0000 |
|---|---|---|
| committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-01-26 23:07:08 +0000 |
| commit | f3a70d059f02a1d45b2583e316de8b97a9e2250e (patch) | |
| tree | 480b780978724842f7b5256099d0c2c73aa4f70d /libjava/classpath/tools/gnu | |
| parent | 4957c5e4c71bb7eab18529c0ac46a036a54e48b8 (diff) | |
| download | ppe42-gcc-f3a70d059f02a1d45b2583e316de8b97a9e2250e.tar.gz ppe42-gcc-f3a70d059f02a1d45b2583e316de8b97a9e2250e.zip | |
libjava
* Updated headers.
libjava/classpath
* tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
'volatile' after field type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121215 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/tools/gnu')
| -rw-r--r-- | libjava/classpath/tools/gnu/classpath/tools/javah/FieldHelper.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libjava/classpath/tools/gnu/classpath/tools/javah/FieldHelper.java b/libjava/classpath/tools/gnu/classpath/tools/javah/FieldHelper.java index a9385e04d33..f1c369af267 100644 --- a/libjava/classpath/tools/gnu/classpath/tools/javah/FieldHelper.java +++ b/libjava/classpath/tools/gnu/classpath/tools/javah/FieldHelper.java @@ -1,5 +1,5 @@ /* FieldHelper.java - field helper methods for CNI - Copyright (C) 2006 Free Software Foundation, Inc. + Copyright (C) 2006, 2007 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -52,12 +52,12 @@ public class FieldHelper out.print(" "); if (Modifier.isStatic(field.access)) out.print("static "); - if (Modifier.isVolatile(field.access)) - out.print("volatile "); if ((field.value instanceof Integer) || (field.value instanceof Long)) out.print("const "); out.print(Type.getType(field.desc)); out.print(" "); + if (Modifier.isVolatile(field.access)) + out.print("volatile "); boolean result = false; if (superType != null && ! Modifier.isStatic(field.access)) { |

