JDK-4030374 - Java Issue Tracker
Feb 5, 1997 ... ... code generation error in JDK 1.1.7B compiler. It appears that non ... calling any instance initialization method." Therefore, it is ...
Feb 5, 1997 ... ... code generation error in JDK 1.1.7B compiler. It appears that non ... calling any instance initialization method." Therefore, it is ...
A DESCRIPTION OF THE PROBLEM : Method NetworkInterface.getNetworkInterfaces() might throw java.lang.Error with error message "IP Helper Library GetIfTable function failed", if it is called at the same time as a new network interface shows up in Windows.
In the code example we have two classes, if use method reference for the first interface everything works. STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : run main of the following class: EXPECTED VERSUS ACTUAL BEHAVIOR : EXPECTED - 23 is printed twice.
It does look like issue, Calling a method declared type is the superclass but run-time type is the subclas, the java runtime will dispatch to the superclass method, instead of the subclass method as implied by the @Override notation.
If a method calling AClass.giveMeANumber() was expecting a Number object, I see no objection to giving it an Integer object.Actually, the parseObject method has no way to produce better error messages than "Parse failed". Maybe I misunderstand the problem.
JVM reports EXCEPTION_FLT_STACK_CHECK when calling a Java method through JNI.XX:CompileCommand=exclude,com/documentum/fc/tracing/impl/Tracing,isEnabled. Full problem description: Here's what -XX:+PrintCompilation shows just prior to the error.