### Question:
ScheduledFutureTask extends PromiseTask<V> implements ScheduledFuture<V>, PriorityQueueNode { static long deadlineNanos(long delay) { long deadlineNanos = nanoTime() + delay; return deadlineNanos < 0 ? Long.MAX_VALUE : deadlineNanos; } ScheduledFutureTask(
            AbstractScheduledEventExecutor executor,
            Runnable runnable, V result, long nanoTime);   ScheduledFutureTask(
            AbstractScheduledEventExecutor executor,
            Callable<V> callable, long nanoTime, long period);   ScheduledFutureTask(
            AbstractScheduledEventExecutor executor,
            Callable<V> callable, long nanoTime); long deadlineNanos(); long delayNanos(); long delayNanos(long currentTimeNanos); @Override long getDelay(TimeUnit unit); @Override int compareTo(Delayed o); @Override void run(); @Override boolean cancel(boolean mayInterruptIfRunning); @Override int priorityQueueIndex(DefaultPriorityQueue<?> queue); @Override void priorityQueueIndex(DefaultPriorityQueue<?> queue, int i);  }### Answer:
@Test public void testDeadlineNanosNotOverflow() { Assert.assertEquals(Long.MAX_VALUE, ScheduledFutureTask.deadlineNanos(Long.MAX_VALUE)); }