< prev index next >

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

Print this page




 377     ''catch'' without ''try''
 378 
 379 # 0: kind name, 1: symbol
 380 compiler.err.clash.with.pkg.of.same.name=\
 381     {0} {1} clashes with package of same name
 382 
 383 compiler.err.class.not.allowed=\
 384     class, interface or enum declaration not allowed here
 385 
 386 compiler.err.const.expr.req=\
 387     constant expression required
 388 
 389 compiler.err.cont.outside.loop=\
 390     continue outside of loop
 391 
 392 # 0: symbol or type
 393 compiler.err.cyclic.inheritance=\
 394     cyclic inheritance involving {0}
 395 
 396 # 0: symbol




 397 compiler.err.cyclic.annotation.element=\
 398     type of element {0} is cyclic
 399 
 400 # 0: symbol
 401 compiler.err.call.to.super.not.allowed.in.enum.ctor=\
 402     call to super not allowed in enum constructor
 403 
 404 # 0: type
 405 compiler.err.no.superclass=\
 406     {0} has no superclass.
 407 
 408 # 0: symbol, 1: type, 2: symbol, 3: type, 4: type
 409 compiler.err.concrete.inheritance.conflict=\
 410     methods {0} from {1} and {2} from {3} are inherited with the same signature
 411 
 412 compiler.err.default.allowed.in.intf.annotation.member=\
 413     default value only allowed in an annotation type declaration
 414 
 415 # 0: symbol
 416 compiler.err.doesnt.exist=\


2867     static interface method invocations
2868 
2869 compiler.misc.feature.private.intf.methods=\
2870     private interface methods
2871 
2872 compiler.misc.feature.text.blocks=\
2873     text blocks
2874 
2875 compiler.misc.feature.multiple.case.labels=\
2876     multiple case labels
2877 
2878 compiler.misc.feature.switch.rules=\
2879     switch rules
2880 
2881 compiler.misc.feature.switch.expressions=\
2882     switch expressions
2883 
2884 compiler.misc.feature.var.syntax.in.implicit.lambda=\
2885     var syntax in implicit lambdas
2886 



2887 compiler.warn.underscore.as.identifier=\
2888     as of release 9, ''_'' is a keyword, and may not be used as an identifier
2889 
2890 compiler.err.underscore.as.identifier=\
2891     as of release 9, ''_'' is a keyword, and may not be used as an identifier
2892 
2893 compiler.err.underscore.as.identifier.in.lambda=\
2894     ''_'' used as an identifier\n\
2895     (use of ''_'' as an identifier is forbidden for lambda parameters)
2896 
2897 compiler.err.enum.as.identifier=\
2898     as of release 5, ''enum'' is a keyword, and may not be used as an identifier
2899 
2900 compiler.err.assert.as.identifier=\
2901     as of release 1.4, ''assert'' is a keyword, and may not be used as an identifier
2902 
2903 # TODO 308: make a better error message
2904 compiler.err.this.as.identifier=\
2905     as of release 8, ''this'' is allowed as the parameter name for the receiver type only\n\
2906     which has to be the first parameter, and cannot be a lambda parameter


3491 
3492 # 0: option name
3493 compiler.err.release.bootclasspath.conflict=\
3494     option {0} cannot be used together with --release
3495 
3496 # 0: string
3497 compiler.err.unsupported.release.version=\
3498     release version {0} not supported
3499 
3500 # 0: string
3501 compiler.err.file.not.found=\
3502     file not found: {0}
3503 
3504 # 0: string, 1: source
3505 compiler.err.preview.not.latest=\
3506     invalid source release {0} with --enable-preview\n\
3507     (preview language features are only supported for release {1})
3508 
3509 compiler.err.preview.without.source.or.release=\
3510     --enable-preview must be used with either -source or --release










































 377     ''catch'' without ''try''
 378 
 379 # 0: kind name, 1: symbol
 380 compiler.err.clash.with.pkg.of.same.name=\
 381     {0} {1} clashes with package of same name
 382 
 383 compiler.err.class.not.allowed=\
 384     class, interface or enum declaration not allowed here
 385 
 386 compiler.err.const.expr.req=\
 387     constant expression required
 388 
 389 compiler.err.cont.outside.loop=\
 390     continue outside of loop
 391 
 392 # 0: symbol or type
 393 compiler.err.cyclic.inheritance=\
 394     cyclic inheritance involving {0}
 395 
 396 # 0: symbol
 397 compiler.err.cyclic.value.type.membership=\
 398     cyclic inline type membership involving {0}
 399 
 400 # 0: symbol
 401 compiler.err.cyclic.annotation.element=\
 402     type of element {0} is cyclic
 403 
 404 # 0: symbol
 405 compiler.err.call.to.super.not.allowed.in.enum.ctor=\
 406     call to super not allowed in enum constructor
 407 
 408 # 0: type
 409 compiler.err.no.superclass=\
 410     {0} has no superclass.
 411 
 412 # 0: symbol, 1: type, 2: symbol, 3: type, 4: type
 413 compiler.err.concrete.inheritance.conflict=\
 414     methods {0} from {1} and {2} from {3} are inherited with the same signature
 415 
 416 compiler.err.default.allowed.in.intf.annotation.member=\
 417     default value only allowed in an annotation type declaration
 418 
 419 # 0: symbol
 420 compiler.err.doesnt.exist=\


2871     static interface method invocations
2872 
2873 compiler.misc.feature.private.intf.methods=\
2874     private interface methods
2875 
2876 compiler.misc.feature.text.blocks=\
2877     text blocks
2878 
2879 compiler.misc.feature.multiple.case.labels=\
2880     multiple case labels
2881 
2882 compiler.misc.feature.switch.rules=\
2883     switch rules
2884 
2885 compiler.misc.feature.switch.expressions=\
2886     switch expressions
2887 
2888 compiler.misc.feature.var.syntax.in.implicit.lambda=\
2889     var syntax in implicit lambdas
2890 
2891 compiler.misc.feature.inline.type=\
2892     inline type
2893 
2894 compiler.warn.underscore.as.identifier=\
2895     as of release 9, ''_'' is a keyword, and may not be used as an identifier
2896 
2897 compiler.err.underscore.as.identifier=\
2898     as of release 9, ''_'' is a keyword, and may not be used as an identifier
2899 
2900 compiler.err.underscore.as.identifier.in.lambda=\
2901     ''_'' used as an identifier\n\
2902     (use of ''_'' as an identifier is forbidden for lambda parameters)
2903 
2904 compiler.err.enum.as.identifier=\
2905     as of release 5, ''enum'' is a keyword, and may not be used as an identifier
2906 
2907 compiler.err.assert.as.identifier=\
2908     as of release 1.4, ''assert'' is a keyword, and may not be used as an identifier
2909 
2910 # TODO 308: make a better error message
2911 compiler.err.this.as.identifier=\
2912     as of release 8, ''this'' is allowed as the parameter name for the receiver type only\n\
2913     which has to be the first parameter, and cannot be a lambda parameter


3498 
3499 # 0: option name
3500 compiler.err.release.bootclasspath.conflict=\
3501     option {0} cannot be used together with --release
3502 
3503 # 0: string
3504 compiler.err.unsupported.release.version=\
3505     release version {0} not supported
3506 
3507 # 0: string
3508 compiler.err.file.not.found=\
3509     file not found: {0}
3510 
3511 # 0: string, 1: source
3512 compiler.err.preview.not.latest=\
3513     invalid source release {0} with --enable-preview\n\
3514     (preview language features are only supported for release {1})
3515 
3516 compiler.err.preview.without.source.or.release=\
3517     --enable-preview must be used with either -source or --release
3518 
3519 # 0: name (of method)
3520 compiler.err.value.does.not.support=\
3521     Inline types do not support {0}
3522 
3523 compiler.err.make.default.with.nonvalue=\
3524     Default value creation requires an inline type
3525 
3526 compiler.err.value.may.not.extend=\
3527     Inline type may not extend another inline type or class
3528 
3529 compiler.err.value.instance.field.expected.here=\
3530     withfield operator requires an instance field of an inline class here
3531 
3532 compiler.err.bad.value.based.anno=\
3533     Unexpected @ValueBased annotation
3534 
3535 # 0: type
3536 compiler.warn.suspicious.mix.of.null.with.value.based.class=\
3537     Suspicious mix of null with value based class {0}
3538 
3539 # 0: type
3540 compiler.warn.potential.null.pollution=\
3541     Potential null pollution from nullable type {0}
3542 
3543 compiler.err.with.field.operator.disallowed=\
3544     WithField operator is allowed only with -XDallowWithFieldOperator
3545 
3546 compiler.err.empty.value.not.yet=\
3547     Inline types with zero instance size are not supported yet
3548 
3549 compiler.err.this.exposed.prematurely=\
3550     Inine type instance should not be passed around before being fully initialized
3551 
3552 compiler.warn.this.exposed.prematurely=\
3553     value based type instance should not be passed around before being fully initialized
3554 
3555 # 0: type
3556 compiler.err.generic.parameterization.with.value.type=\
3557     Inferred type {0} involves generic parameterization by an inline type; This is allowed only with -XDallowGenericsOverValues
< prev index next >