Nice, thanks a lot Mark. The most interesting thing is that I haven't
seen any error messages neither while running a test from HARMONY-4562
nor while standard commit testing that includes Swing and AWT unit
tests. Most likely the difference was in the fact I was using DRLVM
and you probably use J9. AFAIK DRLVM uses APR's apr_dso_load to load
dll's that to all appearance just silently ignores unresolved symbols.
So I was enjoying nice Linux fonts in spite of the fact that the
reference to newNullPointerException was not resolved. :)

With Best Regards,
Alexei

2007/10/16, Mark Hindess <[EMAIL PROTECTED]>:
>
> Alexei,
>
> The change to LinuxNativeFont.cpp introduces to calls to
> newNullPointerException.  There were other references to this function
> in the originally contributed version of this file but in order to be
> consistent with the rest of the native code, I replaced them in commit:
>
>   r423405 | hindessm | 2006-07-19 09:51:27 +0100 (Wed, 19 Jul 2006) | 1 line
>
>   Change awt natives to use exception functions from luni common library.
>
> I can't understand how this code would work for you.  I get undefined
> symbol errors when the dlopen call tries to load the linuxfont dll.
>
> I've checked in a change, r585221, to replace these function calls with
> calls to the replacement current equivalent function, throwNPException.
>
> The linux fonts look much better for me now.  Nice work Dmitriy.
>
> Regards,
>  Mark.
>
> On 12 October 2007 at 13:11, [EMAIL PROTECTED] wrote:
> > Author: ayza
> > Date: Fri Oct 12 06:10:33 2007
> > New Revision: 584159
> >
> > URL: http://svn.apache.org/viewvc?rev=584159&view=rev
> > Log:
> > Support for antialiasing for Unix fonts was added. See HARMONY-4562 
> > ([classli
> > b][awt] Antialliasing is not implemented on Linux)

Reply via email to