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

Fixes to make project JDK11 compatible #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,9 @@ private static void createAndShowGUI() {
List<Image> icons = new ArrayList<Image>();
for (String iconFile : ICON_FILES) {
try {
icons.add(ImageIO.read(frame.getClass().getResource(
icons.add(ImageIO.read(EidViewer.class.getResource(
"/net/devbase/jfreesteel/viewer/" + iconFile)));
} catch (IOException e) {
} catch (IOException | IllegalArgumentException e) {
logger.error("Could not find icon file "+iconFile, e);
}
}
Expand Down
5 changes: 5 additions & 0 deletions jfreesteel/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@
<version>3.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.3.0</version>
</dependency>
</dependencies>

<distributionManagement>
Expand Down