Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Java 6  
2 comments  




2 Issue with books  
3 comments  




3 Fixed link from Sun to Oracle site  
1 comment  




4 Need help in converting this template to Java 8  
3 comments  




5 Updating to Java 15/16  
3 comments  













Template talk:Javadoc:SE




Page contents not supported in other languages.  









Template
Talk
 

















Read
Edit
Add topic
View history
 








Tools
   


Actions  



Read
Edit
Add topic
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


Java 6

[edit]

This should be updated for the Java 6 docs http://java.sun.com/javase/6/docs/api/ --Spoon! 00:16, 14 December 2006 (UTC)[reply]

Done. —Doug Bell talk 01:15, 14 December 2006 (UTC)[reply]

Issue with books

[edit]

This template should be improved to better support books/PDFs. For example, if you try to create a PDF file from book Wikipedia:Books/Data structures, then article on Stack (data structure) with the following fragment:

...Java's library contains a Stack class that is a specialization of Vector. This could be considered a design flaw because the inherited get() method from Vector ignores the LIFO constraint of the Stack.

will be almost unreadable in PDF:

Java's library contains a Stack (http:/ / java. sun. com/
javase/ 6/ docs/ api/ java/ util/ Stack. html) class that is a specialization of
Vector (http:/ / java. sun. com/ javase/ 6/ docs/ api/ java/ util/ Vector.
html). This could be considered a design flaw because the inherited get() method from
Vector (http:/ / java. sun. com/ javase/ 6/ docs/ api/ java/ util/ Vector.
html) ignores the LIFO constraint of the Stack (http:/ / java. sun. com/ javase/ 6/
docs/ api/ java/ util/ Stack. html).

To fix this, the Web link should be hidden when in print, see "Hide in print" template in Help:Books/for experts. Andreas Kaufmann (talk) 21:23, 21 March 2009 (UTC)[reply]

More easily, you can create the print version of this template at Template:Javadoc:SE/Print. Headbomb {ταλκκοντριβς – WP Physics} 15:18, 15 February 2010 (UTC)[reply]
Alright, created. Everything should look good. Let me know if there are any problems. Headbomb {ταλκκοντριβς – WP Physics} 04:55, 2 March 2010 (UTC)[reply]
[edit]

Turned out that the Template:Javadoc:SE used the Template:Javadoc:SE/Home URL constant, which in turn pointed to sun's homepage, which luckily redirected to Oracle. I just changed it, and now it directly points toward oracle site. Hervegirod (talk) 18:18, 22 December 2010 (UTC)[reply]

Need help in converting this template to Java 8

[edit]

Java 8 was just released. I did a quick fix to point to the Java 8 documentation, but I found out that Oracle's HTML anchors now have the parenthesis characters '(' and ')' replaced with dashes like '-'. Could someone rewrite the template to accommodate this change? I reverted back to the Java 7 documentation to avoid this damage until someone can rewrite this code to substitute parenthesis with dashes. Jesse Viviano (talk) 01:51, 20 March 2014 (UTC)[reply]

Jesse, could you please give an example of a page where this happens? I've went through quite a few transclusions and can't find one where this error happens. APerson (talk!) 02:43, 29 July 2015 (UTC)[reply]
The home url, template, and documentation are now updated to Java 10 and any links following the examples provided in the documentation will work correctly. However, any links which include the %20s required in previous doc versions (or any links which used the -s from Java 8 and 9) will not link correctly. There are only 114 pages (at the time of this writing) using this template, so maybe it's better to update any usages rather than try to munge the member strings? Squid314 (talk) 22:21, 11 April 2018 (UTC)[reply]

Updating to Java 15/16

[edit]

The current javadoc is on Java 10. Java is on version 15, with 16 coming out next month. Since Java 11, however, the javadoc includes the module name in the URL. For example, compare https://docs.oracle.com/javase/10/docs/api/java/lang/ref/PhantomReference.html and https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/ref/PhantomReference.html . So it may be necessary to do some work to convert the javadoc links to include module names. A248 (talk) 19:17, 6 February 2021 (UTC)[reply]

I've just updated the thing to point to Java 19's documentation, and I think I've managed to sort out that problem as well. 🔥HOTm̵̟͆e̷̜̓s̵̼̊s̸̜̃🔥 (talkedits) 00:43, 13 November 2022 (UTC)[reply]
I've also gone through the pages which use this template, and I think I've fixed all of the usages of this template on actual articles that broke as a result of this change. 🔥HOTm̵̟͆e̷̜̓s̵̼̊s̸̜̃🔥 (talkedits) 02:50, 13 November 2022 (UTC)[reply]

Retrieved from "https://en.wikipedia.org/w/index.php?title=Template_talk:Javadoc:SE&oldid=1232318327"

Categories: 
Template-Class Java articles
NA-importance Java articles
WikiProject Java articles
 



This page was last edited on 3 July 2024, at 03:41 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki