-
Bug
-
Resolution: Fixed
-
P4
-
10
-
b41
-
windows
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8196645 | 11 | Mandy Chung | P4 | Resolved | Fixed | b01 |
JDK-8197760 | 10u-cpu | Mandy Chung | P4 | Resolved | Fixed | master |
JDK-8200968 | 10.0.2 | Unassigned | P4 | Resolved | Fixed | b01 |
JDK-8195957 | 10.0.1 | Mandy Chung | P4 | Resolved | Fixed | b01 |
tools/jmod/JmodTest.jtr fails with java.nio.file.FileSystemException: build\\apa\\lib\\baz: A required privilege is not held by the client.
----------System.out:(103/6911)*----------
[TestNG] Running:
tools/jmod/JmodTest.java
config JmodTest.buildExplodedModules(): success
jmod [create, --class-path, build\\foo\\classes, jmods\\describeFoo.jmod]
jmod [describe, jmods\\describeFoo.jmod]
test JmodTest.describe(): success
jmod [create, --conf, build\\foo\\conf, --cmds=, build\\foo\\bin, --libs=, build\\foo\\lib, --class-path, build\\foo\\classes, jmods\\fooAll.jmod]
jmod [list, jmods\\fooAll.jmod]
test JmodTest.testAll(): success
jmod [create, --cmds, build\\foo\\bin, --class-path, build\\foo\\classes, jmods\\fooCmds.jmod]
jmod [list, jmods\\fooCmds.jmod]
test JmodTest.testCmds(): success
jmod [create, --class-path, build\\foo\\classes, --config, build\\foo\\conf, jmods\\fooConfig.jmod]
jmod [list, jmods\\fooConfig.jmod]
test JmodTest.testConfig(): success
jmod [create, --class-path, build\\foo\\classes;build\\foo\\classes, jmods\\testDuplicates.jmod]
jmod [create, --class-path, build\\foo\\classes, --libs, build\\foo\\lib;build\\foo\\lib, jmods\\testDuplicates.jmod]
test JmodTest.testDuplicateEntries(): success
jmod [create, --libs=, build\\foo\\lib, --class-path, build\\foo\\classes, --exclude, **internal**, --exclude, first.so, jmods\\fooLibs.jmod]
jmod [list, jmods\\fooLibs.jmod]
jmod [list, jmods\\fooLibs.jmod]
test JmodTest.testExcludes(): success
jmod [create, --class-path, build\\foo\\classes, jmods\\fooExtractCWD.jmod]
jmod [extract, jmods\\fooExtractCWD.jmod]
test JmodTest.testExtractCWD(): success
jmod [create, --conf, build\\foo\\conf, --cmds, build\\foo\\bin, --libs, build\\foo\\lib, --class-path, build\\foo\\classes, jmods\\fooExtractDir.jmod]
jmod [extract, --dir, extractTestDir, jmods\\fooExtractDir.jmod]
jmod [extract, --dir, extractTestDir, jmods\\fooExtractDir.jmod]
test JmodTest.testExtractDir(): success
jmod [--help]
test JmodTest.testHelp(): success
jmod [--help-extra]
test JmodTest.testHelpExtra(): success
jmod [create, --class-path, build\\foo\\classes, --libs, build\\foo\\classes, jmods\\testIgnoreModuleInfoInOtherSections.jmod]
jmod [create, --class-path, build\\foo\\classes, --cmds, build\\foo\\classes, jmods\\testIgnoreModuleInfoInOtherSections.jmod]
test JmodTest.testIgnoreModuleInfoInOtherSections(): success
jmod [create, --conf, lastOneWins\\shouldNotBeAdded, --conf, build\\foo\\conf, --cmds, lastOneWins\\shouldNotBeAdded, --cmds, build\\foo\\bin, --libs, lastOneWins\\shouldNotBeAdded, --libs, build\\foo\\lib, --class-path, lastOneWins\\shouldNotBeAdded, --class-path, build\\foo\\classes, --main-class, does.NotExist, --main-class, jdk.test.foo.Foo, --module-version, 00001, --module-version, 5.4.3, --do-not-resolve-by-default, --do-not-resolve-by-default, --warn-if-resolved=incubating, --warn-if-resolved=deprecated, jmods\\lastOneWins.jmod]
jmod [list, jmods\\lastOneWins.jmod]
jmod [extract, --dir, blah, --dir, lastOneWinsExtractDir, jmods\\lastOneWins.jmod]
test JmodTest.testLastOneWins(): success
jmod [create, --libs=, build\\foo\\lib, --class-path, build\\foo\\classes, jmods\\fooLibs.jmod]
jmod [list, jmods\\fooLibs.jmod]
test JmodTest.testLibs(): success
jmod [create, --class-path, build\\foo\\classes, jmods\\foo.jmod]
jmod [list, jmods\\foo.jmod]
test JmodTest.testList(): success
jmod [create, --class-path, build\\foo\\classes, --main-class, jdk.test.foo.Foo, jmods\\fooMainClass.jmod]
test JmodTest.testMainClass(): success
jmod [create, --class-path, build\\apa\\classes, jmods\\apa.jmod]
test JmodTest.testMissingPackages(): success
jmod [create, --class-path, build\\foo\\classes, --module-version, 5.4.3, jmods\\fooVersion.jmod]
test JmodTest.testModuleVersion(): success
jmod [create, --class-path, build\\foo\\classes, jmods\\foo.jmod]
test JmodTest.testPackagesAttribute(): success
test JmodTest.testSymlinks(): failure
java.nio.file.FileSystemException: build\\apa\\lib\\baz: A required privilege is not held by the client.
at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:92)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
at java.base/sun.nio.fs.WindowsFileSystemProvider.createSymbolicLink(WindowsFileSystemProvider.java:581)
at java.base/java.nio.file.Files.createSymbolicLink(Files.java:1051)
at JmodTest.testSymlinks(JmodTest.java:104)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:639)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:821)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1131)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
at org.testng.TestRunner.privateRun(TestRunner.java:773)
at org.testng.TestRunner.run(TestRunner.java:623)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
at org.testng.SuiteRunner.run(SuiteRunner.java:259)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1185)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1110)
at org.testng.TestNG.run(TestNG.java:1018)
at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:94)
at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:54)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
at java.base/java.lang.Thread.run(Thread.java:844)
jmod [create, --class-path, build\\foo\\classes;build\\foo\\classes\\jdk\\test\\foo, jmods\\testTmpFileRemoved.jmod]
test JmodTest.testTmpFileRemoved(): success
jmod [--version]
test JmodTest.testVersion(): success
===============================================
tools/jmod/JmodTest.java
Total tests run: 21, Failures: 1, Skips: 0
===============================================
----------System.err:(71/5134)----------
java.io.UncheckedIOException: java.io.IOException: Foo.class in the unnamed package
at jdk.jlink/jdk.tools.jmod.JmodTask$JmodFileWriter.toPackageName(JmodTask.java:721)
at jdk.jlink/jdk.tools.jmod.JmodTask$JmodFileWriter.lambda$findPackages$6(JmodTask.java:682)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)
at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133)
at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:511)
at jdk.jlink/jdk.tools.jmod.JmodTask$JmodFileWriter.findPackages(JmodTask.java:685)
at jdk.jlink/jdk.tools.jmod.JmodTask$JmodFileWriter.findPackages(JmodTask.java:659)
at jdk.jlink/jdk.tools.jmod.JmodTask$JmodFileWriter.write(JmodTask.java:476)
at jdk.jlink/jdk.tools.jmod.JmodTask.create(JmodTask.java:433)
at jdk.jlink/jdk.tools.jmod.JmodTask.run(JmodTask.java:208)
at jdk.jlink/jdk.tools.jmod.Main.run(Main.java:49)
at jdk.jlink/jdk.tools.jmod.Main$JmodToolProvider.run(Main.java:58)
at java.base/java.util.spi.ToolProvider.run(ToolProvider.java:137)
at JmodTest.jmod(JmodTest.java:700)
at JmodTest.testTmpFileRemoved(JmodTest.java:600)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:639)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:821)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1131)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
at org.testng.TestRunner.privateRun(TestRunner.java:773)
at org.testng.TestRunner.run(TestRunner.java:623)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
at org.testng.SuiteRunner.run(SuiteRunner.java:259)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1185)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1110)
at org.testng.TestNG.run(TestNG.java:1018)
at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:94)
at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:54)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
at java.base/java.lang.Thread.run(Thread.java:844)
Caused by: java.io.IOException: Foo.class in the unnamed package
at jdk.jlink/jdk.tools.jmod.JmodTask$JmodFileWriter.toPackageName(JmodTask.java:720)
... 52 more
java.lang.Exception: failures: 1
at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:96)
at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:54)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
at java.base/java.lang.Thread.run(Thread.java:844)
JavaTest Message: Test threw exception: java.lang.Exception: failures: 1
JavaTest Message: shutting down test
----------System.out:(103/6911)*----------
[TestNG] Running:
tools/jmod/JmodTest.java
config JmodTest.buildExplodedModules(): success
jmod [create, --class-path, build\\foo\\classes, jmods\\describeFoo.jmod]
jmod [describe, jmods\\describeFoo.jmod]
test JmodTest.describe(): success
jmod [create, --conf, build\\foo\\conf, --cmds=, build\\foo\\bin, --libs=, build\\foo\\lib, --class-path, build\\foo\\classes, jmods\\fooAll.jmod]
jmod [list, jmods\\fooAll.jmod]
test JmodTest.testAll(): success
jmod [create, --cmds, build\\foo\\bin, --class-path, build\\foo\\classes, jmods\\fooCmds.jmod]
jmod [list, jmods\\fooCmds.jmod]
test JmodTest.testCmds(): success
jmod [create, --class-path, build\\foo\\classes, --config, build\\foo\\conf, jmods\\fooConfig.jmod]
jmod [list, jmods\\fooConfig.jmod]
test JmodTest.testConfig(): success
jmod [create, --class-path, build\\foo\\classes;build\\foo\\classes, jmods\\testDuplicates.jmod]
jmod [create, --class-path, build\\foo\\classes, --libs, build\\foo\\lib;build\\foo\\lib, jmods\\testDuplicates.jmod]
test JmodTest.testDuplicateEntries(): success
jmod [create, --libs=, build\\foo\\lib, --class-path, build\\foo\\classes, --exclude, **internal**, --exclude, first.so, jmods\\fooLibs.jmod]
jmod [list, jmods\\fooLibs.jmod]
jmod [list, jmods\\fooLibs.jmod]
test JmodTest.testExcludes(): success
jmod [create, --class-path, build\\foo\\classes, jmods\\fooExtractCWD.jmod]
jmod [extract, jmods\\fooExtractCWD.jmod]
test JmodTest.testExtractCWD(): success
jmod [create, --conf, build\\foo\\conf, --cmds, build\\foo\\bin, --libs, build\\foo\\lib, --class-path, build\\foo\\classes, jmods\\fooExtractDir.jmod]
jmod [extract, --dir, extractTestDir, jmods\\fooExtractDir.jmod]
jmod [extract, --dir, extractTestDir, jmods\\fooExtractDir.jmod]
test JmodTest.testExtractDir(): success
jmod [--help]
test JmodTest.testHelp(): success
jmod [--help-extra]
test JmodTest.testHelpExtra(): success
jmod [create, --class-path, build\\foo\\classes, --libs, build\\foo\\classes, jmods\\testIgnoreModuleInfoInOtherSections.jmod]
jmod [create, --class-path, build\\foo\\classes, --cmds, build\\foo\\classes, jmods\\testIgnoreModuleInfoInOtherSections.jmod]
test JmodTest.testIgnoreModuleInfoInOtherSections(): success
jmod [create, --conf, lastOneWins\\shouldNotBeAdded, --conf, build\\foo\\conf, --cmds, lastOneWins\\shouldNotBeAdded, --cmds, build\\foo\\bin, --libs, lastOneWins\\shouldNotBeAdded, --libs, build\\foo\\lib, --class-path, lastOneWins\\shouldNotBeAdded, --class-path, build\\foo\\classes, --main-class, does.NotExist, --main-class, jdk.test.foo.Foo, --module-version, 00001, --module-version, 5.4.3, --do-not-resolve-by-default, --do-not-resolve-by-default, --warn-if-resolved=incubating, --warn-if-resolved=deprecated, jmods\\lastOneWins.jmod]
jmod [list, jmods\\lastOneWins.jmod]
jmod [extract, --dir, blah, --dir, lastOneWinsExtractDir, jmods\\lastOneWins.jmod]
test JmodTest.testLastOneWins(): success
jmod [create, --libs=, build\\foo\\lib, --class-path, build\\foo\\classes, jmods\\fooLibs.jmod]
jmod [list, jmods\\fooLibs.jmod]
test JmodTest.testLibs(): success
jmod [create, --class-path, build\\foo\\classes, jmods\\foo.jmod]
jmod [list, jmods\\foo.jmod]
test JmodTest.testList(): success
jmod [create, --class-path, build\\foo\\classes, --main-class, jdk.test.foo.Foo, jmods\\fooMainClass.jmod]
test JmodTest.testMainClass(): success
jmod [create, --class-path, build\\apa\\classes, jmods\\apa.jmod]
test JmodTest.testMissingPackages(): success
jmod [create, --class-path, build\\foo\\classes, --module-version, 5.4.3, jmods\\fooVersion.jmod]
test JmodTest.testModuleVersion(): success
jmod [create, --class-path, build\\foo\\classes, jmods\\foo.jmod]
test JmodTest.testPackagesAttribute(): success
test JmodTest.testSymlinks(): failure
java.nio.file.FileSystemException: build\\apa\\lib\\baz: A required privilege is not held by the client.
at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:92)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
at java.base/sun.nio.fs.WindowsFileSystemProvider.createSymbolicLink(WindowsFileSystemProvider.java:581)
at java.base/java.nio.file.Files.createSymbolicLink(Files.java:1051)
at JmodTest.testSymlinks(JmodTest.java:104)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:639)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:821)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1131)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
at org.testng.TestRunner.privateRun(TestRunner.java:773)
at org.testng.TestRunner.run(TestRunner.java:623)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
at org.testng.SuiteRunner.run(SuiteRunner.java:259)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1185)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1110)
at org.testng.TestNG.run(TestNG.java:1018)
at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:94)
at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:54)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
at java.base/java.lang.Thread.run(Thread.java:844)
jmod [create, --class-path, build\\foo\\classes;build\\foo\\classes\\jdk\\test\\foo, jmods\\testTmpFileRemoved.jmod]
test JmodTest.testTmpFileRemoved(): success
jmod [--version]
test JmodTest.testVersion(): success
===============================================
tools/jmod/JmodTest.java
Total tests run: 21, Failures: 1, Skips: 0
===============================================
----------System.err:(71/5134)----------
java.io.UncheckedIOException: java.io.IOException: Foo.class in the unnamed package
at jdk.jlink/jdk.tools.jmod.JmodTask$JmodFileWriter.toPackageName(JmodTask.java:721)
at jdk.jlink/jdk.tools.jmod.JmodTask$JmodFileWriter.lambda$findPackages$6(JmodTask.java:682)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)
at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133)
at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:511)
at jdk.jlink/jdk.tools.jmod.JmodTask$JmodFileWriter.findPackages(JmodTask.java:685)
at jdk.jlink/jdk.tools.jmod.JmodTask$JmodFileWriter.findPackages(JmodTask.java:659)
at jdk.jlink/jdk.tools.jmod.JmodTask$JmodFileWriter.write(JmodTask.java:476)
at jdk.jlink/jdk.tools.jmod.JmodTask.create(JmodTask.java:433)
at jdk.jlink/jdk.tools.jmod.JmodTask.run(JmodTask.java:208)
at jdk.jlink/jdk.tools.jmod.Main.run(Main.java:49)
at jdk.jlink/jdk.tools.jmod.Main$JmodToolProvider.run(Main.java:58)
at java.base/java.util.spi.ToolProvider.run(ToolProvider.java:137)
at JmodTest.jmod(JmodTest.java:700)
at JmodTest.testTmpFileRemoved(JmodTest.java:600)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:639)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:821)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1131)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
at org.testng.TestRunner.privateRun(TestRunner.java:773)
at org.testng.TestRunner.run(TestRunner.java:623)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
at org.testng.SuiteRunner.run(SuiteRunner.java:259)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1185)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1110)
at org.testng.TestNG.run(TestNG.java:1018)
at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:94)
at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:54)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
at java.base/java.lang.Thread.run(Thread.java:844)
Caused by: java.io.IOException: Foo.class in the unnamed package
at jdk.jlink/jdk.tools.jmod.JmodTask$JmodFileWriter.toPackageName(JmodTask.java:720)
... 52 more
java.lang.Exception: failures: 1
at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:96)
at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:54)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
at java.base/java.lang.Thread.run(Thread.java:844)
JavaTest Message: Test threw exception: java.lang.Exception: failures: 1
JavaTest Message: shutting down test
- backported by
-
JDK-8195957 tools/jmod/JmodTest.jtr fails when no privilege to create sym link on windows
- Resolved
-
JDK-8196645 tools/jmod/JmodTest.jtr fails when no privilege to create sym link on windows
- Resolved
-
JDK-8197760 tools/jmod/JmodTest.jtr fails when no privilege to create sym link on windows
- Resolved
-
JDK-8200968 tools/jmod/JmodTest.jtr fails when no privilege to create sym link on windows
- Resolved