[JAVA-2560] Use jdk.javadoc.doclet package Created: 18/Jul/17  Updated: 29/Oct/23  Resolved: 30/Apr/18

Status: Closed
Project: Java Driver
Component/s: Build
Affects Version/s: None
Fix Version/s: 3.7.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

Issue Links:
Related
is related to JAVA-2522 Build with Java 9 Closed
is related to JAVA-2826 Remove dependency on tools.jar Closed
Epic Link: Java9

 Description   

Java 9 deprecates the com.sun.source.doctree package in favor of jdk.javadoc.doclet. The driver's custom taglet support for mongodb.server.release and mongodb.driver.manual should be upgraded to use the new package.



 Comments   
Comment by Githook User [ 30/Apr/18 ]

Author:

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

Message: JAVA-2560 : Update Evergreen configuration

Comment by Githook User [ 30/Apr/18 ]

Author:

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

Message: JAVA-2560 : Update contributing guide

Specify that Java 9 should be used to compile and run the tests.
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/be9517797275292f03df5872f23c556d89b9d2e8

Comment by Githook User [ 30/Apr/18 ]

Author:

{'email': 'fares.hassak@gmail.com', 'username': 'fhassak', 'name': 'Farès Hassak'}

Message: JAVA-2560 : Use jdk.javadoc.doclet package

This change adds a requirement that a minimum of Java 9 is used to build
the driver, as the jdk.javadoc.doclet package was introduced in Java 9.
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/74b9ff6e474abbf12240274ec39dd9d2a92f6b7b

Comment by Jeffrey Yemin [ 26/Apr/18 ]

Farès Hassak thanks so much. This has been a real annoyance for me and I'd love to see it fixed.

Comment by Farès Hassak [ 26/Apr/18 ]

Hello,

I started working on this issue. A PR will come soon...

Farès

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