Bug 56173 - Javac-Task: package-info.class Files generated by generateMissingPackageInfoClasses have fixed class-file version
Summary: Javac-Task: package-info.class Files generated by generateMissingPackageInfoC...
Status: NEW
Alias: None
Product: Ant
Classification: Unclassified
Component: Core tasks (show other bugs)
Version: 1.9.4
Hardware: PC All
: P2 trivial (vote)
Target Milestone: ---
Assignee: Ant Notifications List
Depends on:
Reported: 2014-02-21 10:37 UTC by Florian Roks
Modified: 2014-05-06 03:20 UTC (History)
1 user (show)


Note You need to log in before you can comment on or make changes to this bug.
Description Florian Roks 2014-02-21 10:37:30 UTC
The package-info.class files generated by generateMissingPackageInfoClasses in the Javac task have a fixed class-file version (0x31 - Java 1.5).

They should be created by using the specified target-version of the javac-task or in case none is given the javac-version.