aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/ChangeLog
diff options
context:
space:
mode:
authorJeff Sturm <jsturm@one-point.com>2003-11-18 03:57:08 +0000
committerJeff Sturm <jsturm@gcc.gnu.org>2003-11-18 03:57:08 +0000
commitb8ca854ad184062c5fb41768804d73a8b18d28b4 (patch)
treef2c4076691ff089f645cb3ea0584d76a88894787 /gcc/java/ChangeLog
parenta78e4fa7643f1264968e86476a2f39a2a241f202 (diff)
downloadgcc-b8ca854ad184062c5fb41768804d73a8b18d28b4.zip
gcc-b8ca854ad184062c5fb41768804d73a8b18d28b4.tar.gz
gcc-b8ca854ad184062c5fb41768804d73a8b18d28b4.tar.bz2
re PR java/12857 (Illegal method modifier when loading a generated .class)
Fix PR java/12857. decl.c (java_init_decl_processing): Don't initialize class_not_found_type_node, no_class_def_found_type_node. java-tree.h (JTI_CLASS_NOT_FOUND_TYPE_NODE, JTI_NO_CLASS_DEF_FOUND_TYPE_NODE): Remove from java_tree_index. (class_not_found_type_node, no_class_def_found_type_node): Don't define. parse.y (build_dot_class_method_invocation): Add this_class argument. Qualify method invocations to a different class. (create_new_parser_context): Initialize saved_data_ctx to 0. (java_parser_context_save_global): Initialize saved_data_ctx to 1. (build_dot_class_method): Don't load classes. Register incomplete types. (build_incomplete_class_ref): Special cases for interfaces and inner classes. Move build_dot_class_method call to here... (patch_incomplete_class_ref): ...from here. Pass current_class to build_dot_class_method_invocation. (build_assertion): Pass class_type to build_dot_class_method_invocation. (encapsulate_with_try_catch): Handle EXPR_WITH_FILE_LOCATION node. From-SVN: r73691
Diffstat (limited to 'gcc/java/ChangeLog')
-rw-r--r--gcc/java/ChangeLog26
1 files changed, 26 insertions, 0 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index 995b21a..ea30c77 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -1,5 +1,31 @@
2003-11-17 Jeff Sturm <jsturm@one-point.com>
+ Fix PR java/12857.
+
+ decl.c (java_init_decl_processing): Don't initialize
+ class_not_found_type_node, no_class_def_found_type_node.
+
+ java-tree.h (JTI_CLASS_NOT_FOUND_TYPE_NODE,
+ JTI_NO_CLASS_DEF_FOUND_TYPE_NODE): Remove from java_tree_index.
+ (class_not_found_type_node, no_class_def_found_type_node):
+ Don't define.
+
+ parse.y (build_dot_class_method_invocation): Add this_class
+ argument. Qualify method invocations to a different class.
+ (create_new_parser_context): Initialize saved_data_ctx to 0.
+ (java_parser_context_save_global): Initialize saved_data_ctx to 1.
+ (build_dot_class_method): Don't load classes. Register
+ incomplete types.
+ (build_incomplete_class_ref): Special cases for interfaces
+ and inner classes. Move build_dot_class_method call to here...
+ (patch_incomplete_class_ref): ...from here. Pass current_class
+ to build_dot_class_method_invocation.
+ (build_assertion): Pass class_type to
+ build_dot_class_method_invocation.
+ (encapsulate_with_try_catch): Handle EXPR_WITH_FILE_LOCATION node.
+
+2003-11-17 Jeff Sturm <jsturm@one-point.com>
+
Fix PR java/12739.
* java-tree.h (BLOCK_EMPTY_P): Define.
* parse.y (java_complete_lhs): Check for empty blocks