This list is for the developer side of the street; we can help you here
when you submit a bug and start working on a patch.

There should be some existing test cases for mark factory you can copy; or
if you run a build in that environment they should *fail* if there is
indeed a regression in OpenJDK11.

As far as I know we are running all tests on OpenJDK8 and OpenJDK11 (both
on build server and pull requests).

Can you grab the source code and build in your environment? Perhaps you
have a new OpenJDK11 with a problem; or are on a system such as windows
that is not often used by developers.

Jody

On Tue, Aug 9, 2022 at 5:21 AM <m...@digikartta.net> wrote:

> Hello,
> maybe not the best platform to ask (spam..), but anyone having any idea
> of ShapeMarkfactory
> (
> https://github.com/geotools/geotools/blob/26.5/modules/library/render/src/main/java/org/geotools/renderer/style/ShapeMarkFactory.java
> )
> ..does it work with OpenJDK11 as planned? Or can someone debug that?
> My problem is in Geoserver, loosing dot hatch if using OpenJDK11, with 8
> it works. I found these lines, which I believe do the dots:
>
>   ExplicitBoundsShape dotShape =
>                  new ExplicitBoundsShape(
>                          new Ellipse2D.Double(-0.000001, -0.000001,
> 0.000001, 0.000001));
>          dotShape.setBounds(new Rectangle2D.Double(-0.5, 0.5, 1.0, 1.0));
>          shapes.put("dot", dotShape);
>
> According to Javadoc that seems to be ok also with 11, but for some
> reason dots disappear (SLD below). With for example shape://plus, hatch
> works, with dot, nothing.
>
> Thanks,
> - mika -
>
> <?xml version="1.0" encoding="UTF-8"?><sld:StyledLayerDescriptor
> xmlns="http://www.opengis.net/sld";
> xmlns:sld="http://www.opengis.net/sld";
> xmlns:gml="http://www.opengis.net/gml";
> xmlns:ogc="http://www.opengis.net/ogc"; version="1.0.0">
>    <sld:NamedLayer>
>      <sld:Name>Default Styler</sld:Name>
>      <sld:UserStyle>
>        <sld:Name>Default Styler</sld:Name>
>        <sld:FeatureTypeStyle>
>          <sld:Name>name</sld:Name>
>          <sld:Rule>
>            <sld:Name>Name something</sld:Name>
>            <sld:PolygonSymbolizer>
>              <sld:Fill>
>                <sld:GraphicFill>
>                  <sld:Graphic>
>                    <sld:Mark>
>                      <sld:WellKnownName>shape://dot</sld:WellKnownName>
>                      <sld:Stroke>
>                        <sld:CssParameter
> name="stroke">#646464</sld:CssParameter>
>                        <sld:CssParameter
> name="stroke-width">2</sld:CssParameter>
>                      </sld:Stroke>
>                    </sld:Mark>
>                    <sld:Size>5</sld:Size>
>                  </sld:Graphic>
>                </sld:GraphicFill>
>              </sld:Fill>
>            </sld:PolygonSymbolizer>
>          </sld:Rule>
>        </sld:FeatureTypeStyle>
>      </sld:UserStyle>
>    </sld:NamedLayer>
> </sld:StyledLayerDescriptor>
>
>
> _______________________________________________
> GeoTools-Devel mailing list
> GeoTools-Devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>
-- 
--
Jody Garnett
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to