Comment From: asomov

Do not use deprecated method in SnakeYAML - it might be removed

Comment From: wilkinsona

Thanks for the PR, @asomov. The code that's changed here as part of Spring Boot's system tests. It's only used by Boot's tests and isn't published anywhere. As such, what's the motivation for these changes?

Comment From: asomov

@wilkinsona as I said - it uses deprecated method which will be removed in the coming major release of SnakeYAML. This project stops to compile. This will simplify the migration

Comment From: philwebb

Looks like this commit deprecated the constructor method we use and this one removed it. I don't think they'll be a release where users see the deprected warning.

Comment From: asomov

@philwebb yes, you are right. Because SnakeYAML will break the backwards compatibility in the coming release, we take the chance to remove a lot of old code. (Even though Spring itself is not affect by this hype about quasi-vulnerability, the Spring users are confused)