<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:57:51 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-2694] Configure IntelliJ to build with Java 9</title>
                <link>https://jira.mongodb.org/browse/JAVA-2694</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;There is an apparent change of behavior in Intellij 2017.3 when the project is configured to use Java 9.  When the source/target compatibility is set to 1.6, IntelliJ&apos;s compilation task seems to exclude any classes that were added after JDK 1.6, resulting in a failure to find classes that the driver relies on when running on later Java versions, e.g. java.nio.channels.AsynchronousSocketChannel and java.time.Instant.&lt;/p&gt;

&lt;p&gt;In the source view, IntelliJ shows no errors and correctly navigates to the location of those classes in their respective Java 9 modules.&lt;/p&gt;

&lt;p&gt;The only workaround I&apos;ve found is to manually update the language level in the Project Structure dialog after syncing the Gradle build files.&lt;/p&gt;</description>
                <environment></environment>
        <key id="469859">JAVA-2694</key>
            <summary>Configure IntelliJ to build with Java 9</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</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="-1">Unassigned</assignee>
                                    <reporter username="jeff.yemin@mongodb.com">Jeffrey Yemin</reporter>
                        <labels>
                    </labels>
                <created>Fri, 8 Dec 2017 16:15:32 +0000</created>
                <updated>Sat, 28 Oct 2023 11:23:05 +0000</updated>
                            <resolved>Tue, 1 May 2018 22:29:17 +0000</resolved>
                                                                    <component>Build</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="1879801" author="jeff.yemin" created="Tue, 1 May 2018 22:29:17 +0000"  >&lt;p&gt;This can be resolved by unchecking the &quot;Use &apos;-&lt;del&gt;release&apos; option for cross-compilation (Java 9 and later)&quot; on the &quot;Build, Execution, Deployment &amp;gt; Compiler &amp;gt; Java Compiler&quot; preference page. Otherwise when it builds it sets the &quot;&lt;/del&gt;&lt;del&gt;release&quot; command line argument for javac to &quot;&lt;/del&gt;-release 6&quot; based on the &quot;targetCompatibility = JavaVersion.VERSION_1_6&quot; in build.gradle.&lt;/p&gt;
</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <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|hr907z:</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>