-
-
Notifications
You must be signed in to change notification settings - Fork 437
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed bug with empty compilation params, dep cleanups
- Loading branch information
Chris Newland
committed
Nov 16, 2023
1 parent
81f4402
commit 114b796
Showing
8 changed files
with
405 additions
and
367 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
552 changes: 206 additions & 346 deletions
552
core/src/main/java/org/adoptopenjdk/jitwatch/model/bytecode/Opcode.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,12 +5,12 @@ | |
|
||
<groupId>com.chrisnewland</groupId> | ||
<artifactId>jitwatch-parent</artifactId> | ||
<version>1.4.7</version> | ||
<version>1.4.8</version> | ||
|
||
<properties> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
|
||
<junit.version>4.13.1</junit.version> | ||
<junit.version>4.13.2</junit.version> <!-- https://mvnrepository.com/artifact/junit/junit --> | ||
<javac.source>1.8</javac.source> | ||
<javac.target>1.8</javac.target> | ||
|
||
|
@@ -41,7 +41,7 @@ | |
<developers> | ||
<developer> | ||
<name>Chris Newland</name> | ||
<url>https://www.chrisnewland.com</url> | ||
<url>https://www.chriswhocodes.com</url> | ||
<email>[email protected]</email> | ||
<timezone>GMT</timezone> | ||
</developer> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,162 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ||
<parent> | ||
<artifactId>jitwatch-parent</artifactId> | ||
<groupId>com.chrisnewland</groupId> | ||
<version>1.4.8</version> | ||
</parent> | ||
<modelVersion>4.0.0</modelVersion> | ||
<artifactId>jitwatch-ui</artifactId> | ||
<name>JITWatch UI</name> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<artifactId>maven-source-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<id>attach-sources</id> | ||
<goals> | ||
<goal>jar-no-fork</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.codehaus.mojo</groupId> | ||
<artifactId>exec-maven-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<id>default-cli</id> | ||
<goals> | ||
<goal>java</goal> | ||
</goals> | ||
<configuration> | ||
<skip>false</skip> | ||
<mainClass>${main.class}</mainClass> | ||
<cleanupDaemonThreads>false</cleanupDaemonThreads> | ||
<classpathScope>compile</classpathScope> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
<profiles> | ||
<profile> | ||
<id>linux</id> | ||
<properties> | ||
<javafx.platform>linux</javafx.platform> | ||
</properties> | ||
</profile> | ||
<profile> | ||
<id>macosx</id> | ||
<properties> | ||
<javafx.platform>mac</javafx.platform> | ||
</properties> | ||
</profile> | ||
<profile> | ||
<id>windows</id> | ||
<properties> | ||
<javafx.platform>win</javafx.platform> | ||
</properties> | ||
</profile> | ||
<profile> | ||
<id>with_built_in_javafx</id> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<artifactId>maven-shade-plugin</artifactId> | ||
<version>3.5.0</version> | ||
<executions> | ||
<execution> | ||
<phase>package</phase> | ||
<goals> | ||
<goal>shade</goal> | ||
</goals> | ||
<configuration> | ||
<shadedArtifactAttached>true</shadedArtifactAttached> | ||
<shadedClassifierName>project-classifier</shadedClassifierName> | ||
<outputFile>target/jitwatch-ui-shaded.jar</outputFile> | ||
<transformers> | ||
<transformer> | ||
<mainClass>${main.class}</mainClass> | ||
<manifestEntries> | ||
<Add-Exports>jdk.jdeps/com.sun.tools.javap</Add-Exports> | ||
</manifestEntries> | ||
</transformer> | ||
</transformers> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</profile> | ||
<profile> | ||
<id>with_openjfx_from_maven_central</id> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<artifactId>maven-shade-plugin</artifactId> | ||
<version>3.5.0</version> | ||
<executions> | ||
<execution> | ||
<phase>package</phase> | ||
<goals> | ||
<goal>shade</goal> | ||
</goals> | ||
<configuration> | ||
<shadedArtifactAttached>true</shadedArtifactAttached> | ||
<shadedClassifierName>project-classifier</shadedClassifierName> | ||
<outputFile>target/jitwatch-ui-shaded.jar</outputFile> | ||
<transformers> | ||
<transformer> | ||
<mainClass>${main.class}</mainClass> | ||
<manifestEntries> | ||
<Add-Exports>jdk.jdeps/com.sun.tools.javap</Add-Exports> | ||
</manifestEntries> | ||
</transformer> | ||
</transformers> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
<dependencies> | ||
<dependency> | ||
<groupId>org.openjfx</groupId> | ||
<artifactId>javafx-controls</artifactId> | ||
<version>${openjfx.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.openjfx</groupId> | ||
<artifactId>javafx-web</artifactId> | ||
<version>${openjfx.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.openjfx</groupId> | ||
<artifactId>javafx-swing</artifactId> | ||
<version>${openjfx.version}</version> | ||
</dependency> | ||
</dependencies> | ||
</profile> | ||
</profiles> | ||
<dependencies> | ||
<dependency> | ||
<groupId>junit</groupId> | ||
<artifactId>junit</artifactId> | ||
<version>4.13.2</version> | ||
<scope>test</scope> | ||
<exclusions> | ||
<exclusion> | ||
<artifactId>hamcrest-core</artifactId> | ||
<groupId>org.hamcrest</groupId> | ||
</exclusion> | ||
</exclusions> | ||
</dependency> | ||
</dependencies> | ||
<properties> | ||
<openjfx.version>19.0.2.1</openjfx.version> | ||
</properties> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters