conform to the behavior of JDT