<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:57:53 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[JAVA-2705] Move MongoDriverInformation class from com.mongodb.client to com.mongodb</title>
                <link>https://jira.mongodb.org/browse/JAVA-2705</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;The &lt;tt&gt;MongoDriverInformation&lt;/tt&gt; class is part of driver-core and is in the &lt;tt&gt;com.mongodb.client&lt;/tt&gt; package.  This is unfortunate as it&apos;s the same package that is used for the standard driver CRUD API, e.g. &lt;tt&gt;com.mongodb.client.MongoCollection&lt;/tt&gt;.  And it can&apos;t just be moved into the driver module because it&apos;s also used by driver-async.&lt;/p&gt;

&lt;p&gt;This hasn&apos;t been a problem because prior to Java 9 it it perfectly legal to split the same package between multiple jar files.  But in order to deploy the driver on the module path, even as a set of automatic modules, package splits are forbidden and will result in an error like:&lt;/p&gt;

&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;java.lang.module.ResolutionException: Module org.mongodb.driver.client contains package com.mongodb.client, module org.mongodb.driver.core exports package com.mongodb.client to org.mongodb.driver.client&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;

&lt;p&gt;To rectify this situation, &lt;tt&gt;MongoDriverInformation&lt;/tt&gt; must be moved to a different package, and &lt;tt&gt;com.mongodb&lt;/tt&gt; seems suitable.&lt;/p&gt;

&lt;p&gt;While this is a breaking change, it is unlikely to affect end-user applications because this class was added only to support wrapping drivers like Reactive Streams and the Scala Driver, and those drivers can easily be updated to refer to the new location of this class.  For that reason, we should consider doing this outside of a major release of the driver.&lt;/p&gt;</description>
                <environment></environment>
        <key id="472556">JAVA-2705</key>
            <summary>Move MongoDriverInformation class from com.mongodb.client to com.mongodb</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="13201">Fixed</resolution>
                                        <assignee username="jeff.yemin@mongodb.com">Jeffrey Yemin</assignee>
                                    <reporter username="jeff.yemin@mongodb.com">Jeffrey Yemin</reporter>
                        <labels>
                    </labels>
                <created>Thu, 14 Dec 2017 21:00:22 +0000</created>
                <updated>Sat, 28 Oct 2023 11:23:03 +0000</updated>
                            <resolved>Wed, 10 Jan 2018 00:46:50 +0000</resolved>
                                                    <fixVersion>3.7.0</fixVersion>
                                    <component>API</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="1769725" author="xgen-internal-githook" created="Tue, 9 Jan 2018 23:03:22 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;jeff.yemin@10gen.com&apos;, &apos;name&apos;: &apos;Jeff Yemin&apos;, &apos;username&apos;: &apos;jyemin&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-2705&quot; title=&quot;Move MongoDriverInformation class from com.mongodb.client to com.mongodb&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-2705&quot;&gt;&lt;del&gt;JAVA-2705&lt;/del&gt;&lt;/a&gt;: Move MongoDriverInformation from com.mongodb.client package to com.mongodb package.&lt;/p&gt;

&lt;p&gt;   This breaks binary compatibility, but without this change it&apos;s impossible to modularize the core driver,&lt;br/&gt;
   as the com.mongodb.client package would be split between two modules, which is not allowed.&lt;/p&gt;

&lt;p&gt;   A mitigating factor is that this class is only intended for use by wrapping drivers like our own Scala&lt;br/&gt;
   and Reactive Streams drivers, and so is unlikely to be referenced directly by downstream users besides&lt;br/&gt;
   MongoDB itself.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/121130a4251ba536f0faef9279618a64bdf426fc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/121130a4251ba536f0faef9279618a64bdf426fc&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="387610">JAVA-2521</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10011"><![CDATA[Minor Change]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>JAVA-2508</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr8zqf:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>