• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: import regex -> can't instantiate Java class any more
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: import regex -> can't instantiate Java class any more
      • From: David Reitter <email@hidden>
References: 
 >import regex -> can't instantiate Java class any more (From: David Reitter <email@hidden>)

  • Prev by Date: strange sheet problem?
  • Next by Date: unichar for hyperlink?
  • Previous by thread: import regex -> can't instantiate Java class any more
  • Next by thread: Re: import regex -> can't instantiate Java class any more
  • Index(es):
    • Date
    • Thread