-
Bug
-
Resolution: Fixed
-
P4
-
13
-
b13
-
Fix failed
```Starting subtest 1.11: checkOutput
FAILED: out-1/overview-summary.html: following text not found:
<meta name="dc.created" content="2019-03-15">
found
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (13-internal) on Thu Mar 14 23:59:55 GMT 2019 -->
<title>Overview</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2019-03-14">```
Looks like a very unfortunate timing bug where we crossed midnight and so the current date no longer matched the generated date. And indeed the test author considered this :)
// NOTE: Hopefully, this regression test is not run at midnight. If the output
// was generated yesterday and this test is run today, the test will fail.
checkOutput("overview-summary.html", found,
"<meta name=\"" + metaNameDate + "\" content=\"" + date() + "\">");
FAILED: out-1/overview-summary.html: following text not found:
<meta name="dc.created" content="2019-03-15">
found
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (13-internal) on Thu Mar 14 23:59:55 GMT 2019 -->
<title>Overview</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2019-03-14">```
Looks like a very unfortunate timing bug where we crossed midnight and so the current date no longer matched the generated date. And indeed the test author considered this :)
// NOTE: Hopefully, this regression test is not run at midnight. If the output
// was generated yesterday and this test is run today, the test will fail.
checkOutput("overview-summary.html", found,
"<meta name=\"" + metaNameDate + "\" content=\"" + date() + "\">");
- relates to
-
JDK-8223536 jdk/javadoc/doclet/MetaTag/MetaTag.java still fails when run across midnight
- Resolved