The "stand-alone" month names ("LLLL" format) in English are expected to be identical to the "context sensitive" ("MMMM" format) month names, but instead we see only numbers. This program: import java.text.*; import java.util.*; public class September { public static void main(String[] args) throws Throwable { Date date = new SimpleDateFormat("yyyy-MM-dd").parse("2010-09-15"); String[] formats = {
Looking at UNIXProcess.java.linux, there are a number of possible improvements: The "process reaper" thread should run in a thread pool to save on thread creation in case of repeated process creation. Its stack size should be small. If the process reaper thread throws a non-IOException (e.g. OOME) the thread creating the subprocess will hang, waiting for a signal from the reaper thread. The JDK kn
同じ箇所繰り返しNullPointerExceptionを発生するコードがあった際、何度目かの例外発生後、NullPointerExcetpionインスタンスにスタックトレースが含まれなくなった。 このため、例外発生時の原因特定が困難となってしまった。 HotSpotVMは、実行時最適化の一環として、繰り返し出力される一部の組み込み例外については、都度例外インスタンスを生成せず、同じインスタンスを使い回すことによってインスタンス生成コストを抑えるという処理を行っている。 この使いまわされる例外インスタンスは、他所でthrowされた例外の情報が混入しないよう、スタックトレースそのものを省略してしまう。 このため、例外発生箇所がHotSpotVMによって最適化されると、以降発生する例外にはスタックトレースが含まれないように見えてしまう。
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く