[OpenJDK 2D-Dev] [PATCH] FontManager refactoring

2008-10-17 Thread Roman Kennke
Hi, this is the big FontManager refactoring patch I already mentioned a couple of times. It's primary purpose is to make the font implementation more portable (or: portable at all), allowing alternative/derived implementations to be plugged in. The general architecture breaks down as follows: - F

Re: [OpenJDK 2D-Dev] JNI crashes in FontManager code

2008-10-17 Thread Roman Kennke
Hi, > Fixing the bad JNI code in the font manager code. Two issues: > > o The JNIEnv is unique to the thread. It cannot be saved by one > thread and > reused by another. Use GetEnv instead. > > o The 'font2D' jobject needs to be converted into a globa