diff options
Diffstat (limited to 'gcc/java/expr.c')
-rw-r--r-- | gcc/java/expr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/expr.c b/gcc/java/expr.c index aa1b652..d669cb9 100644 --- a/gcc/java/expr.c +++ b/gcc/java/expr.c @@ -1643,7 +1643,7 @@ expand_java_field_op (is_static, is_putting, field_ref_index) this is also needed to avoid circularities in the implementation of these fields in libjava. */ if (field_name == TYPE_identifier_node && ! is_putting - && field_type == class_ptr_type + && ! flag_emit_class_files && field_type == class_ptr_type && strncmp (self_name, "java.lang.", 10) == 0) { tree typ = build_primtype_type_ref (self_name); |