<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sat Jan 11 14:12:12 UTC 2025

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>Mojang Studios Jira</title>
    <link>https://bugs.mojang.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en</language>    <build-info>
        <version>9.12.2</version>
        <build-number>9120002</build-number>
        <build-date>10-01-2024</build-date>
    </build-info>


<item>
            <title>[MCPE-1052] Minecraft Raspberry PI API is compiled for Java 7 only</title>
                <link>https://bugs.mojang.com/browse/MCPE-1052</link>
                <project id="10200" key="MCPE">Minecraft (Bedrock codebase)</project>
                    <description>&lt;p&gt;I know this is the wrong section, but this is the best place I could think of.&lt;/p&gt;

&lt;p&gt;In the leaked prerelease for Minecraft Raspberry Pi edition, the two jars for Java api are compiled with Java 7, and running on OpenJDK 6 results in:&lt;/p&gt;

&lt;p&gt;$ java -cp McPiDemos.jar pi.demo.LoopDemo&lt;br/&gt;
Exception in thread &quot;main&quot; java.lang.UnsupportedClassVersionError: pi/demo/LoopDemo : Unsupported major.minor version 51.0&lt;br/&gt;
        at java.lang.ClassLoader.defineClass1(Native Method)&lt;br/&gt;
        at java.lang.ClassLoader.defineClass(ClassLoader.java:634)&lt;br/&gt;
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)&lt;br/&gt;
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)&lt;br/&gt;
        at java.net.URLClassLoader.access$000(URLClassLoader.java:73)&lt;br/&gt;
        at java.net.URLClassLoader$1.run(URLClassLoader.java:212)&lt;br/&gt;
        at java.security.AccessController.doPrivileged(Native Method)&lt;br/&gt;
        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)&lt;br/&gt;
        at java.lang.ClassLoader.loadClass(ClassLoader.java:321)&lt;br/&gt;
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)&lt;br/&gt;
        at java.lang.ClassLoader.loadClass(ClassLoader.java:266)&lt;br/&gt;
Could not find the main class: pi.demo.LoopDemo. Program will exit.&lt;/p&gt;

&lt;p&gt;Trying to compile the source with Java 6 results in the following error:&lt;/p&gt;

&lt;p&gt;$ javac -cp .:../src-api/ -d ../bindemo pi/demo/LoopDemo.java&lt;br/&gt;
../src-api/pi/EventFactory.java:16: illegal start of type&lt;br/&gt;
        List&amp;lt;BlockHitEvent&amp;gt; events = new ArrayList&amp;lt;&amp;gt;();&lt;br/&gt;
                                                   ^&lt;br/&gt;
../src-api/pi/Connection.java:84: cannot find symbol&lt;br/&gt;
symbol  : method close(java.io.BufferedReader,java.io.BufferedWriter,java.net.Socket)&lt;br/&gt;
location: class pi.Connection&lt;br/&gt;
        close(in, out, socket);&lt;br/&gt;
        ^&lt;br/&gt;
2 errors&lt;/p&gt;

&lt;p&gt;Since some people are still running Java 6, it would make sense to build the Java API for Java 6.&lt;/p&gt;</description>
            <key id="17973">MCPE-1052</key>
            <summary>Minecraft Raspberry PI API is compiled for Java 7 only</summary>
                <type id="1" iconUrl="https://bugs.mojang.com/secure/viewavatar?size=xsmall&amp;avatarId=18903&amp;avatarType=issuetype">Bug</type>
                                    <status id="5" iconUrl="https://bugs.mojang.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="7">Invalid</resolution>
                                            <reporter username="zhuowei">Zhuowei Zhang</reporter>
                        <labels>
                    </labels>
                <created>Wed, 26 Dec 2012 08:18:20 +0100</created>
                <updated>Thu, 4 May 2017 04:07:46 +0200</updated>
                            <resolved>Mon, 11 Feb 2013 23:17:47 +0100</resolved>
                                    <version>0.6.0</version>
                                                                        <votes>1</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="45384" author="zhuowei" created="Tue, 12 Feb 2013 03:32:29 +0100"  >&lt;p&gt;Ah, well, it is fixed in the latest release anyways.&lt;/p&gt;</comment>
                            <comment id="45360" author="do" created="Mon, 11 Feb 2013 23:17:47 +0100"  >&lt;p&gt;Unfortunately Pi Edition issues aren&apos;t being tracked here for now, sorry.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                <customfield id="customfield_10701" key="com.atlassian.jira.plugin.system.customfieldtypes:datetime">
                        <customfieldname>CHK</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Sun, 27 Jan 2013 15:31:00 +0100</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10500" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Confirmation Status</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10301"><![CDATA[Plausible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_11700" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10402" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Platform</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10120"><![CDATA[Tablet - Android - Other (Specify in description)]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11600" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i0dy5r:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    </customfields>
    </item>
</channel>
</rss>