FULL PRODUCT VERSION :
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.3.9600]
A DESCRIPTION OF THE PROBLEM :
First of all: please note that there is no subcategory for the java.time API on bugs.java.com, which is why I selected the incorrect subcategory java.util.
In the Duration class, there are methods:
getSeconds
getNano
withSeconds
withNanos
...
As you can see, the naming of the getNano method is inconsistent and should be getNanos.
REPRODUCIBILITY :
This bug can be reproduced always.
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.3.9600]
A DESCRIPTION OF THE PROBLEM :
First of all: please note that there is no subcategory for the java.time API on bugs.java.com, which is why I selected the incorrect subcategory java.util.
In the Duration class, there are methods:
getSeconds
getNano
withSeconds
withNanos
...
As you can see, the naming of the getNano method is inconsistent and should be getNanos.
REPRODUCIBILITY :
This bug can be reproduced always.