java-platform-module-system Questions
2
I am using jdk9-ea 149 and created a sample javafx application
IntelliJ doesn't understand the java libraries, It's shows all the import statement in red color and they are all grayed out.even for...
Disdain asked 4/1, 2017 at 9:9
1
Solved
I am experimenting with Java 9 and looking at the following scenarios:
Experiment 1
module A
module B
both declare a non empty package named com.foo, but do not export it.
both are required by a...
Indies asked 26/3, 2017 at 20:13
2
Solved
Using IDEA-EAP for JDK9 development experiments.
I am getting the following error -
Error:(3, 20) java: package jdk.internal.misc is not visible
(package jdk.internal.misc is declared in modul...
Circumvolution asked 1/3, 2017 at 17:57
1
The Javadoc tool generates documentation based on the accessibility modifier. By default, it document all public and protected classes, fields and methods. This can be changed with the following op...
Magdalenamagdalene asked 30/1, 2017 at 5:18
1
I am currently testing to migrate an existing application to Jigsaw Modules. One of my modules uses ElasticSearch along with its Groovy Plugin.
org.elasticsearch:elasticsearch
org.elasticsearch.m...
Heard asked 29/12, 2016 at 18:25
1
Solved
I have the follwing Java 9 module:
module com.example.a {
exports com.example.a;
}
With an exported type:
public class Api {
public static void foo(ImplDetail args) {}
}
And a non-exported...
Eleven asked 16/12, 2016 at 8:29
1
Solved
Background
In maven, an artifact can declare a dependency with
<optional>true</optional>
which means that the dependency is not required, but can be used if present.
The State of t...
Hyoscyamus asked 6/10, 2016 at 15:48
2
Solved
From Jigsaw Project:
Make it easier for developers to construct and maintain libraries and
large applications, for both the Java SE and EE Platforms.
I'm trying to learn what project Jigsaw i...
Presuppose asked 4/10, 2016 at 5:13
1
I created a simple JMOD file with the jmod tool like this
$JAVA_HOME/bin/jmod create --class-path classes test/samples.jmod
Next, I tried to execute a class within that module by running:
java ...
Garnett asked 8/7, 2016 at 12:45
2
Solved
As a core of Jigsaw project is the Java Module System, it would be nice to have an ability to restrict access to particular program elements (classes, methods and fields) within particular module o...
Spile asked 11/8, 2016 at 13:30
1
Solved
I created two small projects de.app1 and de.app2, where App from de.app1 uses Test from de.app2.
├── de.app1
│ ├── de
│ │ └── app
│ │ └── App.java
│ └── module-info.java
└── de.app2
└...
Housebound asked 8/7, 2016 at 14:51
1
Solved
So far we have been using the Findbugs JSR-305 annotations (com.google.code.findbugs:jsr305) and everything including tool support (Sonar, Eclipse, Findbugs, …) has been working fine.
However it i...
Karnak asked 2/6, 2016 at 17:44
2
Solved
I've heard that
JVM becomes faster (in some ways) with each major release
modularity of 9 will bring faster startup time.
In an attempt to speed up a Maven build, I've downloaded jdk9-ea and f...
Heeler asked 3/2, 2016 at 14:42
1
Solved
Java 8 with Project Jigsaw brings a module system to the SDK. I see it as a good thing as it's part of the package (built-in). OSGi also provides a module system, but requires a container. But apar...
Maureenmaureene asked 17/12, 2013 at 13:5
3
Solved
So as of yesterday morning I hadn't a clue as to what OSGi even was. OSGi was just some buzzword that I kept seeing cropping up over and over again, and so I finally set aside some time to brush up...
Ryun asked 21/9, 2011 at 10:54
5
Solved
Sun is putting a lot of effort behind modularising the JDK in the form of Jigsaw, and insinuating that it should be the module format of choice for other Java developers as well. The only notable p...
Entrap asked 7/12, 2009 at 9:50
© 2022 - 2024 — McMap. All rights reserved.