-
Bug
-
Resolution: Won't Fix
-
P4
-
None
-
7
-
sparc
-
solaris_9
FULL PRODUCT VERSION :
$ /usr/jdk1.7.0/bin/java -version
java version "1.7.0"
Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) Server VM (build 21.0-b17, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Solaris 9 both Sparc and i386
$ uname -a
SunOS gyor 5.9 Generic_122300-51 sun4u sparc SUNW,Ultra-60
$ uname -a
SunOS bala 5.8 Generic_117351-32 i86pc i386 i86pc
EXTRA RELEVANT SYSTEM CONFIGURATION :
Works with Solaris 10 or JDK 1.6
A DESCRIPTION OF THE PROBLEM :
jar crashes when creating a JAR file.
REGRESSION. Last worked in version 6u26
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
$ /usr/jdk1.7.0/bin/jar cf junk.jar junk
Any files and target jar appear to cause the same result; junk.jar and junk are arbitrary files. Although the error reports "No such file or directory" the jar target file exists.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
A JAR file.
ACTUAL -
$ /usr/jdk1.7.0/bin/jar cf junk.jar junk
java.lang.UnsatisfiedLinkError: /usr/jdk1.7.0/jre/lib/sparc/libnio.so: ld.so.1: jar: fatal: libc.so.1: open failed: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1928)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1846)
at java.lang.Runtime.loadLibrary0(Runtime.java:845)
at java.lang.System.loadLibrary(System.java:1084)
at sun.nio.fs.UnixNativeDispatcher$1.run(UnixNativeDispatcher.java:560)
at sun.nio.fs.UnixNativeDispatcher$1.run(UnixNativeDispatcher.java:558)
at java.security.AccessController.doPrivileged(Native Method)
at sun.nio.fs.UnixNativeDispatcher.<clinit>(UnixNativeDispatcher.java:558)
at sun.nio.fs.UnixFileSystem.<init>(UnixFileSystem.java:67)
at sun.nio.fs.SolarisFileSystem.<init>(SolarisFileSystem.java:43)
at sun.nio.fs.SolarisFileSystemProvider.newFileSystem(SolarisFileSystemProvider.java:43)
at sun.nio.fs.SolarisFileSystemProvider.newFileSystem(SolarisFileSystemProvider.java:36)
at sun.nio.fs.UnixFileSystemProvider.<init>(UnixFileSystemProvider.java:55)
at sun.nio.fs.SolarisFileSystemProvider.<init>(SolarisFileSystemProvider.java:38)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at java.lang.Class.newInstance0(Class.java:372)
at java.lang.Class.newInstance(Class.java:325)
at sun.nio.fs.DefaultFileSystemProvider$1.run(DefaultFileSystemProvider.java:52)
at sun.nio.fs.DefaultFileSystemProvider$1.run(DefaultFileSystemProvider.java:43)
at java.security.AccessController.doPrivileged(Native Method)
at sun.nio.fs.DefaultFileSystemProvider.createProvider(DefaultFileSystemProvider.java:42)
at sun.nio.fs.DefaultFileSystemProvider.create(DefaultFileSystemProvider.java:68)
at java.nio.file.FileSystems$DefaultFileSystemHolder.getDefaultProvider(FileSystems.java:108)
at java.nio.file.FileSystems$DefaultFileSystemHolder.access$000(FileSystems.java:89)
at java.nio.file.FileSystems$DefaultFileSystemHolder$1.run(FileSystems.java:98)
at java.nio.file.FileSystems$DefaultFileSystemHolder$1.run(FileSystems.java:96)
at java.security.AccessController.doPrivileged(Native Method)
at java.nio.file.FileSystems$DefaultFileSystemHolder.defaultFileSystem(FileSystems.java:95)
at java.nio.file.FileSystems$DefaultFileSystemHolder.<clinit>(FileSystems.java:90)
at java.nio.file.FileSystems.getDefault(FileSystems.java:176)
at sun.util.calendar.ZoneInfoFile$1.run(ZoneInfoFile.java:482)
at sun.util.calendar.ZoneInfoFile$1.run(ZoneInfoFile.java:477)
at java.security.AccessController.doPrivileged(Native Method)
at sun.util.calendar.ZoneInfoFile.<clinit>(ZoneInfoFile.java:476)
at sun.util.calendar.ZoneInfo.getTimeZone(ZoneInfo.java:658)
at java.util.TimeZone.getTimeZone(TimeZone.java:559)
at java.util.TimeZone.setDefaultZone(TimeZone.java:656)
at java.util.TimeZone.getDefaultRef(TimeZone.java:623)
at java.util.Date.normalize(Date.java:1193)
at java.util.Date.getYear(Date.java:649)
at java.util.zip.ZipEntry.javaToDosTime(ZipEntry.java:298)
at java.util.zip.ZipEntry.setTime(ZipEntry.java:112)
at sun.tools.jar.Main.create(Main.java:477)
at sun.tools.jar.Main.run(Main.java:201)
at sun.tools.jar.Main.main(Main.java:1177)
ERROR MESSAGES/STACK TRACES THAT OCCUR :
as above
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
command line: jar cf ...
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
None found, use JDK 1.6.
$ /usr/jdk1.7.0/bin/java -version
java version "1.7.0"
Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) Server VM (build 21.0-b17, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Solaris 9 both Sparc and i386
$ uname -a
SunOS gyor 5.9 Generic_122300-51 sun4u sparc SUNW,Ultra-60
$ uname -a
SunOS bala 5.8 Generic_117351-32 i86pc i386 i86pc
EXTRA RELEVANT SYSTEM CONFIGURATION :
Works with Solaris 10 or JDK 1.6
A DESCRIPTION OF THE PROBLEM :
jar crashes when creating a JAR file.
REGRESSION. Last worked in version 6u26
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
$ /usr/jdk1.7.0/bin/jar cf junk.jar junk
Any files and target jar appear to cause the same result; junk.jar and junk are arbitrary files. Although the error reports "No such file or directory" the jar target file exists.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
A JAR file.
ACTUAL -
$ /usr/jdk1.7.0/bin/jar cf junk.jar junk
java.lang.UnsatisfiedLinkError: /usr/jdk1.7.0/jre/lib/sparc/libnio.so: ld.so.1: jar: fatal: libc.so.1: open failed: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1928)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1846)
at java.lang.Runtime.loadLibrary0(Runtime.java:845)
at java.lang.System.loadLibrary(System.java:1084)
at sun.nio.fs.UnixNativeDispatcher$1.run(UnixNativeDispatcher.java:560)
at sun.nio.fs.UnixNativeDispatcher$1.run(UnixNativeDispatcher.java:558)
at java.security.AccessController.doPrivileged(Native Method)
at sun.nio.fs.UnixNativeDispatcher.<clinit>(UnixNativeDispatcher.java:558)
at sun.nio.fs.UnixFileSystem.<init>(UnixFileSystem.java:67)
at sun.nio.fs.SolarisFileSystem.<init>(SolarisFileSystem.java:43)
at sun.nio.fs.SolarisFileSystemProvider.newFileSystem(SolarisFileSystemProvider.java:43)
at sun.nio.fs.SolarisFileSystemProvider.newFileSystem(SolarisFileSystemProvider.java:36)
at sun.nio.fs.UnixFileSystemProvider.<init>(UnixFileSystemProvider.java:55)
at sun.nio.fs.SolarisFileSystemProvider.<init>(SolarisFileSystemProvider.java:38)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at java.lang.Class.newInstance0(Class.java:372)
at java.lang.Class.newInstance(Class.java:325)
at sun.nio.fs.DefaultFileSystemProvider$1.run(DefaultFileSystemProvider.java:52)
at sun.nio.fs.DefaultFileSystemProvider$1.run(DefaultFileSystemProvider.java:43)
at java.security.AccessController.doPrivileged(Native Method)
at sun.nio.fs.DefaultFileSystemProvider.createProvider(DefaultFileSystemProvider.java:42)
at sun.nio.fs.DefaultFileSystemProvider.create(DefaultFileSystemProvider.java:68)
at java.nio.file.FileSystems$DefaultFileSystemHolder.getDefaultProvider(FileSystems.java:108)
at java.nio.file.FileSystems$DefaultFileSystemHolder.access$000(FileSystems.java:89)
at java.nio.file.FileSystems$DefaultFileSystemHolder$1.run(FileSystems.java:98)
at java.nio.file.FileSystems$DefaultFileSystemHolder$1.run(FileSystems.java:96)
at java.security.AccessController.doPrivileged(Native Method)
at java.nio.file.FileSystems$DefaultFileSystemHolder.defaultFileSystem(FileSystems.java:95)
at java.nio.file.FileSystems$DefaultFileSystemHolder.<clinit>(FileSystems.java:90)
at java.nio.file.FileSystems.getDefault(FileSystems.java:176)
at sun.util.calendar.ZoneInfoFile$1.run(ZoneInfoFile.java:482)
at sun.util.calendar.ZoneInfoFile$1.run(ZoneInfoFile.java:477)
at java.security.AccessController.doPrivileged(Native Method)
at sun.util.calendar.ZoneInfoFile.<clinit>(ZoneInfoFile.java:476)
at sun.util.calendar.ZoneInfo.getTimeZone(ZoneInfo.java:658)
at java.util.TimeZone.getTimeZone(TimeZone.java:559)
at java.util.TimeZone.setDefaultZone(TimeZone.java:656)
at java.util.TimeZone.getDefaultRef(TimeZone.java:623)
at java.util.Date.normalize(Date.java:1193)
at java.util.Date.getYear(Date.java:649)
at java.util.zip.ZipEntry.javaToDosTime(ZipEntry.java:298)
at java.util.zip.ZipEntry.setTime(ZipEntry.java:112)
at sun.tools.jar.Main.create(Main.java:477)
at sun.tools.jar.Main.run(Main.java:201)
at sun.tools.jar.Main.main(Main.java:1177)
ERROR MESSAGES/STACK TRACES THAT OCCUR :
as above
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
command line: jar cf ...
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
None found, use JDK 1.6.