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

Module java.security.jgss should export sun.security.jgss #41836

Merged
merged 1 commit into from
Jul 12, 2024

Conversation

gastaldi
Copy link
Contributor

This enables using sun.security.jgss.SunProvider (in module java.security.jgss) which is required in quarkus-kerberos.

@cescoffier
Copy link
Member

cescoffier commented Jul 11, 2024

Isn't the sun package considered internal? (Mostly a question to check if this could backfire at some point)

Copy link
Member

@cescoffier cescoffier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks ok, but we need to verify if this sun package is internal and should not be used

@gastaldi
Copy link
Contributor Author

Isn't the sun package considered internal? (Mostly a question to check if this could backfire at some point)

The sun.security.krb5 module above is already exported, so making that internal would require more changes

@quarkus-bot
Copy link

quarkus-bot bot commented Jul 11, 2024

Status for workflow Quarkus CI

This is the status report for running Quarkus CI on commit ab2bd29.

✅ The latest workflow run for the pull request has completed successfully.

It should be safe to merge provided you have a look at the other checks in the summary.

You can consult the Develocity build scans.


Flaky tests - Develocity

⚙️ JVM Tests - JDK 17

📦 extensions/amazon-lambda/deployment

io.quarkus.amazon.lambda.deployment.testing.InputCollectionOutputCollectionLambdaTest.requestHandler_InputCollectionInputPerson_OutputCollectionOutputPerson - History

  • 1 expectation failed. JSON path doesn't match. Expected: a collection containing map containing ["outputname"->"Fred"] Actual: <[{outputname=Chris}]> - java.lang.AssertionError
java.lang.AssertionError: 
1 expectation failed.
JSON path  doesn't match.
Expected: a collection containing map containing ["outputname"->"Fred"]
  Actual: <[{outputname=Chris}]>

	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)

⚙️ JVM Tests - JDK 17 Windows

📦 extensions/amazon-lambda/deployment

io.quarkus.amazon.lambda.deployment.testing.InputCollectionOutputCollectionLambdaTest.requestHandler_InputCollectionInputPerson_OutputCollectionOutputPerson - History

  • 1 expectation failed. JSON path doesn't match. Expected: a collection containing map containing ["outputname"->"Fred"] Actual: <[{outputname=Chris}]> - java.lang.AssertionError
java.lang.AssertionError: 
1 expectation failed.
JSON path  doesn't match.
Expected: a collection containing map containing ["outputname"->"Fred"]
  Actual: <[{outputname=Chris}]>

	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
  • 1 expectation failed. JSON path doesn't match. Expected: a collection containing map containing ["outputname"->"Chris"] Actual: <[{outputname=Fred}]> - java.lang.AssertionError
java.lang.AssertionError: 
1 expectation failed.
JSON path  doesn't match.
Expected: a collection containing map containing ["outputname"->"Chris"]
  Actual: <[{outputname=Fred}]>

	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)

@sberyozkin
Copy link
Member

Yes, it should be ok, let me cc @zakkak for his info

@zakkak
Copy link
Contributor

zakkak commented Jul 12, 2024

Yes, it should be ok, let me cc @zakkak for his info

It looks good to me but ideally the library should not use the api triggering the issue we work around with this change. I suggest opening an upstream issue about it like in pgjdbc/pgjdbc#2023

@gastaldi gastaldi merged commit 010a82d into quarkusio:main Jul 12, 2024
52 checks passed
@quarkus-bot quarkus-bot bot added this to the 3.13 - main milestone Jul 12, 2024
@gastaldi gastaldi deleted the kerberos branch July 12, 2024 13:00
@gsmet gsmet modified the milestones: 3.13 - main, 3.12.3 Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants