< prev index next >

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

Print this page

        

*** 2162,2176 **** # 0: file name, 1: string (expected constant pool entry type), 2: number (constant pool index) compiler.misc.bad.const.pool.entry=\ bad constant pool entry in {0}\n\ expected {1} at index {2} - # 0: file name, 1: number (constant pool index), 2: number (constant pool size) - compiler.misc.bad.const.pool.index=\ - bad constant pool index in {0}\n\ - index {1} is not within pool size {2}. - # 0: file name, 1: message segment compiler.misc.bad.class.file.header=\ bad class file: {0}\n\ {1}\n\ Please remove or make sure it appears in the correct subdirectory of the classpath. --- 2162,2171 ----
*** 3351,3360 **** --- 3346,3426 ---- unexpected statement in case, expected is an expression, a block or a throw statement compiler.err.switch.mixing.case.types=\ different case kinds used in the switch + + ### + # constant folding errors and warnings + + # 0: type + compiler.err.method.handle.not.suitable.indy=\ + the method handle provided, with type: {0}\n\ + cannot specify a bootstrap method + + compiler.err.initializer.must.be.constant=\ + initializer must be constant + + compiler.err.intrinsics.ldc.must.have.constant.arg=\ + argument to ldc() must be a constant + + compiler.err.intrinsics.indy.must.have.constant.arg=\ + argument to invokedynamic() must be a constant + + compiler.err.invocation.name.cannot.be.empty=\ + invocation name cannot be an empty string + + compiler.err.wrong.number.of.dynamic.args.indy=\ + wrong number of dynamic arguments for invokedynamic() + + compiler.err.type.mismatch.dynamic.arg=\ + type mismatch between dynamic argument and provided method type at invokedynamic() + + # 0: string, 1: string, 2: string + compiler.err.reflective.error=\ + error in reflective call\n\ + while trying to invoke method \"{0}\" of class \"{1}\"\n\ + with error message: \"{2}\" + + # 0: type, 1: string + compiler.err.bad.method.type.shape=\ + shape of method type: {0} does not match to reference kind: {1} + + # 0: type + compiler.err.bad.method.type.shape.arg.with.type.void=\ + shape of method type: {0} is incorrect, no argument can have type void + + # 0: symbol + compiler.warn.class.not.found=\ + could not find class file for class: {0} + + # 0: name, 1: string, 2: symbol + compiler.warn.member.not.found.at.class=\ + could not find member \"{0}\" at {1} {2} + + # 0: symbol + compiler.warn.incorrect.staticness.for.symbol=\ + incorrect static-ness for symbol: {0} + + # 0: symbol, 1: symbol kind, 2: symbol kind + compiler.warn.unexpected.kind.for.symbol=\ + unexpected kind for symbol: {0}\n\ + expected: {1}\n\ + found: {2} + + # 0: symbol, 1: number + compiler.warn.incorrect.name.for.method=\ + incorrect name or reference kind for method: {0}, with reference kind: {1} + + # 0: symbol + compiler.warn.interface.owner.expected.for.symbol=\ + interface owner expected for symbol: {0} + + # 0: symbol + compiler.warn.non.interface.owner.expected.for.symbol=\ + non interface owner expected for symbol : {0} + ############################################ # messages previouly at javac.properties compiler.err.empty.A.argument=\ -A requires an argument; use ''-Akey'' or ''-Akey=value''
< prev index next >