diff options
author | Tom Tromey <tromey@redhat.com> | 2007-01-26 23:07:08 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2007-01-26 23:07:08 +0000 |
commit | 7969a3791efb8a9dbed7b6a049d98befcf10db0d (patch) | |
tree | 480b780978724842f7b5256099d0c2c73aa4f70d /libjava/classpath/tools/gnu | |
parent | cdd76d88c8200bcc541204daeca4770ec6221f5d (diff) | |
download | gcc-7969a3791efb8a9dbed7b6a049d98befcf10db0d.zip gcc-7969a3791efb8a9dbed7b6a049d98befcf10db0d.tar.gz gcc-7969a3791efb8a9dbed7b6a049d98befcf10db0d.tar.bz2 |
libjava
* Updated headers.
libjava/classpath
* tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
'volatile' after field type.
From-SVN: r121215
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 a9385e0..f1c369a 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)) { |