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

[NETBEANS-721] Jigsaw module system must be initialized in javac befo… #534

Merged
merged 1 commit into from May 9, 2018

Conversation

jlahoda
Copy link
Contributor

@jlahoda jlahoda commented May 5, 2018

…re touching elements - using ELEMENTS_RESOLVED instead of PARSED as a target phase.

…re touching elements - using ELEMENTS_RESOLVED instead of PARSED as a target phase.
@jlahoda jlahoda requested a review from geertjanw May 5, 2018 05:54
@@ -104,7 +104,7 @@ public Problem preCheck() {

@Override
protected Problem preCheck(CompilationController javac) throws IOException {
javac.toPhase(JavaSource.Phase.PARSED);
javac.toPhase(JavaSource.Phase.ELEMENTS_RESOLVED);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is the change that fixes the problem - the rest is only test and support for tests.

@geertjanw
Copy link
Member

Any reason not to merge this, any reviews expected? Otherwise I will merge 24 hours from now.

@geertjanw
Copy link
Member

OK, merging.

@geertjanw geertjanw merged commit b501186 into apache:master May 9, 2018
Chris2011 pushed a commit to Chris2011/netbeans that referenced this pull request May 23, 2018
…re touching elements - using ELEMENTS_RESOLVED instead of PARSED as a target phase. (apache#534)
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.

None yet

2 participants