< prev index next >

src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties

Print this page
*** 261,10 ***
--- 261,16 ---
  
  # 0: kind name, 1: symbol
  compiler.misc.incompatible.abstracts=\
      multiple non-overriding abstract methods found in {0} {1}
  
+ compiler.misc.value.interface.nonfunctional=\
+     since it is a value interface
+ 
+ compiler.misc.identity.interface.nonfunctional=\
+     since it is an identity interface
+ 
  compiler.err.bad.functional.intf.anno=\
      Unexpected @FunctionalInterface annotation
  
  # 0: message segment
  compiler.err.bad.functional.intf.anno.1=\

*** 688,11 ***
  # 0: symbol
  compiler.err.import.requires.canonical=\
      import requires canonical name for {0}
  
  compiler.err.improperly.formed.type.param.missing=\
!     improperly formed type, some parameters are missing
  
  compiler.err.improperly.formed.type.inner.raw.param=\
      improperly formed type, type arguments given on a raw type
  
  # 0: type, 1: type
--- 694,11 ---
  # 0: symbol
  compiler.err.import.requires.canonical=\
      import requires canonical name for {0}
  
  compiler.err.improperly.formed.type.param.missing=\
!     improperly formed type, some parameters are missing or misplaced
  
  compiler.err.improperly.formed.type.inner.raw.param=\
      improperly formed type, type arguments given on a raw type
  
  # 0: type, 1: type

*** 2568,10 ***
--- 2574,13 ---
      reference
  
  compiler.misc.type.req.exact=\
      class or interface without bounds
  
+ compiler.misc.type.req.identity=\
+     a type with identity
+ 
  # 0: type
  compiler.misc.type.parameter=\
      type parameter {0}
  
  #####

*** 3907,10 ***
--- 3916,83 ---
      (preview language features are only supported for release {1})
  
  compiler.err.preview.without.source.or.release=\
      --enable-preview must be used with either -source or --release
  
+ compiler.misc.feature.primitive.classes=\
+     primitive classes
+ 
+ compiler.misc.feature.value.classes=\
+     value classes
+ 
+ # 0: symbol
+ compiler.err.cyclic.primitive.class.membership=\
+     cyclic primitive class membership involving {0}
+ 
+ compiler.warn.get.class.compared.with.interface=\
+     return value of getClass() can never equal the class literal of an interface
+ 
+ # 0: name (of method)
+ compiler.err.value.class.may.not.override=\
+     value classes may not override the method {0} from Object
+ 
+ # 0: name (of method)
+ compiler.err.value.class.does.not.support=\
+     value classes do not support {0}
+ 
+ compiler.err.value.class.may.not.extend=\
+     inappropriate super class declaration for a value class
+ 
+ compiler.err.this.exposed.prematurely=\
+     value class instance should not be passed around before being fully initialized
+ 
+ # 0: type
+ compiler.err.generic.parameterization.with.primitive.class=\
+     Inferred type {0} involves generic parameterization by a primitive class
+ 
+ # 0: type, 1: type
+ compiler.err.value.type.has.identity.super.type=\
+     The identity type {1} cannot be a supertype of the value type {0}
+ 
+ # 0: type, 1: type
+ compiler.err.identity.type.has.value.super.type=\
+     The value type {1} cannot be a supertype of the identity type {0}
+ 
+ # 0: symbol, 1: type
+ compiler.err.concrete.supertype.for.value.class=\
+     The concrete class {1} is not allowed to be a super class of the value class {0} either directly or indirectly
+ 
+ # 0: symbol, 1: symbol, 2: type
+ compiler.err.super.method.cannot.be.synchronized=\
+     The method {0} in the super class {2} of the value class {1} is synchronized. This is disallowed
+ 
+ # 0: symbol, 1: symbol, 2: type
+ compiler.err.super.constructor.cannot.take.arguments=\
+     The super class {2} of the value class {1} defines a constructor {0} that takes arguments. This is disallowed
+ 
+ # 0: symbol, 1: symbol, 2: type
+ compiler.err.super.field.not.allowed=\
+     The super class {2} of the value class {1} defines an instance field {0}. This is disallowed
+ 
+ # 0: symbol, 1: symbol, 2: type
+ compiler.err.super.no.arg.constructor.must.be.empty=\
+     The super class {2} of the value class {1} defines a nonempty no-arg constructor {0}. This is disallowed
+ 
+ # 0: symbol, 1: type
+ compiler.err.super.class.declares.init.block=\
+     The super class {1} of the value class {0} declares one or more non-empty instance initializer blocks. This is disallowed.
+ 
+ # 0: symbol, 1: type
+ compiler.err.super.class.cannot.be.inner=\
+     The super class {1} of the value class {0} is an inner class. This is disallowed.
+ 
+ compiler.err.projection.cant.be.instantiated=\
+     Illegal attempt to instantiate a projection type
+ 
+ compiler.err.call.to.super.not.allowed.in.value.ctor=\
+     call to super not allowed in value class constructor
+ 
  # 0: kind name, 1: symbol
  compiler.warn.declared.using.preview=\
      {0} {1} is declared using a preview feature, which may be removed in a future release.
  
  compiler.warn.attempt.to.synchronize.on.instance.of.value.based.class=\
< prev index next >