-
Bug
-
Resolution: Fixed
-
P4
-
7, 8
-
b01
-
x86
-
windows_vista
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8252974 | openjdk8u282 | Alex Kasko | P4 | Resolved | Fixed | b01 |
JDK-8239681 | emb-8u251 | Sean Coffey | P4 | Resolved | Fixed | team |
FULL PRODUCT VERSION :
java version "1.7.0_07"
Java(TM) SE Runtime Environment (build 1.7.0_07-b10)
Java HotSpot(TM) Client VM (build 23.3-b01, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.0.6002]
A DESCRIPTION OF THE PROBLEM :
new URI("x/").resolve("..").getSchemeSpecificPart() returns null!
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Run the code above.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
new URI("x/").resolve("..").getSchemeSpecificPart() should return an empty string.
ACTUAL -
new URI("x/").resolve("..").getSchemeSpecificPart() returns null!
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
import java.net.URI;
public class Test {
public static void main(String[] args) {
System.out.println(new URI("x/").resolve("..").getSchemeSpecificPart() );
}
}
---------- END SOURCE ----------
java version "1.7.0_07"
Java(TM) SE Runtime Environment (build 1.7.0_07-b10)
Java HotSpot(TM) Client VM (build 23.3-b01, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.0.6002]
A DESCRIPTION OF THE PROBLEM :
new URI("x/").resolve("..").getSchemeSpecificPart() returns null!
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Run the code above.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
new URI("x/").resolve("..").getSchemeSpecificPart() should return an empty string.
ACTUAL -
new URI("x/").resolve("..").getSchemeSpecificPart() returns null!
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
import java.net.URI;
public class Test {
public static void main(String[] args) {
System.out.println(new URI("x/").resolve("..").getSchemeSpecificPart() );
}
}
---------- END SOURCE ----------
- backported by
-
JDK-8239681 new URI("x/").resolve("..").getSchemeSpecificPart() returns null!
- Resolved
-
JDK-8252974 new URI("x/").resolve("..").getSchemeSpecificPart() returns null!
- Resolved
- links to