Results for “java function example code error site:bugs.java.com python”
bugs.java.com
Bug ID: JDK-8214976 Warn about uses of functions replaced for...
Example: a general-purpose function should not depend on VM initialization, should not use os::malloc, should not log using UL, should not need Thread::current to exist. It would be nice if these assumptions were documented and tested.
bugs.java.com
Bug ID: JDK-6294060 Use of substring() causes memory leak
It's an error in java.lang.String source code which is the same for all JDK distributions.I have created a more simple example class which demonstrates this behaviour very clearly. STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : See bug ID 4637640.