< prev index next >

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

Print this page
*** 2173,10 ***
--- 2173,23 ---
  
  # lint: serial
  compiler.warn.default.ineffective=\
      serialization-related default method from an interface will not be run by serialization for an implementing class
  
+ # lint: serial
+ compiler.warn.serializable.value.class.without.write.replace.1=\
+     serializable value class does not declare, or inherits, a writeReplace method
+ 
+ # lint: serial
+ compiler.warn.serializable.value.class.without.write.replace.2=\
+     serializable class does not declare, or inherits, a writeReplace method
+ 
+ # 0: string
+ # lint: serial
+ compiler.warn.ineffectual.serial.method.value.class=\
+     serialization-related method ''{0}'' is not effective in a value class
+ 
  # 0: symbol, 1: symbol, 2: symbol, 3: symbol
  # lint: overloads
  compiler.warn.potentially.ambiguous.overload=\
      {0} in {1} is potentially ambiguous with {2} in {3}
  

*** 2922,10 ***
--- 2935,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}
  
  #####

*** 4323,10 ***
--- 4339,24 ---
      (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.value.classes=\
+     value classes
+ 
+ # 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}
+ 
+ compiler.err.non.abstract.value.class.cant.be.sealed.or.non.sealed=\
+     ''sealed'' or ''non-sealed'' modifiers are only applicable to abstract value classes
+ 
+ # 0: symbol
+ compiler.err.strict.field.not.have.been.initialized.before.super=\
+     strict field {0} is not initialized before the supertype constructor has been called
+ 
  # 0: symbol
  compiler.err.deconstruction.pattern.only.records=\
      deconstruction patterns can only be applied to records, {0} is not a record
  
  compiler.err.deconstruction.pattern.var.not.allowed=\

*** 4354,5 ***
--- 4384,8 ---
  
  # 0: type
  compiler.err.enclosing.class.type.non.denotable=\
      enclosing class type: {0}\n\
      is non-denotable, try casting to a denotable type
+ 
+ compiler.warn.value.finalize=\
+     value classes should not have a finalizer method, as it is not invoked
< prev index next >