Comments (3)
Hmm...so how do I fix this?
from jnr-unixsocket.
Hmm...so how do I fix this?
You hack it by specifying <_noee>true</_noee> under instruction tag of the maven-bundle-plugin
The _noee tag removes all minimum versioning enforcement of the runtime JRE.
from jnr-unixsocket.
Ok I tried this patch but I did not see any difference in the MANIFEST. I also did not see any Require-Capability
in the MANIFEST before I made the change, so I'm confused about how to proceed.
diff --git a/pom.xml b/pom.xml
index f5070ff..6bf0e1f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -179,6 +179,7 @@
<configuration>
<instructions>
<_nouses>true</_nouses>
+ <_noee>true</_noee>
<Import-Package>*,jnr.ffi.mapper,jnr.ffi.provider.converters,jnr.ffi.provider.jffi,com.kenai.jffi</Import-Package>
<Automatic-Module-Name>jnr.unixsocket</Automatic-Module-Name>
</instructions>
Unpatched MANIFEST.MF:
Manifest-Version: 1.0
Archiver-Version: Plexus Archiver
Created-By: Apache Maven Bundle Plugin
Built-By: headius
Build-Jdk: 1.8.0_222
Automatic-Module-Name: jnr.unixsocket
Bnd-LastModified: 1578673603363
Bundle-Description: Native I/O access for java
Bundle-License: http://www.apache.org/licenses/LICENSE-2.0.txt
Bundle-ManifestVersion: 2
Bundle-Name: jnr-unixsocket
Bundle-SymbolicName: com.github.jnr.unixsocket
Bundle-Version: 0.26.0.SNAPSHOT
Export-Package: jnr.unixsocket;version="0.26.0.SNAPSHOT"
Import-Package: com.kenai.jffi,jnr.constants.platform;version="[0.9,1)
",jnr.enxio.channels;version="[0.23,1)",jnr.ffi;version="[2.1,3)",jnr
.ffi.annotations;version="[2.1,3)",jnr.ffi.byref;version="[2.1,3)",jn
r.ffi.mapper;version="[2.1,3)",jnr.ffi.provider.converters;version="[
2.1,3)",jnr.ffi.provider.jffi;version="[2.1,3)",jnr.ffi.types;version
="[2.1,3)",jnr.posix;version="[3.0,4)"
Tool: Bnd-1.50.0
from jnr-unixsocket.
Related Issues (20)
- unit test BasicFunctionalityTest stalls when run with JDK 17 in M1 Mac HOT 1
- application run failed while built with native-image HOT 1
- Allow Setting Socket Type on Creation HOT 1
- Read response from server, Unix Datagram socket HOT 1
- Implement sendmsg to pass control messages HOT 1
- After channel close, read and write calls were using recycled file descriptor HOT 2
- UnixServer example doesn't work on Mac with either nc or socat HOT 8
- java.lang.UnsatisfiedLinkError: ÕҲ »µ½ ָ¶¨µ HOT 6
- Null PollSelectionKey attachment causes IllegalStateException in jetty HOT 1
- Support for AIX v7.2 64-bit
- Found interface org.objectweb.asm.ClassVisitor, but class was expected HOT 2
- Smoke test fails sporadically on MacOS
- on ppc64le credentials are wrongly parsed/obtained HOT 3
- Solaris can't set socket options HOT 11
- UnixServerSocketChannel extending java.nio.channels.ServerSocketChannel
- No exception while using PrintWriter and outputstream HOT 9
- Support for M1 Mac? HOT 4
- UnixClient fails sporadically on Darwin HOT 1
- Datagram support HOT 1
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 jnr-unixsocket.