[JAVA-3039] Remove -Xlint:-deprecation from build Created: 08/Oct/18  Updated: 28/Oct/23  Resolved: 03/Sep/19

Status: Closed
Project: Java Driver
Component/s: Build
Affects Version/s: None
Fix Version/s: 4.0.0

Type: Improvement Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: Jeffrey Yemin
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: Consolidate JVM repos

 Description   

We added -Xlint:-deprecation so that we could deprecate most of driver-core without fully qualifying all the class names in the classes that depend on the deprecated classes.  When we actually remove all the deprecated classes in 4.0, we should re-enable deprecation warnings.



 Comments   
Comment by Githook User [ 15/Jan/20 ]

Author:

{'name': 'Jeff Yemin', 'username': 'jyemin', 'email': 'jeff.yemin@10gen.com'}

Message: Remove -Xlint:-deprecation from build

Now that all deprecated elements have been removed, re-enable
deprecation warnings in the build. This will prevent us from
inadvertently adding dependencies on more deprecated APIs.

JAVA-3039
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/42b47f4b7dc86027edb7415f8ad90adfa0b29dff

Generated at Thu Feb 08 08:58:38 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.