Comments (13)
OS X El Capitan 10.11.2 x64
java version "9"
Java(TM) SE Runtime Environment (build 9+181)
Java HotSpot(TM) 64-Bit Server VM (build 9+181, mixed mode)
Building with mvn install
(source/target: 1.8)
SUCCESS
Building with mvn install
(source/target: 1.9)
FAILURE on 08/08
SUCCESS on 08/09
Still don't know why it was failing...
Errors
- Reproduced 3 times in a row on 08/08; can't reproduce on 08/09
testReader_timedRead_ExcessiveDataRead(bt.net.ByteChannelReader_TimedReadTest) Time elapsed: 0.031 sec <<< ERROR!
java.lang.RuntimeException: Expected string containing text: 'More than 30 bytes received: 40', but actual was: 'Less than 30 bytes received: 10'
at bt.net.ByteChannelReader.read(ByteChannelReader.java:152)
at bt.net.ByteChannelReader_TimedReadTest.lambda$testReader_timedRead_ExcessiveDataRead$1(ByteChannelReader_TimedReadTest.java:89)
- One-off error in DHT
testStartup(lbms.plugins.mldht.kad.DHTLifeCycleTest) Time elapsed: 0.541 sec <<< ERROR!
java.util.concurrent.ExecutionException: java.util.concurrent.TimeoutException
at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:395)
at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1999)
at lbms.plugins.mldht.kad.DHTLifeCycleTest.testStartup(DHTLifeCycleTest.java:186)
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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
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.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
Caused by: java.util.concurrent.TimeoutException
at java.base/java.util.concurrent.CompletableFuture.timedGet(CompletableFuture.java:1886)
at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2021)
at lbms.plugins.mldht.kad.DHTLifeCycleTest.lambda$testStartup$0(DHTLifeCycleTest.java:154)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:299)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.base/java.lang.Thread.run(Thread.java:844)
Other problems
- maven-bundle-plugin error (does not affect the build)
[INFO] --- maven-bundle-plugin:3.2.0:manifest (bundle-manifest) @ bt-core ---
java.lang.NullPointerException
at aQute.bnd.header.OSGiHeader.quote(OSGiHeader.java:153)
at aQute.bnd.header.Attrs.append(Attrs.java:424)
at aQute.bnd.header.Attrs.append(Attrs.java:404)
at aQute.bnd.header.Parameters.append(Parameters.java:175)
at aQute.bnd.header.Parameters.toString(Parameters.java:164)
at aQute.bnd.osgi.Analyzer.calcManifest(Analyzer.java:789)
at org.apache.felix.bundleplugin.ManifestPlugin.getAnalyzer(ManifestPlugin.java:261)
at org.apache.felix.bundleplugin.ManifestPlugin.execute(ManifestPlugin.java:89)
at org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:368)
at org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:359)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Downloading with CLI
SUCCESS
from bt.
Both under jdk9 and more recent versions of jdk8 (e.g. 1.8.0_144) I'm getting a warning in build logs for bt-tests
:
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.mockito.cglib.core.ReflectUtils$2 (file:/Users/sadpotato/.m2/repository/org/mockito/mockito-all/1.10.19/mockito-all-1.10.19.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of org.mockito.cglib.core.ReflectUtils$2
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
from bt.
(Travis) Ubuntu 14.04.5 LTS
java version "9"
Java(TM) SE Runtime Environment (build 9+181)
Java HotSpot(TM) 64-Bit Server VM (build 9+181, mixed mode)
Building with mvn install
(source/target: 1.9)
SUCCESS
Errors (programming; fixed)
- Reproduced 2 times in a row
Running bt.net.PeerConnectionTest
Exception in thread "Thread-0" java.lang.RuntimeException: Unexpected I/O error
at bt.net.PeerConnectionTest$Server.run(PeerConnectionTest.java:118)
at java.base/java.lang.Thread.run(Thread.java:844)
Caused by: java.nio.channels.ClosedChannelException
at java.base/sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:237)
at bt.net.PeerConnectionTest$Server.run(PeerConnectionTest.java:115)
... 1 more
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.042 sec <<< FAILURE! - in bt.net.PeerConnectionTest
testConnection(bt.net.PeerConnectionTest) Time elapsed: 0.024 sec <<< ERROR!
java.lang.NullPointerException: null
at bt.net.PeerConnectionTest$Server.writeMessage(PeerConnectionTest.java:127)
at bt.net.PeerConnectionTest.testConnection(PeerConnectionTest.java:66)
UPDATE 08/09: There was a race condition in this test.
Other problems
- maven-bundle-plugin error (does not affect the build)
[INFO] --- maven-bundle-plugin:3.2.0:manifest (bundle-manifest) @ bt-core ---
java.lang.NullPointerException
at aQute.bnd.header.OSGiHeader.quote(OSGiHeader.java:150)
at aQute.bnd.header.Attrs.append(Attrs.java:416)
at aQute.bnd.header.Attrs.append(Attrs.java:397)
at aQute.bnd.header.Parameters.append(Parameters.java:175)
at aQute.bnd.header.Parameters.toString(Parameters.java:164)
at aQute.bnd.osgi.Analyzer.calcManifest(Analyzer.java:788)
at org.apache.felix.bundleplugin.ManifestPlugin.getAnalyzer(ManifestPlugin.java:298)
at org.apache.felix.bundleplugin.ManifestPlugin.execute(ManifestPlugin.java:100)
at org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:387)
at org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:378)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:309)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:993)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:345)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:191)
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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
from bt.
Windows 8.1 x64
java version "9"
Java(TM) SE Runtime Environment (build 9+181)
Java HotSpot(TM) 64-Bit Server VM (build 9+181, mixed mode)
Building with mvn install
(source/target: 1.9)
SUCCESS
Downloading with CLI
SUCCESS
Problems
- Warnings in stdout
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$Ref
lectUtils$1 (file:/C:/Users/sadpotato/git-workspace/bt/bt-cli/target/bt-launcher
.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,in
t,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.
internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflect
ive access operations
WARNING: All illegal access operations will be denied in a future release
- Errors on shutdown (probably unrelated to JDK 9, but rather Windows-specific)
Core:
bt.BtException: Failed to execute shutdown hook: : Closing data descriptor for t
orrent ID: e628d1dbd749ab89e6891285d76a56a051332488
at bt.runtime.BtRuntime.lambda$runHooks$4(BtRuntime.java:241)
at java.base/java.util.HashMap.forEach(HashMap.java:1340)
at bt.runtime.BtRuntime.runHooks(BtRuntime.java:236)
at bt.runtime.BtRuntime.shutdown(BtRuntime.java:203)
at bt.cli.CliClient.lambda$resume$2(CliClient.java:188)
at bt.DefaultClient.lambda$startAsync$0(DefaultClient.java:69)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executo
rs.java:514)
at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java
:305)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledF
utureTask.run(ScheduledThreadPoolExecutor.java:300)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoo
lExecutor.java:1167)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPo
olExecutor.java:641)
at java.base/java.lang.Thread.run(Thread.java:844)
Caused by: java.lang.InterruptedException
at java.base/java.util.concurrent.CompletableFuture.reportGet(Completabl
eFuture.java:385)
at java.base/java.util.concurrent.CompletableFuture.get(CompletableFutur
e.java:2022)
at bt.runtime.BtRuntime.lambda$runHooks$4(BtRuntime.java:239)
... 11 more
java.nio.file.AccessDeniedException: C:\Users\SADPOT~1\AppData\Local\Temp\unlink
-test8136975361916033620.tmp
at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsE
xception.java:89)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsExc
eption.java:103)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsExc
eption.java:108)
at java.base/sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFile
SystemProvider.java:270)
at java.base/sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSy
stemProvider.java:105)
at java.base/java.nio.file.Files.delete(Files.java:1134)
at the8472.utils.AnonAllocator.<clinit>(AnonAllocator.java:30)
at lbms.plugins.mldht.kad.Node.saveTable(Node.java:885)
at lbms.plugins.mldht.kad.DHT.stop(DHT.java:869)
at bt.dht.MldhtService.shutdown(MldhtService.java:141)
at bt.runtime.BtRuntime.lambda$toRunnable$6(BtRuntime.java:283)
at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(Complet
ableFuture.java:1736)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoo
lExecutor.java:1167)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPo
olExecutor.java:641)
at java.base/java.lang.Thread.run(Thread.java:844)
java.nio.file.AccessDeniedException: C:\Users\SADPOT~1\AppData\Local\Temp\unlink
-test8136975361916033620.tmp
at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsE
xception.java:89)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsExc
eption.java:103)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsExc
eption.java:108)
at java.base/sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFile
SystemProvider.java:270)
at java.base/sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(Abstra
ctFileSystemProvider.java:110)
at java.base/java.nio.file.Files.deleteIfExists(Files.java:1173)
at the8472.utils.AnonAllocator.lambda$static$0(AnonAllocator.java:38)
at java.base/java.lang.Thread.run(Thread.java:844)
DHT:
java.nio.file.AccessDeniedException: C:\Users\SADPOT~1\AppData\Local\Temp\unlink
-test9580353327874407651.tmp
at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsE
xception.java:89)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsExc
eption.java:103)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsExc
eption.java:108)
at java.base/sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFile
SystemProvider.java:270)
at java.base/sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSy
stemProvider.java:105)
at java.base/java.nio.file.Files.delete(Files.java:1134)
at the8472.utils.AnonAllocator.<clinit>(AnonAllocator.java:30)
at lbms.plugins.mldht.kad.Node.saveTable(Node.java:885)
at lbms.plugins.mldht.kad.DHT.stop(DHT.java:869)
at bt.dht.MldhtService.shutdown(MldhtService.java:141)
at bt.runtime.BtRuntime.lambda$toRunnable$6(BtRuntime.java:283)
at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(Complet
ableFuture.java:1736)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoo
lExecutor.java:1167)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPo
olExecutor.java:641)
at java.base/java.lang.Thread.run(Thread.java:844)
bt.BtException: Failed to execute shutdown hook: : Shutdown DHT facilities
at bt.runtime.BtRuntime.lambda$runHooks$4(BtRuntime.java:241)
at java.base/java.util.HashMap.forEach(HashMap.java:1340)
at bt.runtime.BtRuntime.runHooks(BtRuntime.java:236)
at bt.runtime.BtRuntime.shutdown(BtRuntime.java:203)
at bt.runtime.BtRuntime$1.run(BtRuntime.java:82)
Caused by: java.util.concurrent.ExecutionException: java.lang.ExceptionInInitial
izerError
at java.base/java.util.concurrent.CompletableFuture.reportGet(Completabl
eFuture.java:395)
at java.base/java.util.concurrent.CompletableFuture.get(CompletableFutur
e.java:2022)
at bt.runtime.BtRuntime.lambda$runHooks$4(BtRuntime.java:239)
... 4 more
Caused by: java.lang.ExceptionInInitializerError
at lbms.plugins.mldht.kad.Node.saveTable(Node.java:885)
at lbms.plugins.mldht.kad.DHT.stop(DHT.java:869)
at bt.dht.MldhtService.shutdown(MldhtService.java:141)
at bt.runtime.BtRuntime.lambda$toRunnable$6(BtRuntime.java:283)
at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(Complet
ableFuture.java:1736)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoo
lExecutor.java:1167)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPo
olExecutor.java:641)
at java.base/java.lang.Thread.run(Thread.java:844)
Caused by: java.lang.IllegalStateException: Shutdown in progress
at java.base/java.lang.ApplicationShutdownHooks.add(ApplicationShutdownH
ooks.java:66)
at java.base/java.lang.Runtime.addShutdownHook(Runtime.java:219)
at the8472.utils.AnonAllocator.<clinit>(AnonAllocator.java:36)
... 8 more
from bt.
Just noticed that Java 9 build on Travis stopped working after introducing LSD. More specifically, the problem is with the bt.it.Swarm_LocalServiceDiscoveryIT
test:
222144 [lsd-announcer] ERROR bt.peer.lan.LocalServiceDiscoveryService - Failed to announce to group: /239.192.152.143:6771
java.net.SocketException: Operation not permitted
at java.base/sun.nio.ch.DatagramChannelImpl.send0(Native Method)
at java.base/sun.nio.ch.DatagramChannelImpl.sendFromNativeBuffer(DatagramChannelImpl.java:522)
at java.base/sun.nio.ch.DatagramChannelImpl.send(DatagramChannelImpl.java:484)
at java.base/sun.nio.ch.DatagramChannelImpl.send(DatagramChannelImpl.java:463)
at bt.peer.lan.AnnounceGroupChannel.send(AnnounceGroupChannel.java:88)
at bt.peer.lan.LocalServiceDiscoveryAnnouncer.announce(LocalServiceDiscoveryAnnouncer.java:65)
at bt.peer.lan.LocalServiceDiscoveryService.lambda$announce$3(LocalServiceDiscoveryService.java:183)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1380)
at bt.peer.lan.LocalServiceDiscoveryService.announce(LocalServiceDiscoveryService.java:181)
at bt.peer.lan.LocalServiceDiscoveryService.announce(LocalServiceDiscoveryService.java:113)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:300)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.base/java.lang.Thread.run(Thread.java:844)
This makes it impossible for leechers in the test swarm from discovering seeders and completing the torrent, so the test continues to work for several minutes without any output, until Travis decides to kill the build process.
from bt.
Should we check for JDK10 compatibility now?
from bt.
It won't hurt to do so, but it's not super urgent
from bt.
I've switched compiler.target
and compiler.target
to 10
and tried to build and run CLI application.
Everything seems good so far.
Java version:
openjdk version "10" 2018-03-20
OpenJDK Runtime Environment Zulu10.1+11 (build 10+46)
OpenJDK 64-Bit Server VM Zulu10.1+11 (build 10+46, mixed mode)
The only minor issue is a warnings about reflection in guice:
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Are any additional checks necessary/desirable?
from bt.
Oh, and OS is:
Description: Manjaro Linux
Release: 17.1.10
from bt.
Thanks for taking the time to check it out! I've reported your results to Oracle QA guys. As for the additional checks, we'll also need to setup a JDK10 build in Travis whenever this option becomes available. If you have JDK11 (build 12) installed, you're welcome to try it out as well (seems like QA recently included it in the program plan).
from bt.
I've downloaded JDK 11:
OpenJDK version "11-ea" 2018-09-25
OpenJDK Runtime Environment 18.9 (build 11-ea+14)
OpenJDK 64-Bit Server VM 18.9 (build 11-ea+14, mixed mode)
Maven build with source
and target
= 11
is successful.
I was able to run the CLI app and download torrent using a JDK 11.
Tried to run the CLI app by a JDK 10 just to be sure, that class file version is 55.
Everything went as expected:
Error: LinkageError occurred while loading main class bt.cli.CliClient
java.lang.UnsupportedClassVersionError: bt/cli/CliClient has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 54.0
I've used the same OS as at the last time.
from bt.
from bt.
Seems like LSD test stopped working in Travis JDK9 build
from bt.
Related Issues (20)
- [BUG] Many Incoming Encryption fail with InvalidMessage HOT 1
- [BUG] Weird metainfo validation error in CLI HOT 3
- [BUG] springboot use HOT 1
- how to download the file range pieces? HOT 2
- [BUG] Something does not work as it should
- Gradle issues with cling dependency library (upnp module) HOT 3
- Running CliClient.java Locally Reports an Error HOT 1
- java.lang.NoSuchMethodError: No virtual method getAnnotatedSuperclass()Ljava/lang/reflect/AnnotatedType; in class Ljava/lang/Class; or its super classes (declaration of 'java.lang.Class' appears in /apex/com.android.art/javalib/core-oj.jar) HOT 2
- Vulnerable dependencies
- [BUG] Cling 2.2.1 not found in Maven Central HOT 3
- How to access DHT Database at runtime? HOT 1
- Stopping client and stopWhenDownloaded() throws java.lang.RuntimeException HOT 1
- How can I get the info.files[0].filehash info
- [BUG] Something does not work as it should
- Dependency org.yaml:snakeyaml, leading to CVE problem
- Does it support Android?
- [BUG] Android - only maxSimultaneouslyAssignedPieces are downloaded if PieceSelector.getNextPieces supplies subset of all pieces in torrent HOT 3
- [QUESTION] Code affecting the performance HOT 2
- [BUG] Cannot decode torrent due to validation error
- [Request] Implement a getter-interface for events that receives Peer from an event
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bt.