Skip to content
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

Possible CORBA Workaround for Domino Java #1202

Open
JoelProminic opened this issue Apr 24, 2023 · 0 comments
Open

Possible CORBA Workaround for Domino Java #1202

JoelProminic opened this issue Apr 24, 2023 · 0 comments

Comments

@JoelProminic
Copy link
Contributor

Previously we saw that Java Domino applications need to be compiled with JDK 8 in order to avoid CORBA errors. See #1124:

> Task :compileJava FAILED
/Users/joelanderson/Downloads/DxlImporterTestDemo/src/main/java/DxlImporterTestDemo.java:94: error: cannot access UserException
        try {
        ^
  class file for org.omg.CORBA.UserException not found

@feather812002 found a workaround for this where we include this library. In Gradle, I can do this with a dependency like this:

	// work around the org.omg.CORBA.UserException error
	implementation 'org.glassfish.corba:glassfish-corba-omgapi:4.2.4'

In my initial tests, this avoided the error, and it hasn't triggered any other problems so far. I'm still building the project in 1.8 compatibility mode:

sourceCompatibility = 1.8
targetCompatibility = 1.8

This needs more testing, but it could allow us to move to newer SDKs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Moonshine-IDE - Bug Fixing
  
Awaiting triage
Development

No branches or pull requests

1 participant