question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

package private abstract base classes with public members

See original GitHub issue

Using version 1.11.2, Java 17, Clojure 1.11.0-beta1.

Due to Clojure issue ‘Cannot resolve public generic method from package-private base class’, the classes com.microsoft.aad.msal4j.AbstractClientApplicationBase and com.microsoft.aad.msal4j.AbstractClientApplicationBase$Builder make it hard to use msal4j with Clojure.

An easy fix would be to make the two classes public. I was not able to test this, unfortunately. Let me know if you need some Clojure test project to check.

Thanks!

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
chrisbetzcommented, May 12, 2022

👍🏻 Thanks, @Avery-Dunn , I was successfully able to test it and now it’s piece of cake to retrieve an access token using Clojure.

0reactions
Avery-Dunncommented, May 6, 2022

Sorry for the delay on this, but these classes were made public in https://github.com/AzureAD/microsoft-authentication-library-for-java/pull/504, and this was part of the recent 1.12.0 release.

If the issue is still unresolved or if there are any related issues feel free to re-open this thread or open a new one.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is the difference between public, protected, package ...
A private member ( i ) is only accessible within the same class as it is declared. A member with no access modifier...
Read more >
Controlling Access to Members of a Class - Oracle Help Center
The private modifier specifies that the member can only be accessed in its own class. The protected modifier specifies that the member can...
Read more >
Public vs Protected vs Package vs Private Access Modifier in ...
This modifier is applicable for both top-level classes and interfaces. Public members can be accessed from the child class of the same package....
Read more >
Can we declare an abstract method, private, protected, public ...
Yes, you can declare an abstract method protected. If you do so you can access it from the classes in the same package...
Read more >
Abstract and Sealed Classes and Class Members - C# ...
The abstract keyword in C# creates incomplete classes and class members. The sealed keyword prevents inheritance of previously virtual ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found