This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: dot notation question
- From: Per Bothner <per at bothner dot com>
- To: Li Lin <guru dot lin at gmail dot com>
- Cc: kawa at sourceware dot org
- Date: Sat, 08 Apr 2006 23:47:21 -0700
- Subject: Re: dot notation question
- References: <9B5EB331-36AA-4753-AF0A-4668C5BAC77D@gmail.com>
Li Lin wrote:
I don't get the difference between then two variants - at least when
using the version in CVS. Both give the same error.
It seems to work if instead you use:
(javax.naming.Context:.INITIAL_CONTEXT_FACTORY)
instead of:
(javax.naming.InitialContext:.INITIAL_CONTEXT_FACTORY)
I haven't yet looked at why the former works but the
latter doesn't.
The current CVS version of Kawa allows you to write:
javax.naming.InitialContext:INITIAL_CONTEXT_FACTORY
(no dots, no parens).
--
--Per Bothner
per@bothner.com http://per.bothner.com/