--- old/src/java.base/share/classes/java/lang/reflect/Constructor.java 2019-05-09 10:55:58.471052450 -0400 +++ new/src/java.base/share/classes/java/lang/reflect/Constructor.java 2019-05-09 10:55:58.107050645 -0400 @@ -182,7 +182,7 @@ if (flag) { if (clazz.isValue()) { throw new InaccessibleObjectException( - "Unable to make a value class constructor \"" + this + "\" accessible"); + "Unable to make an inline class constructor \"" + this + "\" accessible"); } checkCanSetAccessible(Reflection.getCallerClass()); } @@ -485,7 +485,7 @@ { if (clazz.isValue()) { throw new IllegalAccessException( - "cannot create new instance of value class " + clazz.getName()); + "cannot create new instance of an inline class " + clazz.getName()); } Class caller = override ? null : Reflection.getCallerClass(); return newInstanceWithCaller(initargs, !override, caller);