Java SE 6 Update 21 Bug Fixes

This page lists bug fixes in Java SE 6u21.

BugId Category Subcategory Description
6855215  hotspot compiler1 Calculation error (NaN) after about 1500 calculations
4360113  hotspot compiler2 Evict nmethods when code cache gets full
6614597  hotspot compiler2 Performance variability in jvm2007 xml.validation
6663854  hotspot compiler2 assert(n != __null,"Bad immediate dominator info.") in C2 with -Xcomp
6792161  hotspot compiler2 assert("No dead instructions after post-alloc")
6815692  hotspot compiler2 method handle code needs some cleanup (post-6655638)
6827605  hotspot compiler2 new String intrinsics may prevent EA scalar replacement
6829127  hotspot compiler2 Deoptimization Failure on Specjvm98 _227_mtrt with -XX:+DeoptimizeALot since Hs11 b01
6829192  hotspot compiler2 JSR 292 needs to support 64-bit x86
6849984  hotspot compiler2 Value methods for platform dependent math functions constant fold incorrectly
6854812  hotspot compiler2 6.0_14-b08 crashes with a SIGSEGV
6858164  hotspot compiler2 invokedynamic code needs some cleanup (post-6655638)
6862863  hotspot compiler2 C2 compiler fails in elide_copy()
6862956  hotspot compiler2 PhaseIdealLoop should have a CFG verification mode
6863023  hotspot compiler2 need non-perm oops in code cache for JSR 292
6865583  hotspot compiler2 Verbose CIPrintMethodCodes asserts when ldc an empty String
6866651  hotspot compiler2 Regression: simple int sum crashes jvm (build 1.6.0_14-b08 and 1.7.0-ea-b59)
6869822  hotspot compiler2 assert(Universe::narrow_oop_shift() == 0,"use unscaled narrow oop")
6873116  hotspot compiler2 Modify reexecute implementation to use pcDesc to record the reexecute bit
6873777  hotspot compiler2 FPU control word optimization still performed with SSE
6875866  hotspot compiler2 Intrinsic for String.indexOf() is broken on x86 with SSE4.2
6876276  hotspot compiler2 assert(!is_visited,"visit only once")
6877221  hotspot compiler2 Endless deoptimizations in OSR nmethod
6879362  hotspot compiler2 assert(!klass_is_exact(),"only non-exact klass")
6880034  hotspot compiler2 SIGBUS during deoptimisation at a safepoint on 64bit-SPARC
6880052  hotspot compiler2 SIGSEGV in GraphKit::null_check_common()
6880053  hotspot compiler2 assert(alloc_obj->as_CheckCastPP()->type() != TypeInstPtr::NOTNULL)
6880533  hotspot compiler2 test/compiler/ 6865031 / miss -XX:+IgnoreUnrecognizedVMOptions
6880574  hotspot compiler2 C2 assert in escape.cpp:445 on linux-amd64
6883468  hotspot compiler2 C2 compiler enters infinite loop running out of native heap. assertion in PhaseIterGVN::transform
6885584  hotspot compiler2 A particular class structure causes large allocation spike for jit
6886353  hotspot compiler2 For DeoptimizeALot, JTreg tests should "IgnoreUnrecognizedVMOptions on a product build
6889300  hotspot compiler2 assert(i != k || is_new || i->outcnt() > 0, "don't return dead nodes")
6889656  hotspot compiler2 assert(lo_lrg->lo_degree() || !lo_no_simplify,"Live range was lo-degree before coalesce; should simp
6889869  hotspot compiler2 assert(!Interpreter::bytecode_should_reexecute(code),"should not reexecute")
6890984  hotspot compiler2 Comparison of 2 arrays could cause VM crash.
6891750  hotspot compiler2 deopt blob kills values in O5
6892658  hotspot compiler2 C2 should optimize some stringbuilder patterns
6893081  hotspot compiler2 method handle & invokedynamic code needs additional cleanup (post 6815692 , 6858164 )
6893268  hotspot compiler2 additional dynamic language related optimizations in C2
6893554  hotspot compiler2 SPECjvm2008 mpegaudio fails with SecurityException
6893701  hotspot compiler2 compiler/ 6877254 / fails because it combines -XX:+UseConcMarkSweepGC with other GC
6894206  hotspot compiler2 JVM needs a way to traverse method handle structures
6894778  hotspot compiler2 Loop Predication for Loop Optimizer in C2
6894807  hotspot compiler2 No ClassCastException for HashAttributeSet constructors if run with -Xcomp
6896084  hotspot compiler2 VM does not reserve protected page below heap for compressed oops implicit null checks
6896727  hotspot compiler2 nsk/logging/LoggingPermission/LoggingPermission/logperm002 fails with G1, EscapeAnalisys w/o COOPs
6901572  hotspot compiler2 JVM 1.6.16 crash on loops: assert(has_node(i),"")
6902000  hotspot compiler2 use ShouldNotReachHere() for btos/ctos/stos in TemplateInterpreterGenerator::set_short_entry_points
6902036  hotspot compiler2 WorldWind asserts on escape.cpp:1153: assert(addr->is_AddP(),"AddP required")
6902182  hotspot compiler2 Starting with jdwp agent should not incur performance penalty
6904191  hotspot compiler2 OptimizeStringConcat should be product instead of experimental
6909839  hotspot compiler2 missing unsigned compare cases for some cmoves in
6910484  hotspot compiler2 incorrect integer optimization (loosing and op-r in a given example)
6910605  hotspot compiler2 C2: NullPointerException/ClassCaseException is thrown when C2 with DeoptimizeALot is used
6911204  hotspot compiler2 generated adapters with large signatures can fill up the code cache
6912062  hotspot compiler2 disassembler plugin needs to produce symbolic information in product mode
6912063  hotspot compiler2 inlining parameters need to be adjusted for some uses of the JVM
6912065  hotspot compiler2 final fields in objects need to support inlining optimizations for JSR 292
6912517  hotspot compiler2 JIT bug compiles out (and stops running) code that needs to be run. Causes NPE.
6913075  hotspot compiler2 EA identifies escape state incorrectly after 6895383  fix
6914206  hotspot compiler2 change way of permission checking for generated MethodHandle adapters
6914300  hotspot compiler2 ciEnv should export all well known classes
6914622  hotspot compiler2 Print values of all flags for product VM
6915110  hotspot compiler2 IfNode::up_one_dom moves beyond RootNode bug in src/share/vm/opto/ifnode.cpp
6916644  hotspot compiler2 C2 compiler crash on x86
6919886  hotspot compiler2 Sweep CodeCache more aggressively to reduce its usage for CompileTheWorld
6920293  hotspot compiler2 OptimizeStringConcat causing core dumps
6920346  hotspot compiler2 G1: "must avoid base_memory and AliasIdxTop"
6921352  hotspot compiler2 JSR 292 needs its own deopt handler (new CR for 6917766 )
6921799  hotspot compiler2 JSR 292 call sites should not be fixed-up
6921969  hotspot compiler2 optimize 64 long multiply for case with high bits zero
6921992  hotspot compiler2 failure in verify scheduling after 6792161 
6923002  hotspot compiler2 assert(false,"this call site should not be polymorphic")
6923043  hotspot compiler2 failed nightly tests which use -XX:+PrintCompilation -Xcomp -XX:CompileOnly
6924097  hotspot compiler2 assert((_type == Type::MEMORY) == (_adr_type != 0),"adr_type for memory phis only")
6925249  hotspot compiler2 assert(last_sp < (intptr_t*) interpreter_frame_monitor_begin(),"bad tos")
6926697  hotspot compiler2 "optimized" VM build failed: The type "AdapterHandlerTableIterator" is incomplete.
6926782  hotspot compiler2 CodeBuffer size too small after 6921352 
6927049  hotspot compiler2 assert(is_Loop(),"invalid node class")
6928839  hotspot compiler2 JSR 292 typo in x86 _adapter_check_cast
6930035  hotspot compiler2 C2 type system incorrectly handles case j.l.Object->meet(constant AryPtr)
6930043  hotspot compiler2 C2: SIGSEGV in javasoft.sqe.tests.lang.arr017.arr01702.arr01702.loop_forw(II)I
6930116  hotspot compiler2 loop predication code does not handle If nodes with only one projection
6930398  hotspot compiler2 fix for return address locals in OSR entries uses wrong test
6935466  hotspot compiler2 new CodeCache flushing code is not guarded by the flag
6935535  hotspot compiler2 String.indexOf() returns incorrect result on x86 with SSE4.2
6948602  hotspot compiler2 Disable use of SSE4.2 in String.indexOf intrinsic until 6942326  is fixed
4957990  hotspot garbage_collector PermHeap bloat in and only in server VM
6423256  hotspot garbage_collector GC stacks should use a better data structure
6631166  hotspot garbage_collector CMS: better heuristics when combatting fragmentation
6637203  hotspot garbage_collector Classunloading messages go to stdout rather than Xloggc file, causing hangs when stdout is closed
6677708  hotspot garbage_collector G1: re-enable parallel RSet updating and scanning
6755988  hotspot garbage_collector G1: assert(new_obj != 0 || ... "should be forwarded")
6782663  hotspot garbage_collector Data produced by PrintGCApplicationConcurrentTime and PrintGCApplicationStoppedTime is not accurate
6798898  hotspot garbage_collector CMS: bugs related to class unloading
6802453  hotspot garbage_collector G1: hr()->is_in_reserved(from),"Precondition."
6815790  hotspot garbage_collector G1: Missing MemoryPoolMXBeans with -XX:+UseG1GC
6819085  hotspot garbage_collector G1: use larger and/or user settable region size
6841313  hotspot garbage_collector G1: dirty cards of survivor regions in parallel
6845368  hotspot garbage_collector large objects cause a crash or unexpected exception
6847956  hotspot garbage_collector G1: crash in oopDesc*G1ParCopyHelper::copy_to_survivor_space(oopDesc*)
6858886  hotspot garbage_collector G1: guarantee(_next_marked_bytes <= used(),"invariant") at heapRegion.hpp:359
6861557  hotspot garbage_collector G1: assert(top() == bottom() || zfs == Allocated,"Region must be empty, or ...")
6862387  hotspot garbage_collector G1: tune concurrent refinement further
6866190  hotspot garbage_collector Remove SIMPLE_STACK code from TaskQueue
6870843  hotspot garbage_collector G1: G1 GC memory leak
6871111  hotspot garbage_collector G1: remove the concurrent overhead tracker
6880903  hotspot garbage_collector G1: G1 reports incorrect Runtime.maxMemory()
6882730  hotspot garbage_collector G1: parallel heap verification messes up region dump
6885041  hotspot garbage_collector G1: inconsistent thread dump
6885297  hotspot garbage_collector java -XX:RefDiscoveryPolicy=2 or -XX:TLABWasteTargetPercent=0 cause VM crash
6886024  hotspot garbage_collector G1: assert(recent_avg_pause_time_ratio() < 1.00,"All GC?")
6887186  hotspot garbage_collector G1: Incorrect code generated for G1 pre-barrier by C1 on SPARC
6887571  hotspot garbage_collector Increase default heap config sizes
6888316  hotspot garbage_collector G1: has_aborted() || _cm->region_stack_empty() fails
6888619  hotspot garbage_collector G1: too many guarantees in concurrent marking
6888847  hotspot garbage_collector TaskQueue needs release_store() for correctness on RMO machines
6888898  hotspot garbage_collector CMS: ReduceInitialCardMarks unsafe in the presence of cms precleaning
6889740  hotspot garbage_collector G1: OpenDS fails with "unhandled exception in compiled code"
6889757  hotspot garbage_collector G1: enable card mark elision for initializing writes by compiler (ReduceInitialCardMarks)
6890137  hotspot garbage_collector G1: revamp reachable object dump
6892749  hotspot garbage_collector assert(UseParNewGC || UseSerialGC || UseConcMarkSweepGC, "...") fails
6895236  hotspot garbage_collector CMS: cmsOopClosures.inline.hpp:43 assert(..., "Should remember klasses in this context")
6895788  hotspot garbage_collector G1: SATB and Update buffer allocation code allocates too much space
6896647  hotspot garbage_collector card marks can be deferred too long
6898857  hotspot garbage_collector [Regression] -XX:NewRatio with -XX:+UseConcMarkSweepGC causes fatal error
6898948  hotspot garbage_collector G1: forensic instrumentation for out-of-bounds recent_avg_pause_time_ratio()
6899058  hotspot garbage_collector G1: Internal error in ptrQueue.cpp:201 in nightly tests
6902115  hotspot garbage_collector G1:assert(ignore_max_completed||thread->is_Java_thread()||SafepointSynchronize::is_at_safepoint())
6902303  hotspot garbage_collector G1: ScavengeALot should cause an incremental, rather than a full, collection
6902701  hotspot garbage_collector G1: protect debugging code related to 6898948  with a debug flag
6904516  hotspot garbage_collector More object array barrier fixes, following up on 6906727 
6904967  hotspot garbage_collector G1: some CollectionUsageThreshold tests fail
6906565  hotspot garbage_collector G1: deal with compilation warning in g1MemoryPool.hpp
6906727  hotspot garbage_collector UseCompressedOops: some card-marking fixes related to object arrays
6908208  hotspot garbage_collector UseCompressedOops: array_size() returns incorrect size for MAX_INT object array following 6906727 
6908215  hotspot garbage_collector G1: SEGV with G1PolicyVerbose=2 debug flag
6909756  hotspot garbage_collector G1: guarantee(!G1CollectedHeap::heap()->mark_in_progress(),"Precondition.")
6912018  hotspot garbage_collector CMS: guarantee(head() != 0,"The head of the list cannot be NULL")
6914402  hotspot garbage_collector G1: assert(!is_young_card(cached_ptr),"shouldn't get a card in young region")
6915005  hotspot garbage_collector G1: Hang in PtrQueueSet::completed_buffers_list_length with gcl001
6918006  hotspot garbage_collector G1: spill space must be reserved on the stack for barrier calls on Windows x64
6919980  hotspot garbage_collector G1: remove +UseG1GC from under experimental options (second attempt)
6920090  hotspot garbage_collector G1: Disable ReduceInitialCardMarks at least until 6920109  is fixed
6921710  hotspot garbage_collector G1: assert(new_finger >= _finger && new_finger < _region_limit,"invariant")
6923123  hotspot garbage_collector Hotspot refuses to start when -Xmx4m or -Xms4m is specified
6923991  hotspot garbage_collector G1: improve scalability of RSet scanning
6928059  hotspot garbage_collector G1: command line parameter renaming
6928065  hotspot garbage_collector G1: use existing command line parameters to set the young generation size
6928073  hotspot garbage_collector G1: use existing command line parameters for marking cycle initiation
6928081  hotspot garbage_collector G1: rename parameters common with CMS
6935821  hotspot garbage_collector G1: threads created during marking do not active their SATB queues
6937160  hotspot garbage_collector G1: should observe GCTimeRatio
6940310  hotspot garbage_collector G1: MT-unsafe calls to CM::region_stack_push() / CM::region_stack_pop()
6940894  hotspot garbage_collector G1: assert(new_obj != 0 || ... "should be forwarded") for compaction tests
6942253  hotspot garbage_collector G1: replace G1ParallelGCAllocBufferSize with YoungPLABSize and OldPLABSize
6942771  hotspot garbage_collector SEGV in ParScanThreadState::take_from_overflow_stack
6953058  hotspot garbage_collector G1: A bigapp crashes with SIGSEGV in compiled code
6953483  hotspot garbage_collector Typo related to ReduceInitialCardMarks leaves concurrent collectors vulnerable to heap corruption
6875393  hotspot jni JNI itable index cache is broken
6419370  hotspot jvmti new jmethodID code has tiny holes in synchronization
6580131  hotspot jvmti CompiledMethodLoad events don't produce the expected extra notifications to describe inlining
6648438  hotspot jvmti src/share/vm/prims/jvmtiEnv.cpp:457 assert(phase == JVMTI_PHASE_LIVE,"sanity check")
6862945  hotspot jvmti conversion of jmethodID to methodOop in JVMTI is too expensive
6876794  hotspot jvmti sp07t002 hangs very intermittently
6949515  hotspot jvmti VM crash when calling GetMethodDeclaringClass
6361589  hotspot runtime_system Print out stack trace for target thread of GC crash
6587322  hotspot runtime_system dtrace probe object__alloc doesn't fire in some situations on amd64
6626217  hotspot runtime_system How to Root Hotspot VM - Loader-constraint table allows arrays instead of only the base-classes
6801625  hotspot runtime_system CDS: HeapDump tests crash with internal error in compactingPermGenGen.cpp
6821003  hotspot runtime_system Update hotspot windows os_win32 for windows 7
6822370  hotspot runtime_system ReentrantReadWriteLock: threads hung when there are no threads holding onto the lock (Netra x4450)
6830542  hotspot runtime_system Performance: new JVM_DefineClass with conditional verify
6852873  hotspot runtime_system Increase in delta between application stopped time and ParNew GC time over application lifetime
6858208  hotspot runtime_system jvm crash when specifying TypeProfileWidth=0 on jdk 6.0
6861660  hotspot runtime_system OopMapBlock count/size confusion
6880029  hotspot runtime_system JDK 1.6.0_u14p Application crashed very early
6888880  hotspot runtime_system JKernel VM to inject the sun.jkernel.DownloadManager as a boot classloader hook
6889302  hotspot runtime_system TraceExceptions output should include detail message
6890308  hotspot runtime_system integrate zero assembler hotspot changes
6892265  hotspot runtime_system System.arraycopy unable to reference elements beyond Integer.MAX_VALUE bytes
6893483  hotspot runtime_system DTrace probe return values for a couple JNI methods are wrong
6893504  hotspot runtime_system LinkageError not thrown for duplicate class definition for bootstrap class loader
6898160  hotspot runtime_system Need serviceability support for new vm argument type 'uint64_t'
6900899  hotspot runtime_system vm fails to start when -Xmx value is less than OldSize + NewSize
6908267  hotspot runtime_system Zero fails to unlock synchronized native methods on exception
6913869  hotspot runtime_system Zero assert fix
6917698  hotspot runtime_system os::is_allocatable Zero fix for 32-bit platforms
6918421  hotspot runtime_system in-process JVM now ignores preset Windows unhandled exception filter
6920977  hotspot runtime_system G1: guarantee(k == probe->klass(),"klass should be in dictionary") fails
6932480  hotspot runtime_system Crash in CompilerThread/Parser. Unloaded array klass?
6933402  hotspot runtime_system RFE: Improve PrintSafepointStatistics output to track cleanup time
6934758  hotspot runtime_system Expose the break down of clean up task time during Safepoint
6929137  idl orb java-corba: Locking too broad in
4116222  java char_encodings Errors in Arabic code-conversion tables, part II
6899078  java classes_2d potential deadlock and performance issue in freeing strike resources with D3D pipeline
6904962  java classes_2d GlyphVector.getVisualBounds should not be affected by leading or trailing white space.
6921593  java classes_2d Chinese Font PMingLiu not rendered correctly
6925760  java classes_2d Scaled graphics can cause overlapped LCD mode strings on Windows for pixel size > 48
6927458  java classes_2d font system should cache transient strikes with weak references.
6930980  java classes_2d Disable TrueType hinting for fonts known not to hint well
6936389  java classes_2d FontManager.fileCloser may cause memory leak in applets
6940890  java classes_2d Java doesn't pick up the correct fontconfig files in latest Solaris Next builds.
6557810  java classes_awt poor performance when using -splash option
6711676  java classes_awt Numpad keys trigger more than one KeyEvent.
6773985  java classes_awt OutOfMemory (PermGen space) under Linux / Firefox when switching bw. applets
6920842  java classes_awt Wheel events do not bubbling to the browser if they was not treated in applet.
6946559  java classes_awt AWTToolKit thread crashes in JNU_GetEnv
6575419  java classes_awt_im Solaris : XSetICFoucs is not called with Java application at appropriate timing
6907881  java classes_awt_im Different undesired behavior for entering Asian characters in Windows IME starting with Java 6.0
6526376  java classes_io DeleteOnExitHook.add() produces NullPointerException
6908131  java classes_lang Pure Java implementations of java.lang.StrictMath.floor(double) & java.lang.StrictMath.ceil(double)
6921374  java classes_lang java.lang.String::hashCode() should check for count == 0 to avoid repeated stores hash = 0
6924497  java classes_management HotSpotDiagnosticsMXBean.getDiagnosticOptions throws NPE
6365587  java classes_net Proxy-Connection header sent through tunnel
6589477  java classes_net 2nd call to HTTP/SPNEGO fails when http.auth.preference=Negotiate is set
6448457  java classes_nio (ch) Channels.newOutputStream().write() does not write all data
6465310  java classes_nio (fc) scatter/gather operations on non-direct buffers doesn't use buffer cache
6862064  java classes_security incorrect implementation of PKIXParameters.clone()
6939248  java classes_security Jarsigner can't extract Extended Key Usage from Timestamp Reply currectly
6948803  java classes_security CertPath validation regression caused by SHA1 replacement root and MD2 disable feature
6958869  java classes_security regression: PKIXValidator fails when multiple trust anchors have same dn
6631956  java classes_swing Nimbus: ClassCastException when running with MultiLookAndFeel
6836089  java classes_swing Swing HTML parser can't properly decode codepoints outside the Unicode Plane 0 into a surrogate pair
6880336  java classes_swing SwingWorker deadlocks due one thread in the swingworker-pool
6898691  java classes_swing Java apps do not see keyboard switching on Sun Ray
6917744  java classes_swing JScrollPane Page Up/Down keys do not handle correctly html tables with different cells contents
6923305  java classes_swing SynthSliderUI paints the slider track when the slider's "paintTrack" property is set to false
6940843  java classes_swing FileSystemView.isFileSystemRoot causing various exceptions under 6u19
6945316  java classes_swing The Win32ShellFolderManager2.isFileSystemRoot can throw NPE
5047314  java classes_text [Col] runs indefinitely for a certain set of Thai strings
6801020  java classes_util_concurrent Concurrent Semaphore release may cause some require thread not signaled
6912866  java classes_util_i18n (date) java.util.Date.before / after may be expensive
6929185  java classes_util_i18n (tz) Windows-only: tzmappings needs update for KB979306
6932473  java classes_util_i18n (tz) javazic produces incorrect SimpleTimeZone parameters with Sun<=7
6948909  java classes_util_jarzip Jarsigner removes MANIFEST.MF info for badly packages jar's
6507024  java compiler unchecked conversion between arrays fails after capture conversion
6725036  java compiler javac returns incorrect value for lastModifiedTime() when source is a zip file archive
6920317  java compiler file has to be specified on the javac cmdline, else it will not be avail.
6945178  java dragndrop SecurityException upon drag-and-drop
6925851  java java:localization Localize JRE into pt_BR
6888876  java_deployment general improve error handling of webstart/plugin XML parser
6929021  java_deployment general Performance problem with DeployCacheHandler
6913898  java_deployment security Need providing user friendly message when encounting exception for pre-trusted certificate
6949705  java_deployment security regression: deadlock in the DeployURLClassPath
6951688  java_deployment security Client certificate authentication prompt on every connection
6929435  java_plugin other Java plugin + Firefox does not pick up auto proxy settings from Java control panel
6866628  java_plugin plugin2 Add Sun Java Plugin in windows registry for Mozilla Browsers
6886430  java_plugin plugin2 User homedir is not a valid directory
6900358  java_plugin plugin2 plugin applets fail when spec version "6.0.10" given
6949712  java_plugin plugin2 regression: deadlock in JNLP2ClassLoader
6940844  javawebstart install No automatic download for 6u19
6925413  javawebstart other Java web start unable to run JDK1.3 applications for releases after 6.0.14
6926204  javawebstart other regression: Jnlp shortcut icon is corrupted
6940157  javawebstart other extention jnlp files also now need security->all-permissions to avoid mixed code dialog
6943522  javawebstart other Failed to launch any signed application on 6u19 when cache is disabled
6947327  javawebstart other REGRESSION: NoSuchMethodError exception throws with jre 1.4 apps
6938276  jaxp performance lock contention reduction in jaxp XSComplexTypeDecl.getContentModel(CMBuilder cmBuilder)
6949607  jaxp sax JAXP issue 63 : attribute is accessible with invalid namespace
6936624  jaxp validation sharing cached schema causing cvc-complex-type.2.4.b error
6689809  jaxp xslt XSLT transformer ignores XPath predicates in xsl:key elements
6928198  jaxp xslt reset() method in the Transformer does not reset to its original state, causes the memory to grow.
6843127  jgss krb5plugin krb5 should not try to access unavailable kdc too often
6893158  jgss krb5plugin AP_REQ check should use key version number (updated by 6907425 )
6919610  jgss krb5plugin KeyTabInputStream uses static field for per-instance value
6916202  jndi ldap More cases of invalid ldap filters accepted and processed
6921610  jndi ldap 1.6 update 17 and 18 throw java.lang.IndexOutOfBoundsException