Re: import regex -> can't instantiate Java class any more
Re: import regex -> can't instantiate Java class any more
- Subject: Re: import regex -> can't instantiate Java class any more
- From: David Reitter <email@hidden>
- Date: Wed, 25 Feb 2004 22:09:06 +0000
Allan:
I have absolutely no experience with Cocoa and Java combined, but:
could it be that "bla" is using NSString when you compile for Cocoa
(instead of Java's own String class)? And if so, probably the problem
is that the regex is made for String and not NSString.
Perhaps you could try to call some Java native methods on a string
object (but perhaps the bridge does add many of these to NSString).
Creative idea, but wouldn't you get compiler error rather than a
runtime error then?
(The actual problem was that it was compiled with Java 1.4, but the
runtime VM was 1.3, which was missing the regex functions.)
Thanks for helping
Dave
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.