• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Oracle Certified Professional Java SE 8 Programmer II Study Guide: Exam 1Z0-809 Files.move()->475

 
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In the book of OCP: Oracle Certified Professional Java SE 8 Programmer II Study Guide: Exam 1Z0-809 in the page 475 states that Files.move method will follow links but in the documentation states that it's not and my opinion is that THERE IS NOT WAY to follow links using this method.

In the errata states that the NO_FOLLOW_LINKS should be removed and yes the errata is OK but you still can pass it but it will just be ignored by the JVM because is the default operation and cannot be changed and a LinkOption is a subclass of the CopyOption interface

My Question is why this is not in the errata???

This is how the book is read even with the errata...



 
move.png
[Thumbnail for move.png]
move13.png
[Thumbnail for move13.png]
 
author & internet detective
Posts: 41855
904
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well, the errata says to remove the NOFOLLOW_LINKS comment. Which means the case you mentioned isn't covered at all/either way.
 
Cristian Daniel Ortiz Cuellar
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Jeanne Boyarsky wrote:Well, the errata says to remove the NOFOLLOW_LINKS comment. Which means the case you mentioned isn't covered at all/either way.



Yep i think you should put that on the errata..
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic