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

Compiler errors in IDE for Unsafe #5

Closed
toolbear opened this issue Dec 3, 2016 · 2 comments
Closed

Compiler errors in IDE for Unsafe #5

toolbear opened this issue Dec 3, 2016 · 2 comments

Comments

@toolbear
Copy link
Contributor

@toolbear toolbear commented Dec 3, 2016

In the hollow subproject I get a handful of compiler errors regarding the use of sun.misc.Unsafe. For example:

Access restriction: The type 'Unsafe' is not API
Access restriction: The method 'Unsafe.getLong(Object, long)
…

For me this happens after a pristine import into Eclipse. It may fail for other IDEs.

@kineshsatiya
Copy link
Contributor

@kineshsatiya kineshsatiya commented Dec 3, 2016

Upon running gradle build in hollow subproject using intelliJ IDE, I get a couple of warnings.

Unsafe is internal proprietary API and may be removed in a future release
import sun.misc.Unsafe;

Another issue, that I see, errors in my IDE in project hollow-diff-ui


hollow/hollow-diff-ui/src/tools/java/com/netflix/hollow/diff/ui/DiffUITest.java:3: error: package org.junit does not exist
import org.junit.Test;
                ^
hollow/hollow-diff-ui/src/tools/java/com/netflix/hollow/diff/ui/DiffUITest.java:6: error: cannot find symbol import com.netflix.hollow.diffview.FakeHollowDiffGenerator;
@toolbear
Copy link
Contributor Author

@toolbear toolbear commented Dec 3, 2016

I was able to get Eclipse working by changing "Forbidden Reference" to Warning under Java CompilerErrors/WarningsDeprecated and restricted API

image

@dkoszewnik dkoszewnik closed this Jan 21, 2017
Sunjeet pushed a commit that referenced this issue Feb 14, 2019
* commit 'd7b1416eca8bbe9b4c59948d9e0c8e2182b8372b':
  update newt yml settings
  update setttings for docs
  Adding folder cinder-docs
Sunjeet pushed a commit that referenced this issue Apr 10, 2019
* commit '5f20b8436e64a9881ca41af489486b0d04f05205':
  Fix grovvy data spec
Sunjeet pushed a commit that referenced this issue Jul 22, 2019
…PPER-RELEASE to master

Squashed commit of the following:

commit 8287721b66b7fae139584afc790fe532f4804229
Author: Managed Source <msrc@netflix.com>
Date:   Thu May 23 02:47:09 2019 +0000

    Updating Nebula to 6.1.7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.