<p style="text-align: center;"><strong><img alt="" src="https://simg.open-open.com/show/433cc3c79f034137a93c6e635baa7772.png" /></strong></p> <p> </p> <p> 2010年,长达是十年之久的Java开发让JetBrains的工程师认为老旧的Java语言已经严重阻碍了生产力。他们认为是时候开发一款现代化的JVM语言了,这也是因为他们有足够的资源和专家。本身做各种IDEs起家的JetBrains就开始着手新工具的开发——一个编程语言。</p> <p> Kotlin可以通过versa调用Java方法,源码可在同一项目中混合使用,甚至生成的.class文件完全兼容Java工具。JetBrains内部现在已经有一个超过20个开发人员的团队使用Kotlin开发。 目前已经有大量的开发人员使用Kotlin开发web服务后端和Android应用。</p> <h2>更新日志</h2> <ul> <li><a href="/misc/goto?guid=4959004690862194260"><code>KT-3805</code></a> Report error on double constants out of range</li> <li><a href="/misc/goto?guid=4959004690992564442"><code>KT-6014</code></a> Wrong ABSTRACT_MEMBER_NOT_IMPLEMENTED for toString implemented by delegation</li> <li><a href="/misc/goto?guid=4959004691115890272"><code>KT-8689</code></a> NoSuchMethodError on local functions inside inlined lambda with variables captured from outer context</li> <li><a href="/misc/goto?guid=4959004691217958610"><code>KT-8959</code></a> Missing diagnostic when trying to call inner class constructor qualificated with outer class name</li> <li><a href="/misc/goto?guid=4959004691334967336"><code>KT-11010</code></a> NDFDE for local object with type parameters</li> <li><a href="/misc/goto?guid=4959004691442273439"><code>KT-11314</code></a> Abstract generic class with Array<Array> parameter compiles fine but fails at runtime with "Bad type on operand stack" VerifyError</li> <li><a href="/misc/goto?guid=4959004691536893580"><code>KT-12477</code></a> Do not report 'const' inapplicability on property of error type</li> <li><a href="/misc/goto?guid=4959004691645890437"><code>KT-12839</code></a> Two null checks are generated when manually null checking platform type</li> <li><a href="/misc/goto?guid=4959004691758737829"><code>KT-12881</code></a> Descriptor wasn't found for declaration TYPE_PARAMETER</li> <li><a href="/misc/goto?guid=4959004691863938812"><code>KT-13342</code></a> Unqualified super call should not resolve to a method of supertype overriden in another supertype</li> <li><a href="/misc/goto?guid=4959004691977767046"><code>KT-14058</code></a> Unexpected error MISSING_DEPENDENCY_CLASS</li> <li><a href="/misc/goto?guid=4959004692085188045"><code>KT-14236</code></a> Allow to use emptyArray in annotation</li> <li><a href="/misc/goto?guid=4959004692195719787"><code>KT-14536</code></a> IllegalStateException: Type parameter T not found for lazy class Companion at LazyDeclarationResolver visitTypeParameter</li> <li><a href="/misc/goto?guid=4959004692291767527"><code>KT-14565</code></a> Cannot pop operand off empty stack when compiling enum class</li> <li><a href="/misc/goto?guid=4959004692391828089"><code>KT-14566</code></a> Make kotlin.jvm.internal.Ref$...Ref classes serializable</li> <li><a href="/misc/goto?guid=4959004692495814006"><code>KT-14567</code></a> VerifyError: Bad type on operand stack (generics with operator methods)</li> <li><a href="/misc/goto?guid=4959004692588498728"><code>KT-14607</code></a> Incorrect class name "ava/lang/Void from AsyncTask extension function</li> <li><a href="/misc/goto?guid=4959004692688641114"><code>KT-14811</code></a> Unecessary checkcast generated in parameterized functions.</li> <li><a href="/misc/goto?guid=4959004692767445888"><code>KT-14865</code></a> Throwable exception at KotlinParser parseLambdaExpression on typing { inside a string inside a lambda</li> <li><a href="/misc/goto?guid=4959004692857501425"><code>KT-14963</code></a> unnecessary checkcast java/lang/Object</li> <li><a href="/misc/goto?guid=4959004692965012781"><code>KT-15105</code></a> Comparing Chars in a Pair results in ClassCastException</li> <li><a href="/misc/goto?guid=4959004693070939512"><code>KT-15109</code></a> Subclass from a type alias with named parameter in constructor will produce compiler exception</li> <li><a href="/misc/goto?guid=4959004693163674314"><code>KT-15192</code></a> Compiler crashes on certain companion objects: "Error generating constructors of class Companion with kind IMPLEMENTATION"</li> <li><a href="/misc/goto?guid=4959004693272010487"><code>KT-15230</code></a> Multiplatform: impl member with generic type is not matched to header class correctly</li> <li><a href="/misc/goto?guid=4959004693368672754"><code>KT-15382</code></a> Merge light-analysis tests into black box codegen tests</li> <li><a href="/misc/goto?guid=4959004693458797496"><code>KT-15424</code></a> javac crash when calling Kotlin function having generic varargs with default and @JvmOverloads</li> <li><a href="/misc/goto?guid=4959004693597776182"><code>KT-15516</code></a> Compiler error when passing suspending extension-functions as parameter and casting stuff to Any</li> <li><a href="/misc/goto?guid=4959004693710392782"><code>KT-15521</code></a> Header classes shadow their implementations in platform specific project</li> <li><a href="/misc/goto?guid=4959004693830189149"><code>KT-15574</code></a> Can't instantiate Array through Type Alias</li> <li><a href="/misc/goto?guid=4959004693956699336"><code>KT-15594</code></a> java.lang.VerifyError when referencing normal getter in @JvmStatic getters inside an object</li> <li><a href="/misc/goto?guid=4959004694085210160"><code>KT-15742</code></a> Update to Idea 171</li> <li><a href="/misc/goto?guid=4959004694198648402"><code>KT-15759</code></a> tailrec suspend function fails to compile</li> <li><a href="/misc/goto?guid=4959004694334318870"><code>KT-15802</code></a> Java constant referenced using subclass is not considered a constant expression</li> <li><a href="/misc/goto?guid=4959004694455129711"><code>KT-15862</code></a> Inline generic functions can unexpectedly box primitives</li> <li><a href="/misc/goto?guid=4959004694552883605"><code>KT-15871</code></a> Unnecessary boxing for equality operator on inlined primitive values</li> <li><a href="/misc/goto?guid=4959004694677966078"><code>KT-15872</code></a> Constant folding is mistakenly triggered for user function</li> <li><a href="/misc/goto?guid=4959004694815768785"><code>KT-15901</code></a> Unstable smart cast target after type check</li> <li><a href="/misc/goto?guid=4959004694935638414"><code>KT-15946</code></a> Kotlin-JPA plugin support for @Embeddable</li> <li><a href="/misc/goto?guid=4959004695072188918"><code>KT-15951</code></a> Callable reference to class constructor from object is not resolved</li> <li><a href="/misc/goto?guid=4959004695188730783"><code>KT-15993</code></a> Property annotations are stored in private fields and killed by obfuscators</li> <li><a href="/misc/goto?guid=4959004695318226731"><code>KT-15997</code></a> Reified generics don't work properly with crossinline functions</li> <li><a href="/misc/goto?guid=4959004695411380188"><code>KT-16077</code></a> Redundant private getter for private var in a class within a JvmMultifileClass annotated file</li> <li><a href="/misc/goto?guid=4959004695516693363"><code>KT-16113</code></a> Support destructuring parameters of suspend lambda with suspend componentX</li> <li><a href="/misc/goto?guid=4959004695625197095"><code>KT-16194</code></a> Code with unnecessary safe call contains redundant boxing/unboxing for primitive values</li> <li><a href="/misc/goto?guid=4959004695724777351"><code>KT-16232</code></a> Prohibit objects inside inner classes</li> <li><a href="/misc/goto?guid=4959004695816498846"><code>KT-16233</code></a> Prohibit inner sealed classes</li> <li><a href="/misc/goto?guid=4959004695919115663"><code>KT-16245</code></a> Redundant null-check generated for a cast of already non-nullable value</li> <li><a href="/misc/goto?guid=4959004696020185542"><code>KT-16250</code></a> Import methods from typealias to object throws compiler exception "Should be class or package: typealias"</li> <li><a href="/misc/goto?guid=4959004696149305015"><code>KT-16252</code></a> IDL2K: Add ItemArrayLike interface implementation to collection-like classes</li> <li><a href="/misc/goto?guid=4959004696269851806"><code>KT-16272</code></a> Missing deprecation and SinceKotlin-related diagnostic for variable as function call</li> <li><a href="/misc/goto?guid=4959004696401080814"><code>KT-16278</code></a> Public member method can't be used for callable reference because of private static with the same name</li> <li><a href="/misc/goto?guid=4959004696503125789"><code>KT-16372</code></a> 'mod is deprecated' warning should not be shown when language version is 1.0</li> <li><a href="/misc/goto?guid=4959004696627167132"><code>KT-16484</code></a> SimpleTypeImpl should not be created for error type: ErrorScope</li> <li><a href="/misc/goto?guid=4959004696742755398"><code>KT-16528</code></a> Error: Loop in supertypes when using Java classes with type parameters having raw interdependent supertypes</li> <li><a href="/misc/goto?guid=4959004696850400884"><code>KT-16532</code></a> Kotlin 1.1 RC - Android cross-inline synchronized won't run</li> <li><a href="/misc/goto?guid=4959004696966616317"><code>KT-16538</code></a> No smart cast when equals is present</li> <li><a href="/misc/goto?guid=4959004697088210854"><code>KT-16555</code></a> VerifyError: Bad type on operand stack</li> <li><a href="/misc/goto?guid=4959004697201780402"><code>KT-16572</code></a> Add links to Mozilla Developer Network to kdocs of classes that we generate from IDL</li> <li><a href="/misc/goto?guid=4959004697319154289"><code>KT-16627</code></a> Do not make private members open in all-open plugin</li> <li><a href="/misc/goto?guid=4959004697424208559"><code>KT-16699</code></a> Script resolving doesn't work with custom templates located in an external jar</li> <li><a href="/misc/goto?guid=4959004697547412993"><code>KT-16713</code></a> Insufficient maximum stack size</li> <li><a href="/misc/goto?guid=4959004697672453091"><code>KT-16720</code></a> ClassCastException during compilation</li> <li><a href="/misc/goto?guid=4959004697798667385"><code>KT-16732</code></a> Type 'java/lang/Number' (current frame, stack[0]) is not assignable to 'java/lang/Character</li> <li><a href="/misc/goto?guid=4959004697914361006"><code>KT-16782</code></a> Enum entry is incorrectly forbidden on LHS of '::' with language version 1.0</li> <li><a href="/misc/goto?guid=4959004698029394315"><code>KT-16812</code></a> import in .kts file does not works</li> <li><a href="/misc/goto?guid=4959004698162221597"><code>KT-16815</code></a> Assertion error from compiler: unexpected classifier: class DeserializedTypeAliasDescriptor</li> <li><a href="/misc/goto?guid=4959004698277246528"><code>KT-16927</code></a> Using <code>KotlinJsr223JvmLocalScriptEngineFactory</code> causes multiple warnings</li> <li><a href="/misc/goto?guid=4959004698396529481"><code>KT-16929</code></a> <code>VerifyError</code> when using bound method reference on generic property</li> <li><a href="/misc/goto?guid=4959004698523610715"><code>KT-16931</code></a> Compiler cannot see inner class when for outer class exist folder with same name</li> <li><a href="/misc/goto?guid=4959004698640871723"><code>KT-16956</code></a> Prohibit using function calls inside default parameter values of annotations</li> <li><a href="/misc/goto?guid=4959004698764657000"><code>KT-16968</code></a> AssertionError: Cannot load extensions/common.xml from kotlin-compiler.jar after update to IDEA 171</li> <li><a href="/misc/goto?guid=4959004698880667931"><code>KT-17001</code></a> Overload ambiguity between header and impl top level declarations</li> <li><a href="/misc/goto?guid=4959004698982805226"><code>KT-17005</code></a> Impossible to provide impl with typealias due to platform types in signature</li> <li><a href="/misc/goto?guid=4959004699095105836"><code>KT-17027</code></a> Allow impl declarations to have non-stable (and thus potentially different) parameter names</li> <li><a href="/misc/goto?guid=4959004699213736993"><code>KT-17083</code></a> Disallow using named arguments for members of header classes</li> </ul> <h2>下载</h2> <ul> <li><a href="/misc/goto?guid=4959004699333360863" rel="nofollow"><strong>kotlin-compiler-1.1.2-eap-44.zip</strong></a></li> <li><a href="/misc/goto?guid=4959004699442151703" rel="nofollow"><strong>Source code</strong> (zip)</a></li> <li><a href="/misc/goto?guid=4959004699563468927" rel="nofollow"><strong>Source code</strong> (tar.gz)</a></li> </ul> <p>本站原创,转载时保留以下信息:<br /> 本文转自:深度开源(open-open.com)<br /> 原文地址:<a href="http://www.open-open.com/news/view/2a875f4f">http://www.open-open.com/news/view/2a875f4f</a></p>