This is the mail archive of the kawa@sourceware.org mailing list for the Kawa 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]

Re: dot notation question


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/


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