Possible dependency complication arising from a fix to the Manifest class

Martijn Verburg martijnverburg at gmail.com
Fri Dec 2 04:43:54 PST 2011


Hi all,

I'm cleaning up some warnings in java.util.jar.Manifest and I'm
replacing a deprecated String construction with one that takes a
Charset.

I'm introducing the StandardCharsets import (since it's UTF_8 that is
required in this case) to do this. I assume introducing
StandardCharsets (a nio package based class) is OK for a fairly low
level util class like this?

I'm more worried about any potential impact on jigsaw, at the moment
Manifest only pulls in java.util and java.io imports - I haven't
looked into jigsaw in any way shape or form to know whether adding a
nio dependency would cause any headaches.

Cheers,
Martijn



More information about the jigsaw-dev mailing list