Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JDK-8278466: "spurious markup" warnings in snippets when building docs-reference #6777

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
@@ -82,7 +82,7 @@
* section 3.3. Informally, this should be true:
*
* {@snippet id="valid-relative-name" lang=java :
* // @link substring="create" target="URI#create" : @link substring=normalize target="URI#normalize" : @link substring=getPath target="URI#getPath" :
* // @link substring="create" target="URI#create" @link substring=normalize target="URI#normalize" @link substring=getPath target="URI#getPath" :
* URI.create(relativeName).normalize().getPath().equals(relativeName)
* }
*
@@ -76,7 +76,7 @@
* must succeed if the following would succeed (ignoring
* encoding issues):
* {@snippet id="equiv-input" lang=java :
* // @link substring=FileInputStream target="java.io.FileInputStream#FileInputStream(File)" : @link regex="File\W" target="File#File(java.net.URI)" : @link substring=fileObject target=FileObject : @link substring=toURI target="FileObject#toUri()" :
* // @link substring=FileInputStream target="java.io.FileInputStream#FileInputStream(File)" @link regex="File\b" target="File#File(java.net.URI)" @link substring=fileObject target=FileObject @link substring=toURI target="FileObject#toUri()" :
* new FileInputStream(new File(fileObject.toURI()))
* }
* </li>
@@ -87,7 +87,7 @@
* succeed if the following would succeed (ignoring encoding
* issues):
* {@snippet id="equiv-output" lang=java :
* // @link substring=FileOutputStream target="java.io.FileOutputStream#FileOutputStream(File)" : @link regex="File\W" target="File#File(java.net.URI)" : @link substring=fileObject target=FileObject : @link substring=toURI target="FileObject#toUri()" :
* // @link substring=FileOutputStream target="java.io.FileOutputStream#FileOutputStream(File)" @link regex="File\b" target="File#File(java.net.URI)" @link substring=fileObject target=FileObject @link substring=toURI target="FileObject#toUri()" :
* new FileOutputStream(new File(fileObject.toURI()))
* }
* </li>