現代化的JVM語言 Kotlin?v1.1.2-eap-44 發布

jopen 7年前發布 | 10K 次閱讀 Kotlin Java

 

    2010年,長達是十年之久的Java開發讓JetBrains的工程師認為老舊的Java語言已經嚴重阻礙了生產力。他們認為是時候開發一款現代化的JVM語言了,這也是因為他們有足夠的資源和專家。本身做各種IDEs起家的JetBrains就開始著手新工具的開發——一個編程語言。

     Kotlin可以通過versa調用Java方法,源碼可在同一項目中混合使用,甚至生成的.class文件完全兼容Java工具。JetBrains內部現在已經有一個超過20個開發人員的團隊使用Kotlin開發。 目前已經有大量的開發人員使用Kotlin開發web服務后端和Android應用。

更新日志

  • KT-3805 Report error on double constants out of range
  • KT-6014 Wrong ABSTRACT_MEMBER_NOT_IMPLEMENTED for toString implemented by delegation
  • KT-8689 NoSuchMethodError on local functions inside inlined lambda with variables captured from outer context
  • KT-8959 Missing diagnostic when trying to call inner class constructor qualificated with outer class name
  • KT-11010 NDFDE for local object with type parameters
  • KT-11314 Abstract generic class with Array<Array> parameter compiles fine but fails at runtime with "Bad type on operand stack" VerifyError
  • KT-12477 Do not report 'const' inapplicability on property of error type
  • KT-12839 Two null checks are generated when manually null checking platform type
  • KT-12881 Descriptor wasn't found for declaration TYPE_PARAMETER
  • KT-13342 Unqualified super call should not resolve to a method of supertype overriden in another supertype
  • KT-14058 Unexpected error MISSING_DEPENDENCY_CLASS
  • KT-14236 Allow to use emptyArray in annotation
  • KT-14536 IllegalStateException: Type parameter T not found for lazy class Companion at LazyDeclarationResolver visitTypeParameter
  • KT-14565 Cannot pop operand off empty stack when compiling enum class
  • KT-14566 Make kotlin.jvm.internal.Ref$...Ref classes serializable
  • KT-14567 VerifyError: Bad type on operand stack (generics with operator methods)
  • KT-14607 Incorrect class name "ava/lang/Void from AsyncTask extension function
  • KT-14811 Unecessary checkcast generated in parameterized functions.
  • KT-14865 Throwable exception at KotlinParser parseLambdaExpression on typing { inside a string inside a lambda
  • KT-14963 unnecessary checkcast java/lang/Object
  • KT-15105 Comparing Chars in a Pair results in ClassCastException
  • KT-15109 Subclass from a type alias with named parameter in constructor will produce compiler exception
  • KT-15192 Compiler crashes on certain companion objects: "Error generating constructors of class Companion with kind IMPLEMENTATION"
  • KT-15230 Multiplatform: impl member with generic type is not matched to header class correctly
  • KT-15382 Merge light-analysis tests into black box codegen tests
  • KT-15424 javac crash when calling Kotlin function having generic varargs with default and @JvmOverloads
  • KT-15516 Compiler error when passing suspending extension-functions as parameter and casting stuff to Any
  • KT-15521 Header classes shadow their implementations in platform specific project
  • KT-15574 Can't instantiate Array through Type Alias
  • KT-15594 java.lang.VerifyError when referencing normal getter in @JvmStatic getters inside an object
  • KT-15742 Update to Idea 171
  • KT-15759 tailrec suspend function fails to compile
  • KT-15802 Java constant referenced using subclass is not considered a constant expression
  • KT-15862 Inline generic functions can unexpectedly box primitives
  • KT-15871 Unnecessary boxing for equality operator on inlined primitive values
  • KT-15872 Constant folding is mistakenly triggered for user function
  • KT-15901 Unstable smart cast target after type check
  • KT-15946 Kotlin-JPA plugin support for @Embeddable
  • KT-15951 Callable reference to class constructor from object is not resolved
  • KT-15993 Property annotations are stored in private fields and killed by obfuscators
  • KT-15997 Reified generics don't work properly with crossinline functions
  • KT-16077 Redundant private getter for private var in a class within a JvmMultifileClass annotated file
  • KT-16113 Support destructuring parameters of suspend lambda with suspend componentX
  • KT-16194 Code with unnecessary safe call contains redundant boxing/unboxing for primitive values
  • KT-16232 Prohibit objects inside inner classes
  • KT-16233 Prohibit inner sealed classes
  • KT-16245 Redundant null-check generated for a cast of already non-nullable value
  • KT-16250 Import methods from typealias to object throws compiler exception "Should be class or package: typealias"
  • KT-16252 IDL2K: Add ItemArrayLike interface implementation to collection-like classes
  • KT-16272 Missing deprecation and SinceKotlin-related diagnostic for variable as function call
  • KT-16278 Public member method can't be used for callable reference because of private static with the same name
  • KT-16372 'mod is deprecated' warning should not be shown when language version is 1.0
  • KT-16484 SimpleTypeImpl should not be created for error type: ErrorScope
  • KT-16528 Error: Loop in supertypes when using Java classes with type parameters having raw interdependent supertypes
  • KT-16532 Kotlin 1.1 RC - Android cross-inline synchronized won't run
  • KT-16538 No smart cast when equals is present
  • KT-16555 VerifyError: Bad type on operand stack
  • KT-16572 Add links to Mozilla Developer Network to kdocs of classes that we generate from IDL
  • KT-16627 Do not make private members open in all-open plugin
  • KT-16699 Script resolving doesn't work with custom templates located in an external jar
  • KT-16713 Insufficient maximum stack size
  • KT-16720 ClassCastException during compilation
  • KT-16732 Type 'java/lang/Number' (current frame, stack[0]) is not assignable to 'java/lang/Character
  • KT-16782 Enum entry is incorrectly forbidden on LHS of '::' with language version 1.0
  • KT-16812 import in .kts file does not works
  • KT-16815 Assertion error from compiler: unexpected classifier: class DeserializedTypeAliasDescriptor
  • KT-16927 Using KotlinJsr223JvmLocalScriptEngineFactory causes multiple warnings
  • KT-16929 VerifyError when using bound method reference on generic property
  • KT-16931 Compiler cannot see inner class when for outer class exist folder with same name
  • KT-16956 Prohibit using function calls inside default parameter values of annotations
  • KT-16968 AssertionError: Cannot load extensions/common.xml from kotlin-compiler.jar after update to IDEA 171
  • KT-17001 Overload ambiguity between header and impl top level declarations
  • KT-17005 Impossible to provide impl with typealias due to platform types in signature
  • KT-17027 Allow impl declarations to have non-stable (and thus potentially different) parameter names
  • KT-17083 Disallow using named arguments for members of header classes

下載

本站原創,轉載時保留以下信息:
本文轉自:深度開源(open-open.com)
原文地址:http://www.baiduhome.net/news/view/2a875f4f

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!