Skip to content

Internal compiler error compiling pertypewithin aspect inside a module #344

@jafarre-bi

Description

@jafarre-bi

Compilation fails for pertypewithin aspects when using Java modules.

Example source:

package com.example.aspects;

public aspect Test pertypewithin(com.example..*) {
}

module-info.java:

module test {
    requires org.aspectj.runtime;
}

ajcore:

ajcore.20250710.152012.048.txt

Without the pertypewithin clause, it compiles correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions