Andrea Aime ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ae9469ffc-5e16-4c2b-b7b0-b9c46e912f9e
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiY2NkZTY1NGFiYjE3NDdjM2IzMzgxNmVkODYyMDhlNzQiLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-10484?atlOrigin=eyJpIjoiY2NkZTY1NGFiYjE3NDdjM2IzMzgxNmVkODYyMDhlNzQiLCJwIjoiaiJ9
 ) GEOS-10484 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10484?atlOrigin=eyJpIjoiY2NkZTY1NGFiYjE3NDdjM2IzMzgxNmVkODYyMDhlNzQiLCJwIjoiaiJ9
 ) JDK 17 failure in ResourceControllerTest#testDirectoryJSON_multiple_children 
( 
https://osgeo-org.atlassian.net/browse/GEOS-10484?atlOrigin=eyJpIjoiY2NkZTY1NGFiYjE3NDdjM2IzMzgxNmVkODYyMDhlNzQiLCJwIjoiaiJ9
 )

Issue Type: Bug Assignee: Andrea Aime ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ae9469ffc-5e16-4c2b-b7b0-b9c46e912f9e
 ) Created: 06/May/22 9:53 AM Priority: Medium Reporter: Andrea Aime ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ae9469ffc-5e16-4c2b-b7b0-b9c46e912f9e
 )

Happens installing the latest JDK 17 release, one file that used to be detected 
as generic binary, is now detected (correctly!) as json:

{"ResourceDirectory": {
 "name": "mydir2",
 "parent":   {
   "path": "/",
   "link":     {
     "href": "http://localhost:8080/geoserver/rest/resource/";,
     "rel": "alternate",
     "type": "application/json"
   }
 },
 "lastModified": "2022-05-06 07:50:50.935 UTC",
 "children": {"child":   [
       {
     "name": "fake.png",
     "link":       {
       "href": "http://localhost:8080/geoserver/rest/resource/mydir2/fake.png";,
       "rel": "alternate",
       "type": "image/png"
     }
   },
       {
     "name": "imagewithoutextension",
     "link":       {
       "href": 
"http://localhost:8080/geoserver/rest/resource/mydir2/imagewithoutextension";,
       "rel": "alternate",
       "type": "image/png"
     }
   },
       {
     "name": "myres.json",
     "link":       {
       "href": 
"http://localhost:8080/geoserver/rest/resource/mydir2/myres.json";,
       "rel": "alternate",
       "type": "application/json" <-- Used to be application/octect-stream
     }
   },
       {
     "name": "myres.xml",
     "link":       {
       "href": "http://localhost:8080/geoserver/rest/resource/mydir2/myres.xml";,
       "rel": "alternate",
       "type": "application/xml"
     }
   }
 ]}
 }} 

( 
https://osgeo-org.atlassian.net/browse/GEOS-10484#add-comment?atlOrigin=eyJpIjoiY2NkZTY1NGFiYjE3NDdjM2IzMzgxNmVkODYyMDhlNzQiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10484#add-comment?atlOrigin=eyJpIjoiY2NkZTY1NGFiYjE3NDdjM2IzMzgxNmVkODYyMDhlNzQiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100198- 
sha1:597f829 )
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to