Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 99571 invoked from network); 21 May 2003 20:56:54 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 21 May 2003 20:56:54 -0000 Received: (qmail 16470 invoked by uid 97); 21 May 2003 20:59:05 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@nagoya.betaversion.org Received: (qmail 16463 invoked from network); 21 May 2003 20:59:05 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 21 May 2003 20:59:05 -0000 Received: (qmail 99254 invoked by uid 500); 21 May 2003 20:56:50 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 99243 invoked from network); 21 May 2003 20:56:50 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 21 May 2003 20:56:50 -0000 Received: (qmail 16454 invoked by uid 50); 21 May 2003 20:59:02 -0000 Date: 21 May 2003 20:59:02 -0000 Message-ID: <20030521205902.16453.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: commons-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 19781] - PropertyUtils.copyProperties throws exceptions contrary to documentation X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19781 PropertyUtils.copyProperties throws exceptions contrary to documentation ------- Additional Comments From rdonkin@apache.org 2003-05-21 20:59 ------- i think i agree about some of the problems with the exception handling logic (but i'm not too sure that there are any good ways to solve them). from what i can see, the real issue is that copyProperty (and so copyProperties) catches NoSuchMethodException's and rethrows InvocationTargetException's. this seems wrong to me. from my reading of the method contract, i'd suggest that really NoSuchMethodException's should be ignored. IllegalAccessException's should also probably be marked as never now being thrown. BTW it's a real PITA that you've copyrighted the test case you attached. this means that i've got to go to the trouble of writing my own sufficiently different one if i want to see your point. if the issue is hard to replicate then it may be hard to create a separate test case that is adequate. --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org