8000 Configure m-compiler-p to use --release flag when JDK > 8 is used by pzygielo · Pull Request #137 · eclipse-ee4j/orb · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Configure m-compiler-p to use --release flag when JDK > 8 is used #137

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 6, 2022

Conversation

pzygielo
Copy link
Contributor

No description provided.

Otherwise, when JDK>8 is used for compilation with old-style
`target` flag (even when set to 1.8/8), incompatible change
is not resolved properly that results in:

java.lang.NoSuchMethodError: java.nio.ByteBuffer.limit(I)Ljava/nio/ByteBuffer;
	at com.sun.corba.ee.impl.encoding.CDROutputStream_1_0.allocateBuffer(CDROutputStream_1_0.java:178)
	at com.sun.corba.ee.impl.encoding.CDROutputStream_1_0.init(CDROutputStream_1_0.java:160)
	at com.sun.corba.ee.impl.encoding.CDROutputObject.createCDROutputStream(CDROutputObject.java:109)
	at com.sun.corba.ee.impl.encoding.CDROutputObject.<init>(CDROutputObject.java:116)
	at com.sun.corba.ee.impl.encoding.EncapsOutputStream.<init>(EncapsOutputStream.java:76)
	at com.sun.corba.ee.impl.encoding.EncapsOutputStream.<init>(EncapsOutputStream.java:68)
	at com.sun.corba.ee.impl.encoding.OutputStreamFactory$3.run(OutputStreamFactory.java:65)
	at com.sun.corba.ee.impl.encoding.OutputStreamFactory$3.run(OutputStreamFactory.java:61)
	at java.security.AccessController.doPrivileged(Native Method)
	at com.sun.corba.ee.impl.encoding.OutputStreamFactory.newEncapsOutputStream(OutputStreamFactory.java:61)
	at com.sun.corba.ee.impl.orb.ORBImpl.create_output_stream(ORBImpl.java:685)

when library is used with JDK8.
@smillidge smillidge merged commit cd64187 into eclipse-ee4j:master Dec 6, 2022
@pzygielo pzygielo deleted the release8 branch December 6, 2022 18:43
@pzygielo pzygielo added this to the 4.2.5 milestone Sep 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0