aboutsummaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.jacks
AgeCommit message (Collapse)AuthorFilesLines
2007-01-09Merged gcj-eclipse branch to trunk.Tom Tromey2-808/+0
From-SVN: r120621
2006-09-12* testsuite/libjava.jacks/jacks.exp (load_gcc_lib): Removed.Tom Tromey1-5/+0
From-SVN: r116892
2006-03-16jcf-write.c (generate_bytecode_insns): Use qualifying type for non-static ↵Tom Tromey1-1/+0
method calls. gcc/java * jcf-write.c (generate_bytecode_insns): Use qualifying type for non-static method calls. libjava * testsuite/libjava.jacks/jacks.xfail: Removed 13.1-runtime-method-5. From-SVN: r112102
2005-12-16* testsuite/libjava.jacks/jacks.xfailTom Tromey1-1/+0
(8.5.2-accessible-static-member-usage-3): Removed. From-SVN: r108656
2005-11-25jacks.xfail: Remove non-jls-argument-expansion-13 and add ↵Ranjit Mathew1-1/+1
non-jls-argument-expansion-error-1... * testsuite/libjava.jacks/jacks.xfail: Remove non-jls-argument-expansion-13 and add non-jls-argument-expansion-error-1 in response to the @file support patch in the main GCC driver. From-SVN: r107506
2005-11-09jacks.xfail (non-jls-zip-2): Now passes.Tom Tromey1-1/+0
* testsuite/libjava.jacks/jacks.xfail (non-jls-zip-2): Now passes. From-SVN: r106702
2005-09-21* testsuite/libjava.jacks/jacks.xfail: Updated for PR java/23891.Ranjit Mathew1-2/+4
From-SVN: r104486
2005-09-05Testsuite changes for PR java/23431.Ranjit Mathew1-2/+0
* testsuite/libjava.jacks/jacks.xfail: Remove 8.1.1.1-12 and 8.4.6.2-hiding-5. * testsuite/libjava.compile/PR23431_1.java: New testcase. * testsuite/libjava.compile/PR23431_2.java: Likewise. * testsuite/libjava.compile/PR23431_1.xfail: New file. * testsuite/libjava.compile/PR23431_2.xfail: Likewise. From-SVN: r103910
2005-08-17jacks.xfail: Remove 15.21-assoc-7, 15.21-assoc-8, 15.21-equal-3, ↵Andreas Tobler1-4/+0
15.28-string-11. 2005-08-17 Andreas Tobler <a.tobler@schweiz.ch> * testsuite/libjava.jacks/jacks.xfail: Remove 15.21-assoc-7, 15.21-assoc-8, 15.21-equal-3, 15.28-string-11. From-SVN: r103205
2005-08-16More testsuite adjustments for PR java/19870.Ranjit Mathew1-1/+1
* testsuite/libjava.lang/PR19870_2.java: New testcase. * testsuite/libjava.lang/PR19870_2.out: Expected output for the new testcase. * testsuite/libjava.jacks/jacks.xfail: Remove 8.5.2-non-static-member-usage-2 and add 15.12.3-explicit-constructor-9. From-SVN: r103165
2005-07-07re PR java/18119 (Private inner class is visible when it shouldn't be)Bryce McKinlay1-4/+0
2005-07-07 Bryce McKinlay <mckinlay@redhat.com> PR java/18119 * parse.y (inner_class_accessible): New function. Logic moved from check_inner_class_access. (check_inner_class_access): Use inner_class_accessible. (resolve_inner_class): Simplify arguments. Create circularity hash here. Keep looking for classes if we found one that was inaccessible. Return the inaccessible class only if there is no other match. (do_resolve_class): Update for new resolve_inner_class arguments. Don't create circularity_hash here. From-SVN: r101715
2005-07-07re PR java/21045 (Anonymous inner class constructor's exceptions can't be ↵Bryce McKinlay1-4/+0
caught or thrown) 2005-07-07 Bryce McKinlay <mckinlay@redhat.com> PR java/21045 * parse.y (add_exception_to_throws): New function. (purge_unchecked_exceptions): Removed. (get_constructor_super): Renamed from verify_constructor_super. Now returns the super constructor after verification. (java_complete_expand_method): Don't use purge_unchecked_exceptions or save/restore the exception list. (check_thrown_exceptions): Add uncaught exceptions in anonymous class initializers and constructors to the throws clause of the method. 2005-07-07 Bryce McKinlay <mckinlay@redhat.com> * testsuite/libjava.compile/PR21045.java: New test. * testsuite/libjava.jacks/jacks.xfail: Remove 15.9.5.1-exception-1, 15.9.5.1-exception-3, 8.3.2-abrupt-6, 8.3.2-abrupt-7. From-SVN: r101713
2005-07-06* testsuite/libjava.jacks/jacks.xfail: Removed 9.1.3-body-5.Tom Tromey1-1/+0
From-SVN: r101657
2005-06-27PR java/21540, PR java/13788:Tom Tromey1-19/+0
gcc/java/: PR java/21540, PR java/13788: * parse.y (java_complete_lhs) <CASE_EXPR>: Use fold_constant_for_init. (patch_binop): Added 'folding' argument. Updated all callers. (patch_unaryop) <NOP_EXPR>: New case. (fold_constant_for_init) <NOP_EXPR>: Likewise. (fold_constant_for_init) <COND_EXPR>: Fix sense of test. libjava/: PR java/21540, PR java/13788: * testsuite/libjava.compile/pr21540.java: New file. * testsuite/libjava.compile/pr13788.java: New file. * testsuite/libjava.jacks/jacks.xfail: Updated. From-SVN: r101358
2005-05-27Testsuite adjustments for PR java/19870.Ranjit Mathew1-0/+2
* testsuite/libjava.lang/PR19870.java: New testcase. * testsuite/libjava.lang/PR19870.out: Expected output for the testcase. * testsuite/libjava.jacks/jacks.xfail: Add 8.5.2-accessible-static-member-usage-3 and 15.8.4-static-2 From-SVN: r100245
2005-05-21* testsuite/libjava.jacks/jacks.xfail: Remove 3.10.2-round-6.Ranjit Mathew1-1/+0
From-SVN: r100044
2005-05-10re PR java/21436 (imports not remembered for previously compiled files)Paolo Bonzini1-2/+2
gcc/java: 2005-05-10 Paolo Bonzini <bonzini@gnu.org> PR java/21436 * class.c (maybe_layout_super_class): Look for imports in this_class. * parse.h (ctxp_for_generation_last): New. (do_resolve_class): Add a parameter. * parse.y (ctxp_for_generation_last): New. (java_pop_parser_context): Add at end of list. (find_in_imports, find_in_imports_on_demand): Look in ctxp if the TYPE_IMPORT_LIST or respectively the TYPE_IMPORT_DEMAND_LIST of the given type are NULL. (do_resolve_class): Look into the imports of the new second parameter. Adjust recursive calls. (resolve_class, resolve_inner_class, find_as_inner_class): Adjust calls to do_resolve_class. (create_class): Set the TYPE_IMPORT_LIST and TYPE_IMPORT_DEMAND_LIST. (java_complete_class): Do not do that here. libjava: 2005-05-10 Paolo Bonzini <bonzini@gnu.org> PR java/21436 * testsuite/libjava.jacks/jacks.xfail: Adjust. From-SVN: r99513
2005-03-12jacks.xfail: Add XFAILs for new JSR-201 tests.Ranjit Mathew1-0/+5
* testsuite/libjava.jacks/jacks.xfail: Add XFAILs for new JSR-201 tests. From-SVN: r96327
2005-03-10re PR java/20312 (No warning on bad method)Ranjit Mathew1-1/+0
* testsuite/libjava.compile/PR20312.java: New file. * testsuite/libjava.compile/PR20312.xfail: Likewise. * testsuite/libjava.jacks/jacks.xfail: Remove 9.2-implicit-15. From-SVN: r96252
2005-01-26re PR java/19070 (internal compiler error: in generate_bytecode_conditional, ↵Ranjit Mathew1-15/+3
at java/jcf-write.c:1271) * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070, remove other passing tests and add new XFAILs. From-SVN: r94246
2004-11-24target-libpath.exp: New file defining set_ld_library_path_env_vars and ↵John David Anglin1-2/+10
restore_ld_library_path_env_vars. * lib/target-libpath.exp: New file defining set_ld_library_path_env_vars and restore_ld_library_path_env_vars. * g++.dg/compat/compat.exp, lib/g++.exp, lib/gcc-dg.exp, lib/gfortran.exp, lib/objc.exp, lib/treelang.exp: Use new procs. * ada/acats/run_acats (LD_LIBRARY_PATH): Add previous LD_LIBRARY_PATH to LD_LIBRARY_PATH. Export LD_LIBRARY_PATH. * testsuite/lib/libffi-dg.exp: Use new procs in target-libpath.exp. * testsuite/lib/libjava.exp, testsuite/libjava.jacks/jacks.exp: Use new procs in target-libpath.exp. * testsuite/lib/libmudflap.exp: Use new procs in target-libpath.exp. * testsuite/lib/libstdc++.exp: Use new procs in target-libpath.exp. From-SVN: r91137
2004-09-23re PR java/17380 (Bad diagnostic and ICE on valid code...)Tom Tromey1-0/+2
PR java/17380: * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and 9.2-implicit-7. From-SVN: r87958
2004-08-16re PR java/8473 (syntax error on anonymous array subscript)Tom Tromey1-1/+0
PR java/8473: * testsuite/libjava.jacks/jacks.xfail: Removed passing test. From-SVN: r86086
2004-07-14jacks.exp (gcj_jacks_write): Add deprecation flag to the gcj_setup.Andreas Tobler2-61/+15
2004-07-14 Andreas Tobler <a.tobler@schweiz.ch> * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation flag to the gcj_setup. (gcj_jacks_run): Check tclsh version and launch jacks directly with the tclsh. * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the deprecation flag change. 58 XFAILS removed. From-SVN: r84710
2004-07-10jacks.xfail: Updates to reflect current status.Bryce McKinlay1-21/+0
2004-07-10 Bryce McKinlay <mckinlay@redhat.com> * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current status. 21 xfail's removed, 1 added. From-SVN: r84461
2004-06-29jacks.xfail: Remove 8.1.3-superclass-6.Bryce McKinlay1-1/+0
* testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6. From-SVN: r83838
2004-06-24jacks.xfail: Remove 15.9.1-qualified-concrete-20.Bryce McKinlay1-1/+0
* testsuite/libjava.jacks/jacks.xfail: Remove 15.9.1-qualified-concrete-20. From-SVN: r83602
2004-05-29jacks.xfail: Update for post tree-ssa merge results.Ranjit Mathew1-47/+5
* testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge results. From-SVN: r82417
2004-05-10jacks.xfail: Update to reflect current reality.Ranjit Mathew1-611/+694
* testsuite/libjava.jacks/jacks.xfail: Update to reflect current reality. From-SVN: r81667
2004-04-25jacks.exp (gcj_jacks_write): Explicitly limit the maximum heap size to avoid ↵Ranjit Mathew1-1/+6
unnecessary thrashing. * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly limit the maximum heap size to avoid unnecessary thrashing. From-SVN: r81156
2003-11-11jacks.exp (gcj_jacks_write): Enable "assert" constraint.Tom Tromey2-0/+26
* libjava.jacks/jacks.exp (gcj_jacks_write): Enable "assert" constraint. * libjava.jacks/jacks.xfail: Added new xfails. From-SVN: r73458
2003-11-08* libjava.jacks/jacks.xfail: Updated.Tom Tromey1-5/+0
From-SVN: r73371
2003-09-27* libjava.jacks/jacks.xfail: Updated for new passes.Tom Tromey1-23/+0
From-SVN: r71863
2003-08-12re PR java/5641 (Verifier ICE on reference to inherited method)Tom Tromey1-16/+0
* libjava.jacks/jacks.xfail: Updated to account for new passes. * libjava.compile/abstr.xfail: Now can compile from bytecode. * libjava.compile/PR5641.xfail: Now can compile from bytecode. From-SVN: r70387
2003-08-04jacks.exp (gcj_jacks_run): Just ignore errors from jacks.Tom Tromey1-7/+4
* libjava.jacks/jacks.exp (gcj_jacks_run): Just ignore errors from jacks. From-SVN: r70157
2003-03-10* libjava.jacks/jacks.xfail: Updated to reflect reality.Tom Tromey1-13/+34
From-SVN: r64093
2003-02-24* libjava.jacks/jacks.xfail: Most 4.7.10 tests pass now.Tom Tromey1-38/+9
From-SVN: r63351
2003-02-03jacks.exp (gcj_jacks_write): Set LD_LIBRARY_PATH to find libgcc_s.Ulrich Weigand1-1/+6
* libjava.jacks/jacks.exp (gcj_jacks_write): Set LD_LIBRARY_PATH to find libgcc_s. Set JAVA_CLASSPATH to find libgcj.jar. From-SVN: r62318
2003-01-28* libjava.jacks/jacks.xfail: More lexer tests now pass.Tom Tromey1-43/+0
From-SVN: r61995
2003-01-21jacks.xfail: All 8.4.3 tests and 9.4-modifier-10 now pass.Tom Tromey1-5/+0
* libjava.jacks/jacks.xfail: All 8.4.3 tests and 9.4-modifier-10 now pass. From-SVN: r61557
2002-12-19natClassLoader.cc (defineClass0): Removed erroneous comment.Tom Tromey1-24/+18
* java/lang/natClassLoader.cc (defineClass0): Removed erroneous comment. * java/lang/ClassLoader.java (defineClass): Use chained exception when rethrowing. * defineclass.cc (handleClassBegin): Mark class as interpreted. * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New constants. * resolve.cc (_Jv_PrepareMissingMethods): New function. (_Jv_PrepareClass): Use it. * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote. (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend. * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS. (Class): _Jv_PrepareMissingMethods now friend. * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize. Record `NULL' for system class loader. (_Jv_RegisterInitiatingLoader): Use JvSynchronize. Special case system class loader. (_Jv_FindClassInCache): Likewise. (_Jv_UnregisterClass): Use JvSynchronize. Free old loader info. (_Jv_FindClass): Special case system class loader. * java/lang/natClass.cc (_Jv_abstractMethodError): New function. (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty vtable slots. (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method in a final class. (_getDeclaredMethod): Don't return synthetic methods. (getDeclaredMethods): Likewise. (_getMethod): Likewise. (_getMethods): Likewise. From-SVN: r60319
2002-12-01jacks.exp (gcj_jacks_setup_xfail): New function.Tom Tromey2-2/+868
* libjava.jacks/jacks.exp (gcj_jacks_setup_xfail): New function. (gcj_jacks_parse): Use it; set up xfails. * libjava.jacks/jacks.xfail: New file. From-SVN: r59702
2002-11-06* libjava.jacks/jacks.exp: New file.Tom Tromey1-0/+81
From-SVN: r58850