diff options
author | Jeff Sturm <jsturm@one-point.com> | 2003-11-18 03:57:08 +0000 |
---|---|---|
committer | Jeff Sturm <jsturm@gcc.gnu.org> | 2003-11-18 03:57:08 +0000 |
commit | b8ca854ad184062c5fb41768804d73a8b18d28b4 (patch) | |
tree | f2c4076691ff089f645cb3ea0584d76a88894787 /libjava/testsuite/libjava.compile | |
parent | a78e4fa7643f1264968e86476a2f39a2a241f202 (diff) | |
download | gcc-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 'libjava/testsuite/libjava.compile')
0 files changed, 0 insertions, 0 deletions