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: Allan Odgaard <email@hidden>
- Date: Wed, 25 Feb 2004 19:32:51 +0100
On 25. Feb 2004, at 18:35, David Reitter wrote:
Btw, a small java app to test the regular expressions (without Cocoa
layer) works as intended. I should probably add that I'm trying to do
the above in a class that is instantiated in a Controller class
controlled by some Cocoa code.
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).
_______________________________________________
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.