OSDN Git Service

2000-07-21 Alexandre Petit-Bianco <apbianco@cygnus.com>
[pf3gnuchains/gcc-fork.git] / gcc / java / ChangeLog
index e6deecd..a6940b4 100644 (file)
@@ -1,3 +1,129 @@
+2000-07-21  Alexandre Petit-Bianco  <apbianco@cygnus.com>
+
+       * parse.y (simple_name:): Fixed typo in error message.
+
+2000-07-21  Alexandre Petit-Bianco  <apbianco@cygnus.com>
+
+       * parse.y (java_complete_lhs): LOOP_EXPR:, SWITCH_EXPR: the node
+       or its first operand can be error marks.
+
+2000-07-20  Alexandre Petit-Bianco  <apbianco@cygnus.com>
+
+       * parse.h (SET_TYPE_FOR_RESOLUTION): Use GET_CPC.
+       * parse.y (method_header): Likewise.
+
+2000-07-19  Alexandre Petit-Bianco  <apbianco@cygnus.com>
+
+       * parse.y (find_as_inner_class): Handle the case where the
+       enclosing context of an innerclass has been loaded as bytecode.
+
+2000-07-19  Alexandre Petit-Bianco  <apbianco@cygnus.com>
+
+        * parse.y (simple_name:): Reject `$' in type names.
+       (resolve_type_during_patch): Use `type' as a second
+       argument to resolve_no_layout. Fixes gcj/257.
+
+2000-07-18  Jeff Sturm  <jeff.sturm@appnet.com>
+
+       * lang-specs.h: Added %(jc1) to java compiler options.
+
+2000-07-14  Zack Weinberg  <zack@wolery.cumb.org>
+
+       * .cvsignore: New file.
+
+2000-07-13  Alexandre Petit-Bianco  <apbianco@cygnus.com>
+
+       * parse.y (not_accessible_p): Access granted to innerclasses
+       (indirectly) extending the reference type. Fixes gcj/249.
+
+2000-07-13  Alexandre Petit-Bianco  <apbianco@cygnus.com>
+
+       * parse.y (patch_method_invocation): Fixed comment.
+       (maybe_use_access_method): Build this$<n>s to the context of the
+       target method, or a type that extends it. Fixes gcj/242.
+
+2000-07-13  Mark Mitchell  <mark@codesourcery.com>
+
+       * parse.c: Remove.
+
+2000-07-13  Alexandre Petit-Bianco  <apbianco@cygnus.com>
+
+       * parse.y (fold_constant_for_init): Avoid bullish conversion.
+
+2000-07-13  Tom Tromey  <tromey@cygnus.com>
+
+       * lang-specs.h: Added %{I*}.
+
+2000-07-13  Zack Weinberg  <zack@wolery.cumb.org>
+
+       * lang-specs.h: Use the new named specs.  Remove unnecessary braces.
+
+2000-07-12  Mark Mitchell  <mark@codesourcery.com>
+
+       * parse-scan.c: Remove.
+
+2000-07-10  Alexandre Petit-Bianco  <apbianco@cygnus.com>
+
+       * class.c (set_super_info): Handled protected inner classes.
+       (common_enclosing_context_p): Bail early if arguments aren't both
+       inner classes.
+       (get_access_flags_from_decl): Handle private and protected inner
+       classes.
+       * java-tree.h (TYPE_PROTECTED_INNER_CLASS): New macro.
+       (CLASS_PROTECTED): Likewise.
+       (struct lang_type): New bitfield `poic.'
+       * parse.y (jdep_resolve_class): Call check_inner_class_access on
+       inner classes only.
+       (check_inner_class_access): Renamed arguments, added
+       comments. Handles protected inner classes (fixes gcj/225)
+       (not_accessible_p): Fixed comments. Avoid handling inner classes.
+
+2000-07-10  Alexandre Petit-Bianco  <apbianco@cygnus.com>
+
+       * parse.y (resolve_qualified_expression_name): Verify qualified
+       access to `this.' Fixes gcj/239.
+
+2000-07-10  Alexandre Petit-Bianco  <apbianco@cygnus.com>
+
+       * jcf-write.c (generate_classfile): Don't install ConstantValue
+       for null pointers.
+
+2000-07-07  Alexandre Petit-Bianco  <apbianco@cygnus.com>
+
+       * parse.y (resolve_qualified_expression_name): Handle inner class
+       access. Fixes gcj/256.
+
+2000-07-07  Alexandre Petit-Bianco  <apbianco@cygnus.com>
+
+       * jcf-write.c (generate_classfile): Properly install the
+       ConstantValue attribute and the initial value constant pool index
+       on string constants.
+       * parse.y (java_complete_lhs): Keep DECL_INITIAL when emitting
+       class files.
+
+2000-07-06  Alexandre Petit-Bianco  <apbianco@cygnus.com>
+
+       * parse.h (BUILD_PTR_FROM_NAME): Surround with a do/while
+       construct.
+       * parse.y (find_as_inner_class): Fixed typo.
+       (do_resolve_class): Explore enclosing contexts when searching for
+       innerclasses. Removed curly brackets around BUILD_PTR_FROM_NAME.
+       (check_inner_class_access): Check `decl' which can be null in case
+       of previous errors.
+
+2000-07-05  Alexandre Petit-Bianco  <apbianco@cygnus.com>
+
+       * java-tree.h (java_debug_context): Declared `extern.'
+       (safe_layout_class): Likewise.
+       * parse.y (resolve_field_access): Field must be `static' in order
+       to be replaced by its initial value. Added comments.
+       (find_applicable_accessible_methods_list): Fixed typo.
+       (find_most_specific_methods_list): Methods found in innerclasses
+       take over methods founds in the enclosing contexts.
+       (java_complete_tree): Loosen restrictions on the type of DECLs
+       that can be replaced by their initialization values.
+       (valid_ref_assignconv_cast_p): Removed call to `enclosing_context_p.'
+
 2000-07-05  Tom Tromey  <tromey@cygnus.com>
 
        * Make-lang.in (PARSE_DIR): New macro.