[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cp-patches] Patch: fix || expressions in jdwp code
From: |
Mark Wielaard |
Subject: |
Re: [cp-patches] Patch: fix || expressions in jdwp code |
Date: |
Thu, 15 Sep 2005 15:58:17 +0200 |
Hi Anthony,
On Wed, 2005-09-14 at 17:49 -0700, Anthony Green wrote:
> {
> - if (tid == null | tid.getReference().get () == null)
> + if (tid == null || tid.getReference().get () == null)
> throw new InvalidThreadException (tid.getId ());
Note that in this case, and the case below you still will get a
NullPointerException, not an InvalidThreadException if tid == null.
Cheers,
Mark
signature.asc
Description: This is a digitally signed message part