This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Patch: PR java/20312 - Checks throws clause even for non-source base classes


Hi,

  This is a rather silly fix for PR java/20312, but it does work
and produces no regressions on i686-pc-linux-gnu and an
XPASS (9.2-implicit-15) in Jacks.

In check_throws_clauses(), we were just ignoring base
classes who are not being compiled in from Java
sources - I don't see why, as I could see the throws_list
just fine and removing this also fixes the bug in question. :-/

The second hunk in the patch removes an unused variable
that was left after my previous patch to nuke xref code.
I can see this warning during a GCC bootstrap but it does
not seem to stop the bootstrap. Odd.

I've also attached a patch for the testsuite, including
removing the xfail for 9.2-implicit-15 in Jacks.

OK for mainline?

Thanks,
Ranjit.

-- 
Ranjit Mathew      Email: rmathew AT gmail DOT com

Bangalore, INDIA.    Web: http://ranjitmathew.hostingzero.com/

Attachment: pr20312.txt
Description: Text document

Attachment: t1.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]