< prev index next >

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

Print this page

        

@@ -1,7 +1,7 @@
 #
-# Copyright (c) 1999, 2019, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 1999, 2018, Oracle and/or its affiliates. All rights reserved.
 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 #
 # This code is free software; you can redistribute it and/or modify it
 # under the terms of the GNU General Public License version 2 only, as
 # published by the Free Software Foundation.  Oracle designates this

@@ -1049,14 +1049,10 @@
 
 # 0: string
 compiler.err.proc.cant.find.class=\
     Could not find class file for ''{0}''.
 
-# 0: string
-compiler.err.proc.cant.load.class=\
-    Could not load processor class file due to ''{0}''.
-
 # Print a client-generated error message; assumed to be localized, no translation required
 # 0: string
 compiler.err.proc.messager=\
     {0}
 

@@ -2166,15 +2162,10 @@
 # 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.

@@ -3355,10 +3346,81 @@
     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 >