[OpenJDK 2D-Dev] FW: RFR [XS] 8229023: make java/awt/print/PrinterJob/SameService.java Windows-only , was : question regarding test java/awt/PrinterJob/SameService.java (tests that print services are not re-created)
Baesken, Matthias
matthias.baesken at sap.com
Thu Aug 15 06:45:22 UTC 2019
Hi Sergey, we only observed the recreation issue on Linux . It might be some kind of race there (showed up only a few times ).
We've never seen it on MacOSX .
So far , I do not know very much about why it occurred .
Best regards, Matthias
>
> Hi, Matthias.
>
> Did you check what is the root cause of the problem? Why the new service
> sometimes recreated?
> It seems that in the code we tried to cache them per appcontext in the
> PrintServiceLookup.getAllLookupServices(), no?
>
> It sounds like JDK-6446094, but this time on Linux, by the way, what about
> macOS?
>
>
> On 8/12/19 5:36 am, Baesken, Matthias wrote:
> > Forwarding to 2d-dev because this might be the better list for this issue ..
> >
> > -----------------------------------------
> >
> > Hello, please review the following small test adjustment .
> >
> > It makes
> the test java/awt/print/PrinterJob/SameService.java Windows-only.
> >
> > Reason is that in some cases the print service is recreated on Linux .
> >
> > ( we observed this in ~ 30 % of test runs on one of our test machines )
> >
> > Bug/webrev :
> >
> > https://bugs.openjdk.java.net/browse/JDK-8229023
> >
> > http://cr.openjdk.java.net/~mbaesken/webrevs/8229023.0/
> >
> > Thanks, Matthias
> >
>
>
> --
> Best regards, Sergey.
More information about the 2d-dev
mailing list