Merge pull request #216 from spring-operator/polish-urls-remaining-master

URL Cleanup
This commit is contained in:
Andy Clement
2019-04-23 08:11:36 -07:00
committed by GitHub
7 changed files with 9 additions and 9 deletions

View File

@@ -24,7 +24,7 @@ import java.util.List;
// TODO does not yet support the new constant pool entry types that come with Java 7
// http://java.sun.com/docs/books/jvms/second_edition/html/ClassFile.doc.html
// https://java.sun.com/docs/books/jvms/second_edition/html/ClassFile.doc.html
/**
* Quickly checks the constant pool for class references, it skips everything else as fast as it can. The class
* references are then available for checking.

View File

@@ -26,7 +26,7 @@ import java.util.List;
// TODO try to recall why I created ConstantPoolChecker2, what was up with ConstantPoolChecker?
// http://java.sun.com/docs/books/jvms/second_edition/html/ClassFile.doc.html
// https://java.sun.com/docs/books/jvms/second_edition/html/ClassFile.doc.html
/**
* Enables us to check things quickly in the constant pool. This version accumulates the class references and the method
* references, for classes that start with 'j' (we want to catch: java/lang). It skips everything it can and the end

View File

@@ -28,7 +28,7 @@ import java.util.List;
* latter look like this 'java/lang/Foo.bar' (the descriptor for the method is not included). Interface methods are
* skipped.
*
* Useful reference: http://java.sun.com/docs/books/jvms/second_edition/html/ClassFile.doc.html
* Useful reference: https://java.sun.com/docs/books/jvms/second_edition/html/ClassFile.doc.html
*
* @author Andy Clement
* @since 0.7.3

View File

@@ -1795,7 +1795,7 @@ public class Utils implements Opcodes, Constants {
return true;
}
else {
// The 19 conversions, as per section 5.1.2 in: http://java.sun.com/docs/books/jls/third_edition/html/conversions.html
// The 19 conversions, as per section 5.1.2 in: https://java.sun.com/docs/books/jls/third_edition/html/conversions.html
if (sourceType == byte.class) {
if (targetType == short.class || targetType == int.class || targetType == long.class
|| targetType == float.class

View File

@@ -221,7 +221,7 @@ public class ReflectiveInterceptor {
// In jdk17u25 there is an extra frame inserted:
// "This also fixes a regression introduced in 7u25 in which
// getCallerClass(int) is now a Java method that adds an additional frame
// that wasn't taken into account." in http://permalink.gmane.org/gmane.comp.java.openjdk.jdk7u.devel/6573
// that wasn't taken into account." in https://permalink.gmane.org/gmane.comp.java.openjdk.jdk7u.devel/6573
Class<?> caller = sun.reflect.Reflection.getCallerClass(depth);
if (caller == ReflectiveInterceptor.class) {
// If this is true we have that extra frame on the stack