Re: [OpenJDK 2D-Dev] RFR(S): 8214343: Handle the absence of Xrandr more generically

2018-11-27 Thread Erik Joelsson
Looks ok to me. /Erik On 2018-11-27 05:52, Volker Simonis wrote: Hi, can I please have a review for the following trivial change which handles the absence of Xrandr more generically: http://cr.openjdk.java.net/~simonis/webrevs/2018/8214343/ https://bugs.openjdk.java.net/browse/JDK-8214343

Re: [OpenJDK 2D-Dev] RFR: 8214002 Cannot use italic font style if the font has embeded bitmap

2018-11-27 Thread Ichiroh Takiguchi
Hello Phil. I don't have any concern about this fix. I'm thinking why initial programmer used FT_LOAD_RENDER instead of FT_LOAD_DEFAULT. On my testing, this fix was fine for me. Ichiroh Takiguchi On 2018-11-27 03:59, Philip Race wrote: It seems fine to me. What is your concern when you say

Re: [OpenJDK 2D-Dev] RFR(S): 8214343: Handle the absence of Xrandr more generically

2018-11-27 Thread Phil Race
+1 -phil. On 11/27/18 8:45 AM, Erik Joelsson wrote: Looks ok to me. /Erik On 2018-11-27 05:52, Volker Simonis wrote: Hi, can I please have a review for the following trivial change which handles the absence of Xrandr more generically:

Re: [OpenJDK 2D-Dev] RFR: 8214002 Cannot use italic font style if the font has embeded bitmap

2018-11-27 Thread Phil Race
On 11/27/18 9:36 AM, Ichiroh Takiguchi wrote: Hello Phil. I don't have any concern about this fix. I'm thinking why initial programmer used FT_LOAD_RENDER instead of FT_LOAD_DEFAULT. Probably that this was what we wanted to do in almost all cases and it has now turned out to be untrue ..

Re: [OpenJDK 2D-Dev] [12]RFR: [JDK-8074824]: Resolve disabled warnings for libawt_xawt

2018-11-27 Thread Phil Race
I agree. Is casting to int actually the right thing ? Definitely not always Looking here (for example) 1042 int len; 1060 len = (int)(strlen(vendor) + 1 + strlen(renderer) + 1 + 1+strlen(version)+1 + 1); we use len ONLY as an argument to malloc 1061 pAdapterId = malloc(len);] So

Re: [OpenJDK 2D-Dev] RFR: 8214002 Cannot use italic font style if the font has embeded bitmap

2018-11-27 Thread Ichiroh Takiguchi
Hello Phil. Do you need me to push this ? Yes, if possible. Currently, no sponsor is assigned for this issue. Ichiroh Takiguchi On 2018-11-28 05:43, Phil Race wrote: On 11/27/18 9:36 AM, Ichiroh Takiguchi wrote: Hello Phil. I don't have any concern about this fix. I'm thinking why initial

Re: [OpenJDK 2D-Dev] RFR: 8214002 Cannot use italic font style if the font has embeded bitmap

2018-11-27 Thread Philip Race
Oh .. there's no regression test. If you can't find one then I think you can write one relatively easily by selecting the known font - MS Mincho, making sure we are on Windows (don't try it on Mac even if the font exists), draw the text to a BufferedImage in plain / regular style. Repeat to a

Re: [OpenJDK 2D-Dev] RFR(XS): 8213944: Fix AIX build after the removal of Xrandr.h and add a configure check for it

2018-11-27 Thread Volker Simonis
Hi Phil, sorry I didn't wanted to overrule you but after I didn't heard back from you for almost a week (an out of office mail could have been helpful) and after I got 5 other reviews I decided to finally fix the build error on AIX. On Mon, Nov 26, 2018 at 9:35 PM Phil Race wrote: > > Well .. I

Re: [OpenJDK 2D-Dev] [12]RFR: [JDK-8074824]: Resolve disabled warnings for libawt_xawt

2018-11-27 Thread Krishna Addepalli
Hi Phil, To reduce the scope, I have created a new webrev, which addresses only warnings on Linux platform. Warnings for other platforms will be addressed in separate bugs. Here is the new webrev: http://cr.openjdk.java.net/~kaddepalli/8074824/webrev02/ For your reference, I'm attaching

Re: [OpenJDK 2D-Dev] Speed of drawPolyline on JDK11

2018-11-27 Thread Laurent Bourgès
Hi Phil, > I proposed 2 small fixes for jdk12... still to be done, as better > solutions are not yet ready and I am completely overbusy on testing Java > Sorting algorithms. > > Maybe I will give up fixing the native renderer, for these reasons: > - stdlib qsort implementation and performance

Re: [OpenJDK 2D-Dev] Segmentation fault caused by Java2D Disposer, crashing application running on JBoss

2018-11-27 Thread dalibor topic
On 19.11.2018 09:34, Simon DEVINEAU wrote: We are gonna contact Red Hat in parallel but, as already said, some tickets seem to show that is not only applicative problem but also jvm. If you're seeing an issue with a third party OpenJDK build, please contact the provider of that build for a

Re: [OpenJDK 2D-Dev] [12]RFR: [JDK-8074824]: Resolve disabled warnings for libawt_xawt

2018-11-27 Thread Magnus Ihse Bursie
I normally do not comment on component source code changes, but I glanced through this and noticed that a lot of size_t values are casted to int, in situations where a size_t is expected, like SAFE_ALLOC or so. Perhaps it would be better to change the argument to those functions, rather than to

Re: [OpenJDK 2D-Dev] [12]RFR: [JDK-8074824]: Resolve disabled warnings for libawt_xawt

2018-11-27 Thread Krishna Addepalli
Hi Magnus,   Thanks for taking a look. I was wanting to change the SAFE_ALLOC definition, but since that file is in java.base, I was not sure of changing it.   Krishna   From: Magnus Ihse Bursie Sent: Tuesday, November 27, 2018 6:52 PM To: Krishna Addepalli Cc: Philip Race ;

[OpenJDK 2D-Dev] RFR(S): 8214343: Handle the absence of Xrandr more generically

2018-11-27 Thread Volker Simonis
Hi, can I please have a review for the following trivial change which handles the absence of Xrandr more generically: http://cr.openjdk.java.net/~simonis/webrevs/2018/8214343/ https://bugs.openjdk.java.net/browse/JDK-8214343 Change JDK-8213944 fixed the build on AIX (which has no Xrandr) by

Re: [OpenJDK 2D-Dev] [12]RFR: [JDK-8074824]: Resolve disabled warnings for libawt_xawt

2018-11-27 Thread Magnus Ihse Bursie
> 27 nov. 2018 kl. 14:32 skrev Krishna Addepalli : > > Hi Magnus, > > Thanks for taking a look. I was wanting to change the SAFE_ALLOC definition, > but since that file is in java.base, I was not sure of changing it. If you do change it, does it trigger compilation warnings/errors elsewhere?

Re: [OpenJDK 2D-Dev] RFR(S): 8214343: Handle the absence of Xrandr more generically

2018-11-27 Thread Thomas Stüfe
Looks good Volker. I agree, NO_XRANDR is reasonable and better than HAVE_XRANDR. I have to say, the amount of work this took is insane for the size of the problem involved. Cheers, Thomas On Tue, Nov 27, 2018 at 2:54 PM Volker Simonis wrote: > > Hi, > > can I please have a review for the