jdk/src/java.base/share/classes/java/lang
Goetz Lindenmaier d8c6516c92 8218628: Add detailed message to NullPointerException describing what is null
This is the implementation of JEP 358: Helpful NullPointerExceptions.

Reviewed-by: coleenp, clanger, rschmelter, rriggs, forax, mr
2019-10-14 11:36:17 +02:00
..
annotation 8229997: Apply java.io.Serial annotations in java.base 2019-08-29 16:31:34 -07:00
constant 8229785: MethodType::fromMethodDescriptorString should require security permission if loader is null 2019-09-10 10:35:52 -07:00
doc-files 8220249: fix headings in java.compiler 2019-03-20 15:35:26 -07:00
invoke 8231202: Suppress warnings on non-serializable non-transient instance fields in serializable classes 2019-10-09 10:17:50 -07:00
module 8229997: Apply java.io.Serial annotations in java.base 2019-08-29 16:31:34 -07:00
ref 8231186: Replace html tag <code>foo</code> with javadoc tag {@code foo} in java.base 2019-09-24 09:43:43 +01:00
reflect 8231202: Suppress warnings on non-serializable non-transient instance fields in serializable classes 2019-10-09 10:17:50 -07:00
AbstractMethodError.java 8231186: Replace html tag <code>foo</code> with javadoc tag {@code foo} in java.base 2019-09-24 09:43:43 +01:00
AbstractStringBuilder.java 8224986: (str) optimize StringBuilder.append(CharSequence, int, int) for String arguments 2019-05-31 12:20:21 +02:00
Appendable.java
ApplicationShutdownHooks.java
ArithmeticException.java 8229997: Apply java.io.Serial annotations in java.base 2019-08-29 16:31:34 -07:00
ArrayIndexOutOfBoundsException.java 8229997: Apply java.io.Serial annotations in java.base 2019-08-29 16:31:34 -07:00
ArrayStoreException.java 8231186: Replace html tag <code>foo</code> with javadoc tag {@code foo} in java.base 2019-09-24 09:43:43 +01:00
AssertionError.java 8231186: Replace html tag <code>foo</code> with javadoc tag {@code foo} in java.base 2019-09-24 09:43:43 +01:00
AssertionStatusDirectives.java
AutoCloseable.java
Boolean.java 8229997: Apply java.io.Serial annotations in java.base 2019-08-29 16:31:34 -07:00
BootstrapMethodError.java 8229997: Apply java.io.Serial annotations in java.base 2019-08-29 16:31:34 -07:00
Byte.java 8229997: Apply java.io.Serial annotations in java.base 2019-08-29 16:31:34 -07:00
Character.java 8229831: Upgrade Character.isUnicodeIdentifierStart/Part() methods to the latest standard 2019-09-05 17:38:54 -07:00
CharacterData.java 8213754: PPC64: Add Intrinsics for isDigit/isLowerCase/isUpperCase/isWhitespace 2018-12-11 20:31:18 -05:00
CharacterName.java
CharSequence.java
Class.java 8230648: Replace @exception tag with @throws in java.base 2019-09-20 11:07:52 +01:00
ClassCastException.java 8231186: Replace html tag <code>foo</code> with javadoc tag {@code foo} in java.base 2019-09-24 09:43:43 +01:00
ClassCircularityError.java 8229997: Apply java.io.Serial annotations in java.base 2019-08-29 16:31:34 -07:00
ClassFormatError.java 8231186: Replace html tag <code>foo</code> with javadoc tag {@code foo} in java.base 2019-09-24 09:43:43 +01:00
ClassLoader.java 8231584: Deadlock with ClassLoader.findLibrary and System.loadLibrary call 2019-10-11 14:49:05 -07:00
ClassNotFoundException.java 8231186: Replace html tag <code>foo</code> with javadoc tag {@code foo} in java.base 2019-09-24 09:43:43 +01:00
ClassValue.java
Cloneable.java 8231186: Replace html tag <code>foo</code> with javadoc tag {@code foo} in java.base 2019-09-24 09:43:43 +01:00
CloneNotSupportedException.java 8231186: Replace html tag <code>foo</code> with javadoc tag {@code foo} in java.base 2019-09-24 09:43:43 +01:00
Comparable.java
Compiler.java
ConditionalSpecialCasing.java 8231186: Replace html tag <code>foo</code> with javadoc tag {@code foo} in java.base 2019-09-24 09:43:43 +01:00
Deprecated.java
Double.java 8229997: Apply java.io.Serial annotations in java.base 2019-08-29 16:31:34 -07:00
Enum.java 8229997: Apply java.io.Serial annotations in java.base 2019-08-29 16:31:34 -07:00
EnumConstantNotPresentException.java 8229997: Apply java.io.Serial annotations in java.base 2019-08-29 16:31:34 -07:00
Error.java 8229997: Apply java.io.Serial annotations in java.base 2019-08-29 16:31:34 -07:00
Exception.java 8229997: Apply java.io.Serial annotations in java.base 2019-08-29 16:31:34 -07:00
ExceptionInInitializerError.java 8231186: Replace html tag <code>foo</code> with javadoc tag {@code foo} in java.base 2019-09-24 09:43:43 +01:00
FdLibm.java
Float.java 8229997: Apply java.io.Serial annotations in java.base 2019-08-29 16:31:34 -07:00
FunctionalInterface.java 8224175: Fix inconsistencies in @jls and @jvms tags 2019-05-20 17:29:44 -07:00
IllegalAccessError.java 8231186: Replace html tag <code>foo</code> with javadoc tag {@code foo} in java.base 2019-09-24 09:43:43 +01:00
IllegalAccessException.java 8231186: Replace html tag <code>foo</code> with javadoc tag {@code foo} in java.base 2019-09-24 09:43:43 +01:00
IllegalArgumentException.java 8231186: Replace html tag <code>foo</code> with javadoc tag {@code foo} in java.base 2019-09-24 09:43:43 +01:00
IllegalCallerException.java 8229997: Apply java.io.Serial annotations in java.base 2019-08-29 16:31:34 -07:00
IllegalMonitorStateException.java 8231186: Replace html tag <code>foo</code> with javadoc tag {@code foo} in java.base 2019-09-24 09:43:43 +01:00
IllegalStateException.java 8231186: Replace html tag <code>foo</code> with javadoc tag {@code foo} in java.base 2019-09-24 09:43:43 +01:00
IllegalThreadStateException.java 8231186: Replace html tag <code>foo</code> with javadoc tag {@code foo} in java.base 2019-09-24 09:43:43 +01:00
IncompatibleClassChangeError.java 8231186: Replace html tag <code>foo</code> with javadoc tag {@code foo} in java.base 2019-09-24 09:43:43 +01:00
IndexOutOfBoundsException.java 8229997: Apply java.io.Serial annotations in java.base 2019-08-29 16:31:34 -07:00
InheritableThreadLocal.java 8230723: Remove default constructors from java.lang and java.io 2019-09-09 10:13:42 -07:00
InstantiationError.java 8231186: Replace html tag <code>foo</code> with javadoc tag {@code foo} in java.base 2019-09-24 09:43:43 +01:00
InstantiationException.java 8229997: Apply java.io.Serial annotations in java.base 2019-08-29 16:31:34 -07:00
Integer.java 8230648: Replace @exception tag with @throws in java.base 2019-09-20 11:07:52 +01:00
InternalError.java 8231186: Replace html tag <code>foo</code> with javadoc tag {@code foo} in java.base 2019-09-24 09:43:43 +01:00
InterruptedException.java 8231186: Replace html tag <code>foo</code> with javadoc tag {@code foo} in java.base 2019-09-24 09:43:43 +01:00
Iterable.java
LayerInstantiationException.java 8229997: Apply java.io.Serial annotations in java.base 2019-08-29 16:31:34 -07:00
LinkageError.java 8229997: Apply java.io.Serial annotations in java.base 2019-08-29 16:31:34 -07:00
LiveStackFrame.java 8230723: Remove default constructors from java.lang and java.io 2019-09-09 10:13:42 -07:00
LiveStackFrameInfo.java
Long.java 8229997: Apply java.io.Serial annotations in java.base 2019-08-29 16:31:34 -07:00
Math.java 8226721: Missing intrinsics for Math.ceil, floor, rint 2019-10-01 11:43:10 +02:00
Module.java 8213480: update internal ASM version to 7.0 2018-11-13 23:33:17 -05:00
ModuleLayer.java 8220249: fix headings in java.compiler 2019-03-20 15:35:26 -07:00
NamedPackage.java
NegativeArraySizeException.java 8231186: Replace html tag <code>foo</code> with javadoc tag {@code foo} in java.base 2019-09-24 09:43:43 +01:00
NoClassDefFoundError.java 8231186: Replace html tag <code>foo</code> with javadoc tag {@code foo} in java.base 2019-09-24 09:43:43 +01:00
NoSuchFieldError.java 8231186: Replace html tag <code>foo</code> with javadoc tag {@code foo} in java.base 2019-09-24 09:43:43 +01:00
NoSuchFieldException.java 8229997: Apply java.io.Serial annotations in java.base 2019-08-29 16:31:34 -07:00
NoSuchMethodError.java 8231186: Replace html tag <code>foo</code> with javadoc tag {@code foo} in java.base 2019-09-24 09:43:43 +01:00
NoSuchMethodException.java 8231186: Replace html tag <code>foo</code> with javadoc tag {@code foo} in java.base 2019-09-24 09:43:43 +01:00
NullPointerException.java 8218628: Add detailed message to NullPointerException describing what is null 2019-10-14 11:36:17 +02:00
Number.java 8229997: Apply java.io.Serial annotations in java.base 2019-08-29 16:31:34 -07:00
NumberFormatException.java 8231186: Replace html tag <code>foo</code> with javadoc tag {@code foo} in java.base 2019-09-24 09:43:43 +01:00
Object.java 8218022: Repeated words typos in java.base 2019-01-30 00:24:32 +00:00
OutOfMemoryError.java 8229997: Apply java.io.Serial annotations in java.base 2019-08-29 16:31:34 -07:00
Override.java
package-info.java
Package.java 8230648: Replace @exception tag with @throws in java.base 2019-09-20 11:07:52 +01:00
Process.java 8220684: Process.waitFor(long, TimeUnit) can return false for a process that exited within the timeout 2019-03-16 15:05:21 -07:00
ProcessBuilder.java 8220237: ProcessBuilder API documentation typo 2019-03-12 12:48:03 -04:00
ProcessHandle.java
ProcessHandleImpl.java 8230648: Replace @exception tag with @throws in java.base 2019-09-20 11:07:52 +01:00
PublicMethods.java
Readable.java
ReflectiveOperationException.java 8229997: Apply java.io.Serial annotations in java.base 2019-08-29 16:31:34 -07:00
Runnable.java 8231186: Replace html tag <code>foo</code> with javadoc tag {@code foo} in java.base 2019-09-24 09:43:43 +01:00
Runtime.java 8231584: Deadlock with ClassLoader.findLibrary and System.loadLibrary call 2019-10-11 14:49:05 -07:00
RuntimeException.java 8229997: Apply java.io.Serial annotations in java.base 2019-08-29 16:31:34 -07:00
RuntimePermission.java 8231186: Replace html tag <code>foo</code> with javadoc tag {@code foo} in java.base 2019-09-24 09:43:43 +01:00
SafeVarargs.java
SecurityException.java 8229997: Apply java.io.Serial annotations in java.base 2019-08-29 16:31:34 -07:00
SecurityManager.java 8231186: Replace html tag <code>foo</code> with javadoc tag {@code foo} in java.base 2019-09-24 09:43:43 +01:00
Short.java 8229997: Apply java.io.Serial annotations in java.base 2019-08-29 16:31:34 -07:00
Shutdown.java
StackFrameInfo.java 8193325: StackFrameInfo::getByteCodeIndex returns wrong value if bci > 32767 2019-08-15 13:41:30 -07:00
StackOverflowError.java 8231186: Replace html tag <code>foo</code> with javadoc tag {@code foo} in java.base 2019-09-24 09:43:43 +01:00
StackStreamFactory.java
StackTraceElement.java 8229997: Apply java.io.Serial annotations in java.base 2019-08-29 16:31:34 -07:00
StackWalker.java 8211876: Broken links in java.base files (ClassLoader.html#name) 2018-10-22 13:31:42 -07:00
StrictMath.java 8230074: Improve specification for {Math, StrictMath}.negateExact 2019-08-28 22:30:26 -07:00
String.java 8230648: Replace @exception tag with @throws in java.base 2019-09-20 11:07:52 +01:00
StringBuffer.java 8229997: Apply java.io.Serial annotations in java.base 2019-08-29 16:31:34 -07:00
StringBuilder.java 8229997: Apply java.io.Serial annotations in java.base 2019-08-29 16:31:34 -07:00
StringCoding.java 8231717: Improve performance of charset decoding when charset is always compactable 2019-10-10 10:28:55 +01:00
StringConcatHelper.java 8222852: Reduce String concat combinator tree shapes by folding constants into prependers 2019-04-30 12:54:07 +02:00
StringIndexOutOfBoundsException.java 8229997: Apply java.io.Serial annotations in java.base 2019-08-29 16:31:34 -07:00
StringLatin1.java 8229283: StringLatin1 should consistently use CharacterDataLatin1.instance when applicable 2019-08-09 13:58:48 +02:00
StringUTF16.java 8221307: String.substring() OOB exception on start index reports improper information 2019-08-16 11:35:17 -07:00
SuppressWarnings.java 8224175: Fix inconsistencies in @jls and @jvms tags 2019-05-20 17:29:44 -07:00
System.java 8231584: Deadlock with ClassLoader.findLibrary and System.loadLibrary call 2019-10-11 14:49:05 -07:00
Thread.java 8222518: Remove unnecessary caching of Parker object in java.lang.Thread 2019-04-26 00:57:03 -04:00
ThreadDeath.java 8230723: Remove default constructors from java.lang and java.io 2019-09-09 10:13:42 -07:00
ThreadGroup.java 8219197: ThreadGroup.enumerate() may return wrong value 2019-03-13 18:43:16 +00:00
ThreadLocal.java 8202788: Explicitly reclaim cached thread-local direct buffers at thread exit 2018-06-22 17:56:55 +02:00
Throwable.java 8231202: Suppress warnings on non-serializable non-transient instance fields in serializable classes 2019-10-09 10:17:50 -07:00
TypeNotPresentException.java 8229997: Apply java.io.Serial annotations in java.base 2019-08-29 16:31:34 -07:00
UnknownError.java 8231186: Replace html tag <code>foo</code> with javadoc tag {@code foo} in java.base 2019-09-24 09:43:43 +01:00
UnsatisfiedLinkError.java 8231186: Replace html tag <code>foo</code> with javadoc tag {@code foo} in java.base 2019-09-24 09:43:43 +01:00
UnsupportedClassVersionError.java 8231186: Replace html tag <code>foo</code> with javadoc tag {@code foo} in java.base 2019-09-24 09:43:43 +01:00
UnsupportedOperationException.java 8231186: Replace html tag <code>foo</code> with javadoc tag {@code foo} in java.base 2019-09-24 09:43:43 +01:00
VerifyError.java 8231186: Replace html tag <code>foo</code> with javadoc tag {@code foo} in java.base 2019-09-24 09:43:43 +01:00
VersionProps.java.template 8215281: Use String.isEmpty() when applicable in java.base 2018-12-13 15:31:05 +01:00
VirtualMachineError.java 8231186: Replace html tag <code>foo</code> with javadoc tag {@code foo} in java.base 2019-09-24 09:43:43 +01:00
Void.java
WeakPairMap.java